StarlingX System Configuration Management
Go to file
Robert Church d2f6c88f90 Set osd_pool_default_size based on deployment
The ceph.conf file packaged in the Ceph RPM sets 'osd_pool_default_size
= 2'. This is a valid initial value for most deployments. The exception
is for the AIO-SX single OSD installation (which is our default minimum
AIO-SX configuration). In this deployment configuration, this value will
produce a HEALTH_WARN specifying "Degraded data redundancy".

This commit will set 'osd_pool_default_size' based on the deployment and
specifically set it to '1' for the AIO-SX. This will provide a HEALTH_OK
cluster on controller unlock.

If/when additional OSDs are added, the 'system storage-backend-modify'
command can be used to change the replication factor to provide a higher
level of data redundancy.

This change removes the long-stanging need to run the following command
when provisioning the AIO-SX:

  ceph osd pool ls | xargs -i ceph osd pool set {} size 1

This will also now enable automatic loading of the platform-integ-apps
k8s application and subsequent loading of the rbd-provisioner for
persistent volume claims on the AIO-SX.

Change-Id: I901b339f1c7770aa16a7bbfecf193d0c1e5e9eaa
Story: 2005424
Task: 33471
Signed-off-by: Robert Church <robert.church@windriver.com>
2019-05-23 11:52:07 -04:00
api-ref/source Add Commands For Docker Registry Image Cleanup 2019-05-16 10:28:51 -04:00
config-gate Add notices on Intel authored files. 2019-03-20 10:03:44 -06:00
controllerconfig Disable config_controller 2019-05-10 13:35:56 +00:00
devstack Followup opendev cleanup and test jobs 2019-04-20 21:04:15 -05:00
doc Clean up and standardize landing pages 2018-12-27 16:49:27 -08:00
kubernetes Merge "Make rbd-provisioner installation more deterministic" 2019-05-22 18:15:43 +00:00
playbookconfig Correctly validate docker_no_proxy config input 2019-05-22 14:03:10 -04:00
playbooks/tox-puppet-lint OpenDev Migration Patch 2019-04-19 19:52:42 +00:00
puppet-manifests Set osd_pool_default_size based on deployment 2019-05-23 11:52:07 -04:00
puppet-modules-wrs Merge "Keystone DB sync - add service puppet module" 2019-05-07 20:25:11 +00:00
releasenotes Update config for release notes to include project name 2019-02-05 14:03:49 -08:00
storageconfig Add notices on Intel authored files. 2019-03-20 10:03:44 -06:00
sysinv Merge "Rejected deleting network & address-pool after unlock" 2019-05-22 22:03:06 +00:00
tmp/patch-scripts/EXAMPLE_SYSINV/scripts StarlingX open source release updates 2018-05-31 07:35:52 -07:00
worker-utils Container pinning on worker nodes and All-in-one servers 2019-04-11 01:39:44 -04:00
workerconfig Docker Registry Keystone Authentication 2019-03-07 12:55:59 -05:00
.gitignore Fixing up tox -e cover for stx-config 2018-12-20 08:53:15 -06:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:42 +00:00
.yamllint clear yamllint errors under stx-config 2018-09-12 21:11:57 +08:00
.zuul.yaml Provide env settings to allow zuul and developers to both run tox 2019-04-30 09:18:46 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:35:52 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:35:52 -07:00
centos_helm.inc Add stx-openstack-helm to the containers build 2018-11-14 11:55:29 -05:00
centos_iso_image.inc Add stx-platform-helm RPM 2019-04-29 13:35:29 -04:00
centos_pkg_dirs Merge "Keystone DB sync - add service puppet module" 2019-05-07 20:25:11 +00:00
centos_pkg_dirs_containers Add stx-openstack-helm to the containers build 2018-11-14 11:55:29 -05:00
centos_stable_wheels.inc Remove wrs-configutilities SDK Module 2019-04-02 11:50:23 -04:00
test-requirements.txt Properly enable hacking checks for flake8 2018-12-18 11:28:56 -06:00
tox.ini Followup opendev cleanup and test jobs 2019-04-20 21:04:15 -05:00

README.rst

stx-config

StarlingX Configuration Management