Project

Profile

Help

Issue #3686

closed

Misleading error when trying to sync private repo with wrong creds

Added by ipanova@redhat.com almost 6 years ago. Updated about 5 years ago.

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

Description


$pulp-admin docker repo create --repo-id tada2 --feed=https://registry-1.docker.io --upstream-name=satqeauto/alpine  --basicauth-user user --basicauth-pass bad_pass --verify-feed-ssl=false

$ pulp-admin docker repo sync run --repo-id tada2
Warning: path should have mode 0700 because it may contain sensitive information: /home/ipanova/.pulp/
+----------------------------------------------------------------------+
                    Synchronizing Repository [tada2]
+----------------------------------------------------------------------+

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

Task Failed

Could not find registry API at https://registry-1.docker.io

$ pulp-admin docker repo create --repo-id tada --feed=https://registry-1.docker.io --upstream-name=satqeauto/alpine

Repository [tada] successfully created

[ipanova@ina pulp]$ pulp-admin docker repo sync run --repo-id tada

+----------------------------------------------------------------------+
                    Synchronizing Repository [tada]
+----------------------------------------------------------------------+

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

Task Failed

Could not fetch repository satqeauto/alpine from registry
https://registry-1.docker.io - Unauthorized or Not Found

Also available in: Atom PDF