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 8 years ago. Updated almost 4 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 ~]#

Also available in: Atom PDF