Bug 2076901 - assisted-service pin-latest.py script should exclude the postgres image
Summary: assisted-service pin-latest.py script should exclude the postgres image
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Infrastructure Operator
Version: rhacm-2.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: rhacm-2.6
Assignee: Omer Tuchfeld
QA Contact:
Derek
URL:
Whiteboard:
Depends On:
Blocks: 2076998
TreeView+ depends on / blocked
 
Reported: 2022-04-20 08:03 UTC by Omer Tuchfeld
Modified: 2022-09-06 22:31 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-06 22:30:54 UTC
Target Upstream Version:
Embargoed:
cbynum: rhacm-2.6+
cbynum: rhacm-2.6.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift assisted-service pull 3685 0 None open Bug 2076901: `pin-latest.py` script should exclude the postgres image 2022-04-20 08:05:50 UTC
Github stolostron backlog issues 21816 0 None None None 2022-04-20 13:11:00 UTC
Red Hat Issue Tracker MGMTBUGSM-312 0 None None None 2022-04-20 08:09:11 UTC
Red Hat Product Errata RHSA-2022:6370 0 None None None 2022-09-06 22:31:11 UTC

Description Omer Tuchfeld 2022-04-20 08:03:46 UTC
Description of the problem:
The pin-latest.py script should only perform pinning for image manifest tags
that are also pointed at by another persistent, unmoving tag. This is because
otherwise the sha we pin to may get garbage collected. This is not a problem
for assisted components because we have such persistent tag. But recently we
moved to using the postgres image from a quay organization outside of our
control. That organization doesn't not have a persistent tag for every manifest
the `:latest` tag happened to be on, so we can not do pinning for the postgres
image. Pinning postgres is not too important anyway because it's very stable.

Release version:
N/A

Operator snapshot version:
N/A

OCP version:
N/A

Browser Info:
N/A

Steps to reproduce:
N/A

Actual results:
pin-latest.py pins the postgres image and as a result

Expected results:
pin-latest.py should not pin the postgres image

Additional info:

Comment 5 errata-xmlrpc 2022-09-06 22:30:54 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: Red Hat Advanced Cluster Management 2.6.0 security updates and bug fixes), 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:6370


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