Bug 2030619

Summary: Updating graphDataImage at UpdateService does not update init container image
Product: OpenShift Container Platform Reporter: Konstantinos <kkarampo>
Component: OpenShift Update ServiceAssignee: Over the Air Updates <aos-team-ota>
OpenShift Update Service sub component: operand QA Contact: liujia <jiajliu>
Status: CLOSED DUPLICATE Docs Contact: Kathryn Alexander <kalexand>
Severity: medium    
Priority: medium CC: lmohanty, wking
Version: 4.8   
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-09 18:43:26 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:

Description Konstantinos 2021-12-09 09:57:37 UTC
Description of problem (please be detailed as possible and provide log
snippests):

I created CR using this
```
apiVersion: updateservice.operator.openshift.io/v1
kind: UpdateService
metadata:
  name: kka
  namespace: openshift-update-service
spec:
  replicas: 1
  releases: "konstantinos-kvm.cloud.lab.eng.bos.redhat.com:5000/ocp4/release"
  graphDataImage: "konstantinos-kvm.cloud.lab.eng.bos.redhat.com:5000/cincinnati/graph-data:v1"

```
and then i create v2 with a newer release and apply the change

```
apiVersion: updateservice.operator.openshift.io/v1
kind: UpdateService
metadata:
  name: kka
  namespace: openshift-update-service
spec:
  replicas: 1
  releases: "konstantinos-kvm.cloud.lab.eng.bos.redhat.com:5000/ocp4/release"
  graphDataImage: "konstantinos-kvm.cloud.lab.eng.bos.redhat.com:5000/cincinnati/graph-data:v2"

```

I do not see the pod does get recreated, and if i delete it manually then it come up with the old graph data.

I can only update by deleting the UpdateService and recreating it.



Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?

Low impact, user experience can be improved.


Is there any workaround available to the best of your knowledge?
yes, delete and create the instance


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1


Can this issue reproducible?
yes


Can this issue reproduce from the UI?
I use the CLI but probably yes


If this is a regression, please provide more details to justify this:
First time I use it.

Steps to Reproduce:
1. Create an UpdateService with tag v1 in graphDataImage
2. Update content of graphDataImage and tag it v2
3. Update the UpdatService with tag v2
4. See that no update is available


Actual results:
See no update available

Expected results:
See the actual new content.


Additional info:

Comment 1 W. Trevor King 2021-12-09 18:43:26 UTC

*** This bug has been marked as a duplicate of bug 1939855 ***