Bug 2293068

Summary: [GSS] panic: runtime error: index out of range [0] with length 0
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Abhishek Kumar <abhishku>
Component: Multi-Cloud Object GatewayAssignee: Nimrod Becker <nbecker>
Status: CLOSED DUPLICATE QA Contact: krishnaram Karthick <kramdoss>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.15CC: dzaken, hnallurv, nbecker, odf-bz-bot
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-20 13:14:24 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 Abhishek Kumar 2024-06-19 11:34:23 UTC
Description of problem (please be detailed as possible and provide log
snippests):

After upgrading to ODF 4.15.3, mcg-operator.v4.15.3-rhodf is Installing.

Version of all relevant components (if applicable):

$ omc get clusterversion
NAME      VERSION   AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.15.16   True        False         3d      Cluster version is 4.15.16

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

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

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

Can this issue reproducible?
NA

Can this issue reproduce from the UI?
NA

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

2024-06-18T10:11:43.592599354Z panic({0x25b38c0, 0xc001484a68})
2024-06-18T10:11:43.592599354Z     /usr/lib/golang/src/runtime/panic.go:884 +0x213
2024-06-18T10:11:43.592624259Z github.com/noobaa/noobaa-operator/v5/pkg/system.(*Reconciler).ReconcileSetDbImageAndInitCode.func1()
2024-06-18T10:11:43.592624259Z     /remote-source/app/pkg/system/phase2_creating.go:1519 +0x336
2024-06-18T10:11:43.592643606Z github.com/noobaa/noobaa-operator/v5/pkg/system.(*Reconciler).reconcileObjectAndGetResult.func1()
2024-06-18T10:11:43.592643606Z     /remote-source/app/pkg/system/reconciler.go:639 +0x22
2024-06-18T10:11:43.592682115Z sigs.k8s.io/controller-runtime/pkg/controller/controllerutil.mutate(0xc000ae8a00?, {{0xc0022840c0?, 0x0?}, {0xc001808670?, 0x2d7cd00?}}, {0x2d9b6c0, 0xc000ae8a00})
2024-06-18T10:11:43.592759387Z     /remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime.3/pkg/controller/controllerutil/controllerutil.go:340 +0x4f
2024-06-18T10:11:43.592759387Z sigs.k8s.io/controller-runtime/pkg/controller/controllerutil.CreateOrUpdate({0x2d7cd00, 0xc000134008}, {0x2d8b000, 0xc0008a8480}, {0x2d9b6c0?, 0xc000ae8a00}, 0xc0001d0ae0?)
2024-06-18T10:11:43.592780192Z     /remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime.3/pkg/controller/controllerutil/controllerutil.go:212 +0x274
2024-06-18T10:11:43.592780192Z github.com/noobaa/noobaa-operator/v5/pkg/system.(*Reconciler).reconcileObjectAndGetResult(0xc000ecec80, {0x2d9b6c0, 0xc000ae8a00}, 0xc001e4f550, 0x0)

Additional info: