config/sysinv/sysinv/sysinv/sysinv/common
Irina Mihai e4ff1ef2c3 Decouple Ceph pools creation from sysinv
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>
2018-12-01 16:21:31 +00:00
..
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
ceph.py Decouple Ceph pools creation from sysinv 2018-12-01 16:21:31 +00:00
config.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
configp.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
constants.py Decouple Ceph pools creation from sysinv 2018-12-01 16:21:31 +00:00
context.py Sysinv healthy query API request failed 2018-09-13 13:36:15 -04:00
exception.py Armada-Sysinv integration 2018-11-07 07:52:35 -05:00
extension_manager.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
fernet.py Fernet key synchronization 2018-10-26 14:56:42 -05:00
fm.py Sysinv healthy query API request failed 2018-09-13 13:36:15 -04:00
health.py controllerfs-modify failed due to ialarm_get_all error 2018-09-21 13:50:34 -04:00
image_service.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
images.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
kubernetes.py host-label validation via kubernetes-client 2018-10-04 13:02:59 -04:00
paths.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
policy.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
retrying.py Fix tox pep8 errors of type E722 in sysinv 2018-08-10 14:51:50 -04:00
safe_utils.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
service.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
service_parameter.py Merge "Fix urllib import issue for Python2/3 compatible code." 2018-11-08 08:06:58 +00:00
states.py Fix word and statement errors in comments 2018-11-14 10:04:51 +08:00
storage_backend_conf.py Decouple Ceph pools creation from sysinv 2018-12-01 16:21:31 +00:00
utils.py Properly check if OpenStack is installed 2018-11-26 08:13:20 -05:00
wsgi_service.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00