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

Bug 1945026

Summary: osus operator can not start due to envvar OPERAND_IMAGE missing
Product: OpenShift Container Platform Reporter: liujia <jiajliu>
Component: OpenShift Update ServiceAssignee: Lalatendu Mohanty <lmohanty>
OpenShift Update Service sub component: operator QA Contact: liujia <jiajliu>
Status: CLOSED CURRENTRELEASE Docs Contact: Kathryn Alexander <kalexand>
Severity: low    
Priority: low CC: lmohanty, wking
Version: 4.6   
Target Milestone: ---   
Target Release: 4.8.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-07-20 15:19:07 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: 1946831    

Description liujia 2021-03-31 09:12:04 UTC
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 liujia 2021-04-07 02:20:17 UTC
Hi Lala
I notice pr has been merged into master(v4.8) branch, but do we have v4.8 build pipeline? If not, how should we get a v4.8 image to verify the bug?

Comment 2 Lalatendu Mohanty 2021-04-07 19:33:00 UTC
Unfortunatly we do not build master branch right now. Which we need to fix soon.  We are trying get some exception to merge it in the release branches so that I can rebuild 4.6 images.

Comment 3 Lalatendu Mohanty 2021-05-14 15:06:02 UTC
Reducing the sev as are not in the process of releasing OSUS for OCP 4.8 and the GA release will work for 4.6, 4.7 and 4.8.

Comment 4 Lalatendu Mohanty 2021-07-20 15:19:07 UTC
Closing this with current release as the OSUS release with https://errata.devel.redhat.com/errata/details/67040 will work for OCP 4.8 and we do not have any plan to release OSUS for 4.8.

Comment 5 Lalatendu Mohanty 2021-07-20 15:20:53 UTC
Also https://bugzilla.redhat.com/show_bug.cgi?id=1946831 (back port for 4.6) is released as part of https://errata.devel.redhat.com/errata/details/67040

Comment 6 Lalatendu Mohanty 2021-07-20 15:23:08 UTC
Sorry I meant https://bugzilla.redhat.com/show_bug.cgi?id=1946830 for 4.6 release.