Project

Profile

Help

Issue #128

closed

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

Added by pthomas@redhat.com about 9 years ago. Updated almost 5 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 ~]#

Actions #1

Updated by skarmark@redhat.com about 9 years ago

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

Updated by mhrivnak about 9 years ago

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

Added by mhrivnak about 9 years ago

Revision 5b0c5cf6 | View on GitHub

sync now validates that a feed and upstream name were specified

fixes #128

Added by mhrivnak about 9 years ago

Revision 5b0c5cf6 | View on GitHub

sync now validates that a feed and upstream name were specified

fixes #128

Added by mhrivnak about 9 years ago

Revision 5b0c5cf6 | View on GitHub

sync now validates that a feed and upstream name were specified

fixes #128

Added by mhrivnak about 9 years ago

Revision 5b0c5cf6 | View on GitHub

sync now validates that a feed and upstream name were specified

fixes #128

Actions #3

Updated by mhrivnak about 9 years ago

  • Status changed from ASSIGNED to POST
Actions #4

Updated by mhrivnak about 9 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #6

Updated by cduryee about 9 years ago

  • Status changed from MODIFIED to 5

pulp-docker 1.0.0-0.2.beta

Actions #7

Updated by pthomas@redhat.com about 9 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']

Actions #8

Updated by bmbouter about 9 years ago

  • Severity changed from Medium to 2. Medium
Actions #9

Updated by rbarlow almost 9 years ago

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

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF