Bug 2000943
Summary: | podman auto update fails to login to registry after podman upgrade to 3.2 | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Rik Theys <rik.theys> | |
Component: | podman | Assignee: | Jindrich Novy <jnovy> | |
Status: | CLOSED ERRATA | QA Contact: | Joy Pu <ypu> | |
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 8.4 | CC: | bbaude, dwalsh, jligon, jnovy, lmiksik, lsm5, mheon, pthomas, smccarty, tsweeney, umohnani, vrothber, ypu | |
Target Milestone: | rc | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | podman-3.3.1-9.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2002591 2002670 2002721 (view as bug list) | Environment: | ||
Last Closed: | 2021-11-09 17:40:16 UTC | Type: | Bug | |
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: | ||||
Bug Blocks: | 2002591, 2002670, 2002721 |
Description
Rik Theys
2021-09-03 10:56:32 UTC
It seems the error message I pasted was truncated. The full error line for the auto update is: Sep 03 00:00:05 carbon.esat.kuleuven.be podman[2342926]: * error registry auto-updating container "eeeb8e19a31f6c2d5b1fb420e6d59c96fc7ffb431e9fa5e1a7baa6ad9016747a": image check for "gitlab-registry.esat.kuleuven.be/sysgrp/php-container-image/c8-php74:latest" failed: Requesting bear token: invalid status code from registry 403 (Forbidden) Thanks for reaching, Rik. There is indeed a regression that has been fixed in the main branch [1] this week. @Tom: Shall we backport? v3.3.1 only? [1] https://github.com/containers/podman/issues/11171 I believe this should be fixed and back ported into v3.3.2 I think we ought to get an exception for this one and get it into v3.3.1-rhel so it can be delivered with RHEL 8.5 if approved. It should also be backported into v3.3 so that it will be par of Podman v3.3.2+ that we deliver to RHEL 8.5.0.2 in 6 weeks or so. @dwalsh do you concur? and just noticed this was an 8.4 issue. We'll probably need to backport to v3.2 and/or v3.2.3-rhel too. Matt/Jindrich thoughts on that? Test with podman-3.3.1-9.module+el8.5.0+12697+018f24d7.x86_64 and it works as expected. So set the status to verified. More details: Image can be updated with auth files: service file: # container-test-auto.service # autogenerated by Podman 3.3.1 # Wed Sep 22 07:51:06 EDT 2021 [Unit] Description=Podman container-test-auto.service Documentation=man:podman-generate-systemd(1) Wants=network-online.target After=network-online.target RequiresMountsFor=%t/containers [Service] Environment=PODMAN_SYSTEMD_UNIT=%n Restart=on-failure TimeoutStopSec=70 ExecStartPre=/bin/rm -f %t/%n.ctr-id ExecStart=/usr/bin/podman run --cidfile=%t/%n.ctr-id --sdnotify=conmon --cgroups=no-conmon --rm -d --replace --authfile=/root/auth.json --label io.containers.autoupdate=image --label io.containers.autoupdate.authfile=/root/auth.json --name test-auto localhost:5000/testauto top ExecStop=/usr/bin/podman stop --ignore --cidfile=%t/%n.ctr-id ExecStopPost=/usr/bin/podman rm -f --ignore --cidfile=%t/%n.ctr-id Type=notify NotifyAccess=all [Install] WantedBy=multi-user.target default.target Update results: # podman auto-update Trying to pull localhost:5000/testauto:latest... Getting image source signatures Copying blob f3ac2f942260 [--------------------------------------] 0.0b / 0.0b Copying config 9617696764 done Writing manifest to image destination Storing signatures UNIT CONTAINER IMAGE POLICY UPDATED container-test-auto.service abb63b65d73e (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 (Moderate: container-tools:rhel8 security, bug fix, and enhancement update), 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-2021:4154 |