cephfs-storage-init can not create namespaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Daniel Safta |
Bug Description
Brief Description
-----------------
when updating cephfs-provisioner chart and it needs to create an additional namespace in Kubernetes, it can not create new namespaces because it misses the RBAC access.
Severity
--------
Minor
Steps to Reproduce
------------------
Apply platform-integ-apps and wait untill cephfs-storage-init pod finishes execution.
Check the logs: kubectl -n kube-system logs cephfs-storage-init
Expected Behavior
------------------
It should create all the namespaces from the overrides.
Actual Behavior
----------------
No new namespace is created.
Reproducibility
---------------
Reproducible
System Configuration
-------
AIO-SX
Branch/Pull Time/Commit
-------
stx-master
Last Pass
---------
Timestamp/Logs
--------------
Test Activity
-------------
Developer
Workaround
----------
manually update the Role and ClusterRole named cephfs-provisioner with access to namespace and secret resources.
Fix Proposed: https:/ /review. opendev. org/c/starlingx /platform- armada- app/+/782841