Bug 2242854 - Noobaa should fallback to a pv-pool default BS when CCO is not providing credentials
Summary: Noobaa should fallback to a pv-pool default BS when CCO is not providing cred...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.14
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.14.0
Assignee: Shira Dymnik
QA Contact: Uday kurundwade
URL:
Whiteboard:
Depends On:
Blocks: 2242880 2244409
TreeView+ depends on / blocked
 
Reported: 2023-10-09 11:55 UTC by Danny
Modified: 2023-11-08 18:55 UTC (History)
2 users (show)

Fixed In Version: 4.14.0-151
Doc Type: Bug Fix
Doc Text:
.NooBaa now falls back to using a backing store with type pv-pool when credentials are not provided in the limited time When the cloud credentials operator cannot or fails to provide a secret after the cloud credential request was created, for example, before installing NooBaa the cloud credential operator mode was set to manual mode and no additional necessary actions were done. The provided secret includes the credentials needed for creating the target bucket for the default backing store. This means, the default backing store was not created and Noobaa was stuck in phase Configuring. With this fix, if the cloud credential request was sent and we could not get the secret by the limited time that was defined (10 minutes), then NooBaa would fall back to using a backing store with type pv-pool. This means the system should be in status Ready and the default backing store should be with type pv-pool.
Clone Of:
: 2242880 (view as bug list)
Environment:
Last Closed: 2023-11-08 18:55:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github noobaa noobaa-operator pull 1223 0 None Merged Bug Fix BZ 2242854 | Fallback to PV Pool (CCO) 2023-10-29 06:13:11 UTC
Github noobaa noobaa-operator pull 1228 0 None Merged [backport to 5.14] fix - fallback to pv pool (cco) 2023-10-29 06:13:25 UTC

Description Danny 2023-10-09 11:55:39 UTC
Description of problem (please be detailed as possible and provide log
snippets):

when the cloud credentials operator can't or fails to provide credentials (e.g.: the CCO is in manual mode), the creation of noobaa is stuck, waiting for the CCO to create the credentials secret


Version of all relevant components (if applicable):


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?
yes. creating the default BS manually


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?
yes

Can this issue reproduce from the UI?


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


Steps to Reproduce:
1. install ODF in manual mode
2.
3.


Actual results:
noobaa installation is stuck pending on the credentials secret

Expected results:
noobaa should fallback to a pv pool BS after a timeout.
A proper alert should be generated, notifying the user of the failure to create a default BS of the intended type, and the creation of a pv-pool BS


Additional info:

Comment 7 errata-xmlrpc 2023-11-08 18:55:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat OpenShift Data Foundation 4.14.0 security, enhancement & bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:6832


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