config/sysinv/sysinv/sysinv/sysinv/api/controllers/v1
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 Armada-Sysinv integration 2018-11-07 07:52:35 -05:00
address.py Generalized interface and network configuration 2018-09-13 13:28:51 -04:00
address_pool.py Fixing Pep8 errors of type F841 2018-07-20 13:33:47 -04:00
base.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
ceph_mon.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
certificate.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
cluster.py Fixing Pep8 errors of type F841 2018-07-20 13:33:47 -04:00
collection.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
community.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
controller_fs.py Standby controller filesystem sizes check 2018-10-15 17:24:21 +03:00
cpu.py Fix word and statement errors in comments 2018-11-14 10:04:51 +08:00
cpu_utils.py Fixing Pep8 errors of type F841 2018-07-20 13:33:47 -04:00
disk.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
dns.py Provide API to enable/disable NTP service in SysInv 2018-08-16 09:29:15 -04:00
drbdconfig.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
ethernet_port.py Fix tox pep8 errors of type E722 in sysinv 2018-08-10 14:51:50 -04:00
fernet_repo.py Fernet key synchronization 2018-10-26 14:56:42 -05:00
firewallrules.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
health.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
helm_charts.py Merge "Update to user override deleteion to preserve system overrides" 2018-11-07 17:03:48 +00:00
host.py Decouple Ceph pools creation from sysinv 2018-12-01 16:21:31 +00:00
hwmon_api.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
interface.py sysinv pnet support without neutron extension 2018-10-23 11:52:57 -04:00
interface_network.py Platform interface no longer requires networks 2018-09-26 12:12:19 -04:00
kube_app.py Improve system application commands robustness 2018-11-22 09:03:58 -05:00
label.py Kubernetes, VIM label support 2018-11-05 17:59:22 -05:00
license.py Fix tox pep8 errors of type E231 in sysinv 2018-08-09 14:26:34 -04:00
link.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
lldp_agent.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
lldp_neighbour.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
lldp_tlv.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
load.py Allow Hardware Replacement During Upgrades 2018-07-06 09:10:09 -04:00
lvg.py Create docker filesystem on compute hosts 2018-07-31 15:48:44 -04:00
memory.py Fix tox pep8 errors of type E722 in sysinv 2018-08-10 14:51:50 -04:00
mtce_api.py Fix tox pep8 errors of type E722 in sysinv 2018-08-10 14:51:50 -04:00
network.py Multiple networks to interface association 2018-09-13 13:28:24 -04:00
network_infra.py Generalized interface and network configuration 2018-09-13 13:28:51 -04:00
network_oam.py Fixing Pep8 errors of type F841 2018-07-20 13:33:47 -04:00
node.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
ntp.py Implementation of PTP support in SysInv and Puppet 2018-08-22 11:57:14 -04:00
partition.py Fix tox pep8 errors of type E231 in sysinv 2018-08-09 14:26:34 -04:00
patch_api.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
pci_device.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
port.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
profile.py Networks now assigned to interfaces when interface profile is applied 2018-10-02 23:45:42 -04:00
profile_utils.py Fix tox pep8 errors of type E722 in sysinv 2018-08-10 14:51:50 -04:00
ptp.py Implementation of PTP support in SysInv and Puppet 2018-08-22 11:57:14 -04:00
pv.py Change nova instances mount to reflect openstack-helm default 2018-10-23 17:29:26 -04:00
query.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
remotelogging.py Fixing Pep8 errors of type F841 2018-07-20 13:33:47 -04:00
rest_api.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
route.py Generalized interface and network configuration 2018-09-13 13:28:51 -04:00
sdn_controller.py Fix Tox Pep8 errors of type E266 2018-08-09 10:40:23 -04:00
sensor.py Fix tox pep8 errors of type E722 in sysinv 2018-08-10 14:51:50 -04:00
sensorgroup.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
service.py Fixing Pep8 errors of type E702,E711,E712,E713 & E714 2018-07-20 13:34:08 -04:00
service_parameter.py Fix urllib import issue for Python2/3 compatible code. 2018-10-25 15:45:54 +08:00
servicegroup.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
servicenode.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
sm_api.py Fix sysinv pep8 tox failure 2018-08-22 14:56:27 -04:00
state.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
storage.py CEPH support for 1 node configuration 2018-10-24 17:51:30 +00:00
storage_backend.py Fix tox pep8 errors of type E231 in sysinv 2018-08-09 14:26:34 -04:00
storage_ceph.py Decouple Ceph pools creation from sysinv 2018-12-01 16:21:31 +00:00
storage_ceph_external.py Fix Ceph External Backend issues 2018-08-10 19:23:03 +00:00
storage_external.py Fix tox pep8 errors of type E231 in sysinv 2018-08-09 14:26:34 -04:00
storage_file.py Fix tox pep8 errors of type E231 in sysinv 2018-08-09 14:26:34 -04:00
storage_lvm.py Fix tox pep8 errors of type E231 in sysinv 2018-08-09 14:26:34 -04:00
storage_tier.py CEPH support for 1 node configuration 2018-10-24 17:51:30 +00:00
system.py Generalized interface and network configuration 2018-09-13 13:28:51 -04:00
trapdest.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
types.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
upgrade.py Fixing Pep8 errors of type F841 2018-07-20 13:33:47 -04:00
user.py Fixing Pep8 errors of type F841 2018-07-20 13:33:47 -04:00
utils.py Decouple Ceph pools creation from sysinv 2018-12-01 16:21:31 +00:00
vim_api.py Kubernetes, VIM label support 2018-11-05 17:59:22 -05:00