Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2037180 - Failed to docker pull image with "Error: image <image name> not found" error
Summary: Failed to docker pull image with "Error: image <image name> not found" error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Container Management - Content
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.11.0
Assignee: Ryan Verdile
QA Contact: addubey
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-05 07:02 UTC by Hao Chang Yu
Modified: 2022-07-05 14:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:31:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34530 0 Normal Ready For Testing Failed to docker pull image with "Error: image <image name> not found" error 2022-03-02 14:15:51 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:31:42 UTC

Description Hao Chang Yu 2022-01-05 07:02:40 UTC
Description of problem:
After setting the "Unauthenticated Pull: Yes", it is not taking effect in Capsule until user performs a Complete Capsule sync. Publish/Promote a new version of CV won't help if no content is changed.

Steps to Reproduce:
1. Create and sync a container repo
2. Create a CV and add the container repo to it
3. Publish and Promote the CV and make sure Capsule sync is triggered.
4. Wait for the Capsule sync to finish
5. Go the the LCE page and set "Unauthenticated Pull: Yes".
6. From any host run docker pull

docker pull capsule.example.com/mycontainer:latest

Actual results:
Image not found error

# On Capsule:
# sqlite3 /var/lib/foreman-proxy/smart_proxy_container_gateway.db
sqlite> .header on
sqlite> select * from repositories;
id|name|auth_required
6|busybox|1 <============ should be 0


Expected results:
Refresh the database in the smart proxy container gateway immediately after setting the "Unauthenticated Pull", such as trigger a foreman-task to refresh the data.

Image can be pulled successfully from Capsule.

Comment 2 Bryan Kearney 2022-03-04 16:04:58 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34530 has been resolved.

Comment 6 errata-xmlrpc 2022-07-05 14:31:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5498


Note You need to log in before you can comment on or make changes to this bug.