Actions
Issue #3686
closedMisleading error when trying to sync private repo with wrong creds
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
Actions
Misleading error when trying to sync private repo with wrong creds
closes #3686 https://pulp.plan.io/issues/3686