For a containerized deployment:
- the following Ceph pools are no longer created by sysinv:
cinder-volumes, images, ephemeral, kube-rbd; the creation has
been left/moved to the helm charts as follows:
-> the cinder chart: cinder-volumes, cinder.backup
-> the rbd-provisioner chart: kube-rbd pools and
the ephemeral pool for nova (temporary)
-> glance: images
- sysinv no longer supports updating the pool quotas
- sysinv no longer supports updating the replication for Ceph pools:
the replication is updated in the DB through the
'system storage-backend-modify' command, but the chart is applying
the change through the helm overrides when the application is
(re)applied
- sysinv no longer audits the Ceph pools and adjusts the PG num
- sysinv no longer generates the Ceph keys for the Ceph pools and the
k8s secrets, as these have been moved to the rbd-provisioner chart
- upon storage node lock, we determine which are the existing data
Ceph pools and deny lock if they are not empty
NOTE: There are still parts of the pool management code that
will have to be removed once we switch to a containerized
deployment only. I've marked that with "TODO(CephPoolsDecouple)"
to easily track it.
Validation:
- install AIO-SX & Storage setups with --kubernetes and
-> add Ceph (primary and secondary tier)
-> lock/unlock host/storage hosts
-> check pools are not created by sysinv
-> generate the stx-openstack application tarball
-> system application-upload stx-openstack
helm-charts-manifest-no-tests.tgz
-> system application-apply stx-openstack
- install AIO-SX without --kubernetes
-> check lock/unlock
- install Storage setup without --kubernetes
-> check lock/unlock of storage nodes
-> check Ceph pools are created
-> test quotas can be changed
Story: 2002844
Task: 28190
Change-Id: Ic2190e488917bffebcd16daf895dcddd92c6d9c5
Signed-off-by: Irina Mihai <irina.mihai@windriver.com>