Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1946831

Summary: osus operator can not start due to envvar OPERAND_IMAGE missing
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: OpenShift Update ServiceAssignee: Lalatendu Mohanty <lmohanty>
OpenShift Update Service sub component: operator QA Contact: liujia <jiajliu>
Status: CLOSED DEFERRED Docs Contact: Kathryn Alexander <kalexand>
Severity: low    
Priority: low CC: lmohanty, wking
Version: 4.6   
Target Milestone: ---   
Target Release: 4.7.z   
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-07-20 15:22:17 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: 1945026    
Bug Blocks: 1946830    

Description OpenShift BugZilla Robot 2021-04-06 23:46:14 UTC
+++ This bug was initially created as a clone of Bug #1945026 +++

Description of problem (please be detailed as possible and provide log
snippests):
OSUS operator keep restart due to missing env OPERAND_IMAGE.(Should be RELATED_IMAGE_OPERAND now)
# ./oc get po
NAME                                      READY   STATUS             RESTARTS   AGE
updateservice-operator-7c485c9bf4-t9t26   0/1     CrashLoopBackOff   6          7m38s

# ./oc logs updateservice-operator-7c485c9bf4-t9t26
2021-03-31T08:57:37.340Z	INFO	cmd	Operator Version: d0d2b8409e3ebf903758efc3627fa3effb12450c
2021-03-31T08:57:37.341Z	INFO	cmd	Go Version: go1.14.12
2021-03-31T08:57:37.341Z	INFO	cmd	Go OS/Arch: linux/amd64
I0331 08:57:38.392818       1 request.go:645] Throttling request took 1.034694457s, request: GET:https://172.30.0.1:443/apis/project.openshift.io/v1?timeout=32s
2021-03-31T08:57:39.752Z	INFO	controller-runtime.metrics	metrics server is starting to listen	{"addr": ":8080"}
2021-03-31T08:57:39.752Z	ERROR	cmd		{"error": "Must set envvar OPERAND_IMAGE"}
github.com/go-logr/zapr.(*zapLogger).Error
	/remote-source/app/vendor/github.com/go-logr/zapr/zapr.go:132
main.main
	/remote-source/app/main.go:101
runtime.main
	/usr/lib/golang/src/runtime/proc.go:203

It should be related with the osus operand name update in csv to fix osbs auto replacement days ago.

Version of all relevant components (if applicable):
OSUS operator image: v4.6.0-6
OSUS image: v4.6.0-9
Bundle image: v1.0-23

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


Is there any workaround available to the best of your knowledge?


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


Can this issue reproducible?
always

Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:
yes

Steps to Reproduce:
1. Install osus operator
2.
3.


Actual results:
OSUS operator install fail.

Expected results:
Operator should be installed successfully.


Additional info:

Comment 1 Lalatendu Mohanty 2021-05-13 19:30:14 UTC
Reducing the priority to low as the OSUS 4.6 release will work with OCP 4.6, 4.7 and 4.8

Comment 2 W. Trevor King 2021-07-20 15:22:17 UTC
We won't cut 4.7 or 4.8 operators, and we already have a master-ward tracker in bug 1945026.