Provide charm configuration to RBD Storage class parameters

Bug #2073297 reported by Adam Dyess
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph CSI Charm
Fix Released
High
Adam Dyess

Bug Description

the 1.29/stable and 1.30/stable charm try to apply parameters that are no longer valid to the RBD Storage class resources

for instance: thickProvision has been deprecated from ceph-csi https://github.com/ceph/ceph-csi/pull/2589 but the charm still applies it. This creates conflicts when upgrading a 1.28/stable cluster from cdk-addons controlled ceph to ceph-csi.

We should have charm config that allows for setting and removal of rbd-storage-class-parameters

Revision history for this message
Adam Dyess (addyess) wrote :

in fact, the ceph-csi charm can get into a loop trying to apply changes to parameters of storage classes:

https://pastebin.canonical.com/p/B96N9rmDkw/

Revision history for this message
Adam Dyess (addyess) wrote :
Changed in charm-ceph-csi:
status: New → In Progress
assignee: nobody → Adam Dyess (addyess)
milestone: none → 1.30+ck1
importance: Undecided → High
Revision history for this message
Adam Dyess (addyess) wrote :

installers of this charm with this change should likely always deploy like this:

```
juju deploy ceph-csi --channel=1.29/stable \
--config ceph-xfs-storage-class-parameters='thickProvision-' \
--config ceph-ext4-storage-class-parameters='thickProvision-'
```

this parameter isn't required any longer, but cannot be defaulted to 'thickProvision-' because it would break existing installations. StorageClassParameters cannot be patched after the storage class is installed.

Revision history for this message
Adam Dyess (addyess) wrote :
Revision history for this message
Adam Dyess (addyess) wrote :

Backported to release_1.29 and release_1.30 branches

Changed in charm-ceph-csi:
status: In Progress → Fix Committed
Adam Dyess (addyess)
Changed in charm-ceph-csi:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.