Consolidate manila-csi storage classes?
These are Manila storage classes that we currently offer:
geneva-cephfs-testing
meyrin-cephfs
meyrin-cephfs-vault-ssd-a
These are Manila share types that the Manila service offers:
$ os share type list --fit-width
+---------------------------------+---------------------------+------------+------------+---------------------------------+----------------------------------+--------------------------+
| id | name | visibility | is_default | required_extra_specs | optional_extra_specs | description |
+---------------------------------+---------------------------+------------+------------+---------------------------------+----------------------------------+--------------------------+
| feee95c5-9b20-4bd4-bc15-9269f01 | Geneva CephFS Testing | public | False | driver_handles_share_servers : | snapshot_support : False | unit_value: 7.523287e-14 |
| 2e399 | | | | False | create_share_from_snapshot_suppo | |
| | | | | | rt : False | |
| | | | | | revert_to_snapshot_support : | |
| | | | | | False | |
| | | | | | mount_snapshot_support : False | |
| ec0cae55-27ee-4105-a5ef-6103eb9 | Meyrin CephFS | public | False | driver_handles_share_servers : | snapshot_support : False | unit_value: 7.523287e-14 |
| 2506c | | | | False | create_share_from_snapshot_suppo | |
| | | | | | rt : False | |
| | | | | | revert_to_snapshot_support : | |
| | | | | | False | |
| | | | | | mount_snapshot_support : False | |
| 6007ea9b-af94-410e-899f-78a9c2c | Meyrin CephFS B | private | False | driver_handles_share_servers : | create_share_from_snapshot_suppo | unit_value: 7.523287e-14 |
| 9aedf | | | | False | rt : True | |
| | | | | | snapshot_support : True | |
| | | | | | revert_to_snapshot_support : | |
| | | | | | False | |
| | | | | | mount_snapshot_support : False | |
| c56518b9-8b59-4fcf-81fb-271f0cd | Meyrin CephFS Vault SSD A | public | False | driver_handles_share_servers : | snapshot_support : False | unit_value: 4.313589e-13 |
| 1bc8a | | | | False | create_share_from_snapshot_suppo | |
| | | | | | rt : False | |
| | | | | | revert_to_snapshot_support : | |
| | | | | | False | |
| | | | | | mount_snapshot_support : False | |
+---------------------------------+---------------------------+------------+------------+---------------------------------+----------------------------------+--------------------------+
(I'm finding out what to do about "Meyrin CephFS B" since that's the only share type that has snapshotting enabled.)
In !65 (merged) we have added storage classes for Cinder. They follow the naming scheme we have agreed on in https://its.cern.ch/jira/browse/OS-15279 , i.e. cinder-<VOLUME TYPE>
and cinder-<VOLUME TYPE>-delete
.
What do we do with storage classes for Manila? Should they also follow this naming scheme manila-<SHARE TYPE>
and manila-<SHARE TYPE>-delete
?
This would probably mean adding these classes in addition to what we have in https://gitlab.cern.ch/kubernetes/automation/releases/cern-magnum/-/blob/master/templates/storageclass-manila.yaml and then after some releases phasing out the old ones.