Bug 2005032
Summary: | [rhel-9.0.0beta] podman auto update fails to login to registry after podman upgrade to 3.2 [rhel-9.0.0] | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | RHEL Program Management Team <pgm-rhel-tools> |
Component: | podman | Assignee: | Jindrich Novy <jnovy> |
Status: | CLOSED ERRATA | QA Contact: | Joy Pu <ypu> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 9.0 | CC: | ajia, atomic-bugs, bbaude, dwalsh, jligon, jnovy, lmiksik, lsm5, mheon, pthomas, rik.theys, tsweeney, umohnani, vrothber, ypu |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | podman-4.0.0-0.7.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 2002670 | Environment: | |
Last Closed: | 2022-05-17 12:42:09 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2002670 | ||
Bug Blocks: |
Comment 1
Tom Sweeney
2021-09-16 17:52:26 UTC
Test with podman-3.4.2-0.2.el9.x86_64 and it works as expected. The auth.json can work with podman auto-update. So set this to verified. Details: 1. Create a container with labels # podman create --authfile=/root/auth.json --label "io.containers.autoupdate=image" --label "io.containers.autoupdate.authfile=/root/auth.json" --name test-auto localhost:5000/testauto top 2. generate the systemd file # podman generate systemd --new --files --name test-auto 3. start the service # systemctl daemon-reload # systemctl start container-test-auto 4. Use auto-update to update the image # podman auto-update Trying to pull localhost:5000/testauto:latest... Getting image source signatures Copying blob f3ac2f942260 skipped: already exists Copying config 9617696764 done Writing manifest to image destination Storing signatures UNIT CONTAINER IMAGE POLICY UPDATED container-test-auto.service c311ad227039 (test-auto) localhost:5000/testauto registry true 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 (new packages: podman), 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/RHBA-2022:2379 |