config/puppet-manifests/src/modules/platform/lib/facter
Ovidiu Poncea 19a756882b puppet: Fix AIO SX cinder disk replacement
Cinder's DRBD is left in "Inconsistent" state when a disk
replacement is attempted on AIO SX.

The fix enables DRBD cinder volumes reconfiguration in two cases:
1) At initial configuration,
2) When disk is replaced.

A disk replacement is triggered from sysinv by removing
the checkpoint file behind is_node_cinder_lvm.

On SX we have to wait for disk wipe confirmation before
updating DB otherwise user may unlock host without wipe
and operation won't be retried leading to major, possibly
unrecoverable, problems with cinder-volumes disk.
If DB was not updated, operation will be retried on reboot
ensuring that the disk is indeed wiped.

Change-Id: Ia3391b2437d309c71bb525b8167ac55d727b3ab2
2018-06-28 22:07:38 -04:00
..
boot_disk_device_path.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
controller_sw_versions_match.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
disable_compute_services.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
get_cmdline.rb Integrate host configuration into configuration framework 2018-06-14 16:03:52 -05:00
install_uuid.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
is_broadwell_processor.rb Integrate host configuration into configuration framework 2018-06-14 16:03:52 -05:00
is_controller_active.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
is_gb_page_supported.rb Integrate host configuration into configuration framework 2018-06-14 16:03:52 -05:00
is_hugetlbfs_enabled.rb Integrate host configuration into configuration framework 2018-06-14 16:03:52 -05:00
is_initial_cinder_ceph_config.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
is_initial_cinder_config.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
is_initial_cinder_lvm_config.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
is_initial_config.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
is_initial_config_primary.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
is_keystone_running.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
is_node_cinder_ceph_config.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
is_node_cinder_lvm_config.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
is_per_numa_supported.rb Integrate host configuration into configuration framework 2018-06-14 16:03:52 -05:00
is_primary_disk_rotational.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
is_resctrl_supported.rb Integrate host configuration into configuration framework 2018-06-14 16:03:52 -05:00
is_restore_in_progress.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
is_standalone_controller.rb puppet: Fix AIO SX cinder disk replacement 2018-06-28 22:07:38 -04:00
number_of_logical_cpus.rb Integrate host configuration into configuration framework 2018-06-14 16:03:52 -05:00
number_of_numa_nodes.rb Integrate host configuration into configuration framework 2018-06-14 16:03:52 -05:00
physical_core_count.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
platform_res_mem.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00
system_info.rb StarlingX open source release updates 2018-05-31 07:35:52 -07:00