How To
Summary
The article suggests the steps to re-install NooBaa instance in FDF/ODF setups.
Objective
- The db-noobaa-db-0 PVC was deleted, due to which Backingstores went into NotReady state. How can I get noobaa working?
- Installation of openshift-storage/noobaa-default-backing-store fails with an AUTH error stating "account not found".
- When OCS Operator is stuck at "Installing State" while Object Storage resources are not detected.
- When the Noobaa management endpoint is accessible but no configuration is found (Noobaa Web GUI indicates the need to create a user as the system is not ready).
Environment
- IBM Storage Fusion Data Foundation 4.x
- Red Hat OpenShift Data Foundation 4.x
Steps
WARNING : The solution below involves the deletion and recreation of ALL of NooBaa resources. Doing this means ALL NooBaa resources will be removed. Please reach out IBM Technical Support team for a review of cluster before applying the changes outlined in this article,
Steps for ODF versions 4.11+
- Patch and Deletion Commands:
$ oc patch -n openshift-storage noobaa noobaa --type='merge' -p '{"spec":{"cleanupPolicy":{"allowNoobaaDeletion":true}}}'
- Delete NooBaa/Multicloud Gateway (MCG):
$ oc delete -n openshift-storage noobaas.noobaa.io --all
- If there are existing buckets, the above step command will hang. If the command hangs, in a separate terminal window, run the following command:
$ oc patch -n openshift-storage noobaas/noobaa --type=merge -p '{"metadata": {"finalizers":null}}'
- After waiting some time for the termination/re-creation of all NooBaa resources, validate the new age of all the resources with the following commands:
$ oc get pv -n openshift-storage | grep noobaa-db
$ oc get deployment -n openshift-storage | grep noobaa
$ oc get pods -n openshift-storage | grep noobaa
$ oc get sts -n openshift-storage
Note: The above steps won't delete any custom backingstore, custom bucketclass, custom noobaa storageclass, obc, ob. You need to delete them manually.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB66","label":"Technology Lifecycle Services"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SSSEWFV","label":"Storage Fusion Data Foundation"},"ARM Category":[{"code":"a8m3p000000UoIUAA0","label":"Documentation"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
15 April 2025
UID
ibm17186382