d5a84a1dbc
Adding two fixed Ceph monitors for controllers when deploying an AIO-DX to improve HA. Includes: - Creates a new shell script to manage the fixed monitors - Creates a new patch to include the mon_data parameter in the mon.pp puppet manifest. - Creates the ceph-storage-network script that is used by the storage-networking SM service to stop Ceph services in case of a network outage. - Alters the script used by the ceph-mds pmon file to ceph-init-wrapper. - Adjusts the ceph-init-wrapper to accept commands from pmon service. - Adjusts the ceph-init-wrapper to accept the forcestop command. - Stopping Ceph services using ceph-init-wrapper, it is checked if the pid exists before trying. - Stopping ceph-mon service using ceph-init-wrapper, the ceph-mds is stopped right before to force a re-peering. - Starting ceph-mon service using ceph-init-wrapper, the ceph-mds is stopped right before to force a re-peering. - Starting ceph-mds, it is checked if the ceph-mon is operational. - The forcestop command uses a TERM signal first before attempting a KILL signal after 5 seconds. Test Plan: PASS: Fresh install AIO-DX and check 3 Ceph monitors are running. PASS: Fresh install all other setups and check if Ceph is working as expected. PASS: Reboots the standby controller and check if Ceph is still running. PASS: Reboots the active controller. Ceph will stop responding, but it will recover after both controllers are running. PASS: Verify Ceph is working after a DOR test with PODs writting to the cephfs and rbd pools. PASS: Verify Ceph is resilient to switch reboots Story: 2011122 Task: 50129 Change-Id: I18d7ab9da3303265da34bc13c8be4baa23c2a7be Signed-off-by: Hediberto C Silva <hediberto.cavalcantedasilva@windriver.com> Signed-off-by: Felipe Sanches Zanoni <Felipe.SanchesZanoni@windriver.com> |
||
---|---|---|
.. | ||
0001-Roll-up-TIS-patches.patch | ||
0002-Newton-rebase-fixes.patch | ||
0003-Ceph-Jewel-rebase.patch | ||
0004-US92424-Add-OSD-support-for-persistent-naming.patch | ||
0006-ceph-disk-prepare-invalid-data-disk-value.patch | ||
0007-Add-StarlingX-specific-restart-command-for-Ceph-moni.patch | ||
0008-ceph-mimic-prepare-activate-osd.patch | ||
0009-fix-ceph-osd-disk-partition-for-nvme-disks.patch | ||
0010-wipe-unprepared-disks.patch | ||
0011-Fix-service-parameter-passing.patch | ||
0012-Add-multipath-disk-support.patch | ||
0013-Fix-puppet-ceph-multipath-ceph-partition-detection.patch | ||
0014-Adjust-puppet-ceph-dependency-requirements.patch | ||
0015-Fix-the-unless-condition-of-ceph-osd-prepare.patch | ||
0016-Add-ms_bind_ipv4-option-to-ceph-paremeters.patch | ||
0017-Add-mon_data-parameter.patch | ||
series |