Project

Profile

Help

Issue #128

Running repo sync on feedless docker repos should error out similar to rpm repos

Added by pthomas@redhat.com about 6 years ago. Updated almost 2 years ago.

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

Description

If you run repo sync on a feedless docker repo, the error message does not make any sense.

[root@cloud-qe-17 ~]# rpm -qa |grep docker
python-pulp-docker-common-0.2.2-1.el7.noarch
docker-1.3.2-4.el7.x86_64

1. Create a feedless docker repo

2. Run repo sync

[root@cloud-qe-17 ~]# pulp-admin docker repo create --repo-id no-feed
Repository [no-feed] successfully created

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

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

Retrieving metadata
[-]
... failed
Invalid URL u'/v1/repositories/None/images': No schema supplied. Perhaps you
meant http:///v1/repositories/None/images?

Task Failed

Invalid URL u'/v1/repositories/None/images': No schema supplied. Perhaps you
meant http:///v1/repositories/None/images?

[root@cloud-qe-17 ~]#

Associated revisions

Revision 5b0c5cf6 View on GitHub
Added by mhrivnak about 6 years ago

sync now validates that a feed and upstream name were specified

fixes #128

Revision 5b0c5cf6 View on GitHub
Added by mhrivnak about 6 years ago

sync now validates that a feed and upstream name were specified

fixes #128

Revision 5b0c5cf6 View on GitHub
Added by mhrivnak about 6 years ago

sync now validates that a feed and upstream name were specified

fixes #128

Revision 5b0c5cf6 View on GitHub
Added by mhrivnak about 6 years ago

sync now validates that a feed and upstream name were specified

fixes #128

History

#1 Updated by skarmark@redhat.com about 6 years ago

  • Priority changed from Normal to High
  • Triaged changed from No to Yes
  • Severity set to Medium

#2 Updated by mhrivnak about 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to mhrivnak

#3 Updated by mhrivnak about 6 years ago

  • Status changed from ASSIGNED to POST

#4 Updated by mhrivnak about 6 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#6 Updated by cduryee about 6 years ago

  • Status changed from MODIFIED to 5

pulp-docker 1.0.0-0.2.beta

#7 Updated by pthomas@redhat.com about 6 years ago

  • Status changed from 5 to 6

[root@qe-blade-04 ~]# rpm -qa |grep pulp-docker
pulp-docker-plugins-1.0.0-0.2.beta.el6.noarch
pulp-docker-admin-extensions-1.0.0-0.2.beta.el6.noarch
python-pulp-docker-common-1.0.0-0.2.beta.el6.noarch
[root@qe-blade-04 ~]#

[root@qe-blade-04 ~]# pulp-admin docker repo create --repo-id no-feed
Repository [no-feed] successfully created

[root@qe-blade-04 ~]# pulp-admin docker repo sync run --repo-id no-feed
--------------------------------------------------------------------
Synchronizing Repository [no-feed]
--------------------------------------------------------------------

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

Task Failed

Missing values for: ['upstream_name', 'feed']

#8 Updated by bmbouter almost 6 years ago

  • Severity changed from Medium to 2. Medium

#9 Updated by rbarlow almost 6 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
  • Target Release - Docker set to 1.0.0

#11 Updated by bmbouter almost 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF