Project

Profile

Help

Issue #129

closed

Docker repo create should error out when creating a repo with --feed and no --upstream-name and vice versa

Added by pthomas@redhat.com over 9 years ago. Updated almost 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Docker:
Platform Release:
Target Release - Docker:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

[root@cloud-qe-17 ~]# rpm -qa |grep pulp-docker
python-pulp-docker-common-0.2.2-1.el7.noarch
pulp-docker-plugins-0.2.2-1.el7.noarch
pulp-docker-admin-extensions-0.2.2-1.el7.noarch
[root@cloud-qe-17 ~]#

I used --feed -feed=https://registry.hub.docker.com/ to create a docker repo
when I ran sync the sync failed. No updated the repo with --upstream-name busybox and tried the sync again. The sync ran successfully

root@cloud-qe-17 ~]# pulp-admin docker repo create --repo-id=synctest --feed=https://registry.hub.docker.com/
Repository [synctest] successfully created

[root@cloud-qe-17 ~]#
[root@cloud-qe-17 ~]#
[root@cloud-qe-17 ~]# pulp-admin docker repo sync run --repo-id synctest
--------------------------------------------------------------------
Synchronizing Repository [synctest]
--------------------------------------------------------------------

This command may be exited via ctrl+c without affecting the request.

Retrieving metadata
[-]
... failed
NOT FOUND

Task Failed

NOT FOUND

[root@cloud-qe-17 ~]#
[root@cloud-qe-17 ~]#
[root@cloud-qe-17 ~]# pulp-admin docker repo update --repo-id=synctest --upstream-name busybox
This command may be exited via ctrl+c without affecting the request.

[\]
Running...

Task Succeeded

[root@cloud-qe-17 ~]# pulp-admin docker repo sync run --repo-id synctest
--------------------------------------------------------------------
Synchronizing Repository [synctest]
--------------------------------------------------------------------

This command may be exited via ctrl+c without affecting the request.

Retrieving metadata
[\]
... completed

Copying units already in pulp
[-]
... completed

Downloading remote files
[==================================================] 100%
23 of 23 items
... completed

Saving images and tags
[-]
... completed

Task Succeeded

Publishing Image Files.
[==================================================] 100%
10 of 10 items
... completed

Making files available via web.
[-]
... completed

Task Succeeded


Related issues

Related to Docker Support - Issue #127: --upstream-name can be used at repo create/update for repos that has no feedCLOSED - WONTFIXActions

Also available in: Atom PDF