Bug 1974057 - [4.8.0] Updating ISO URL does not create a correct log entry
Summary: [4.8.0] Updating ISO URL does not create a correct log entry
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: unspecified
Version: rhacm-2.3
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: rhacm-2.3.1
Assignee: Mat Kowalski
QA Contact: bjacot
URL:
Whiteboard: AI-Team-Hive KNI-EDGE-4.8
Depends On: 1973315
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-20 08:17 UTC by Michael Filanov
Modified: 2021-09-20 21:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1973315
Environment:
Last Closed: 2021-09-20 21:34:29 UTC
Target Upstream Version:
Embargoed:
ming: rhacm-2.3.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-cluster-management backlog issues 15677 0 None None None 2021-08-27 16:02:16 UTC
Github openshift assisted-service pull 1975 0 None closed OCPBUGSM-30121: Add Image CreatedAt to InfraEnv status 2021-06-20 08:17:11 UTC
Red Hat Bugzilla 1973315 1 low CLOSED [master] Updating ISO URL does not create a correct log entry 2021-10-18 17:35:44 UTC

Description Michael Filanov 2021-06-20 08:17:08 UTC
+++ This bug was initially created as a clone of Bug #1973315 +++

When, for any reason, InfraEnv gets a new ISO, the log in assisted-service contains new URL duplicated instead of showing both old and new one

```
time="2021-06-17T13:48:23Z" level=info msg="ISODownloadURL changed from https://assisted-service-assisted-installer-manual-bundle.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/c74e6437-0695-4b20-898c-5ecdbcda6abd/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiYzc0ZTY0MzctMDY5NS00YjIwLTg5OGMtNWVjZGJjZGE2YWJkIn0.MrlJgAS6r4RwRtmO9sNGdw2asIB0lukADpGYPbNB8i8oS4sdSojyjCg52LZuz5S0wvQijGGazzkXZakNWBglLQ to https://assisted-service-assisted-installer-manual-bundle.apps.ostest.test.metalkube.org/api/assisted-install/v1/clusters/c74e6437-0695-4b20-898c-5ecdbcda6abd/downloads/image?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbHVzdGVyX2lkIjoiYzc0ZTY0MzctMDY5NS00YjIwLTg5OGMtNWVjZGJjZGE2YWJkIn0.MrlJgAS6r4RwRtmO9sNGdw2asIB0lukADpGYPbNB8i8oS4sdSojyjCg52LZuz5S0wvQijGGazzkXZakNWBglLQ" func="github.com/openshift/assisted-service/internal/controller/controllers.(*InfraEnvReconciler).updateEnsureISOSuccess" file="/go/src/github.com/openshift/origin/internal/controller/con...
```

This creates a confusion as it's not possible to easily compare other CRs whether they contain old or new URL.

Comment 1 Mat Kowalski 2021-07-02 09:13:40 UTC
https://github.com/openshift/assisted-service/pull/2038 fixed this BZ here as a side-effect, but it went under the radar because of no handling of multiple BZs in a single PR ...

Comment 2 Mat Kowalski 2021-07-02 09:14:17 UTC
Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1969363

Comment 12 ximhan 2021-08-20 07:26:57 UTC
OpenShift engineering has decided to NOT ship 4.8.6 on 8/23 due to the following issue.
https://bugzilla.redhat.com/show_bug.cgi?id=1995785
All the fixes part will be now included in 4.8.7 on 8/30.

Comment 16 Mike Ng 2021-09-03 13:55:42 UTC
G2Bsync 912084989 comment 
 CrystalChun Thu, 02 Sep 2021 21:53:38 UTC 
 G2Bsync Fix was picked up for ACM 2.3 GA
Included in this issue https://github.com/open-cluster-management/backlog/issues/13873


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