Bug 2079873 - csi-nfsplugin pods are not coming up after successful patch request to update "ROOK_CSI_ENABLE_NFS": "true"'
Summary: csi-nfsplugin pods are not coming up after successful patch request to update...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: rook
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.11.0
Assignee: Rakshith
QA Contact: Neha Berry
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-28 12:20 UTC by Amrita Mahapatra
Modified: 2023-08-09 17:03 UTC (History)
6 users (show)

Fixed In Version: 4.11.0-61
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-24 13:51:03 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage rook pull 375 0 None Merged Resync upstream Release 1.9 to release 4.11 2022-04-29 10:36:17 UTC
Github rook rook pull 10183 0 None open build: fix csi nfs rbac csv generation 2022-04-28 12:26:34 UTC
Red Hat Product Errata RHSA-2022:6156 0 None None None 2022-08-24 13:51:52 UTC

Description Amrita Mahapatra 2022-04-28 12:20:51 UTC
Description of problem (please be detailed as possible and provide log
snippests):

csi-nfsplugin pods are not coming up after successful patch request to enable nfs feature and to update "ROOK_CSI_ENABLE_NFS": "true"' . Below mentioned error displayed,

[ammahapa@ammahapa ~]$ oc describe replicasets csi-nfsplugin-provisioner-6c9b59cf6d

Conditions:
  Type             Status  Reason
  ----             ------  ------
  ReplicaFailure   True    FailedCreate
Events:
  Type     Reason        Age                   From                   Message
  ----     ------        ----                  ----                   -------
  Warning  FailedCreate  4m14s (x26 over 58m)  replicaset-controller  Error creating: pods "csi-nfsplugin-provisioner-6c9b59cf6d-" is forbidden: error looking up service account openshift-storage/rook-csi-nfs-provisioner-sa: serviceaccount "rook-csi-nfs-provisioner-sa" not found
Version of all relevant components (if applicable):

Version of all relevant components (if applicable):
OCP: 4.11.0-0.nightly-2022-04-26-181148
ODF full version: 4.11.0-51

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


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


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


Can this issue reproduce from the UI? no


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


Steps to Reproduce:
1. Update nfs feature for the storage-cluster with patch command.
[ammahapa@ammahapa ~]$ oc patch -n openshift-storage storageclusters.ocs.openshift.io ocs- 
storagecluster --patch '{"spec": {"nfs":{"enable": true}}}' --type merge

storagecluster.ocs.openshift.io/ocs-storagecluster patched

2. Enable "ROOK_CSI_ENABLE_NFS"
[ammahapa@ammahapa ~]$ oc patch cm rook-ceph-operator-config -n openshift-storage -p $'data:\n "ROOK_CSI_ENABLE_NFS":  "true"'
configmap/rook-ceph-operator-config patched

3. check csi-nfsplugin pods came up or not


Actual results:
csi-nfsplugin pods are not coming up. Failing with below error,

Error creating: pods "csi-nfsplugin-provisioner-6c9b59cf6d-" is forbidden: error looking up service account openshift-storage/rook-csi-nfs-provisioner-sa: serviceaccount "rook-csi-nfs-provisioner-sa" not found


Expected results:
csi-nfsplugin pods should come up.

Comment 9 errata-xmlrpc 2022-08-24 13:51:03 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.11.0 security, enhancement, & bugfix 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-2022:6156


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