Add flag to update ceph-mon ip due to MGMT reconfiguration
During a management network reconfiguration on AIO-SX with Ceph storage backend, this flag will indicate the need to update the ceph-monitor to the new network. The flag is used in the mandatory controller-0 unlock during the mgmt reconfiguration by the "platform::ceph::monitor" puppet class, which will proceed with the ip update. Test Plan: PASS: Reconfigure mgmt network on AIO-SX ipv4 with Ceph backend PASS: Reconfigure mgmt network on AIO-SX ipv6 with Ceph backend PASS: After controller-0 is unlocked, check if Ceph is healthy with 'ceph -s' PASS: Reconfigure mgmt network on AIO-SX ipv4 without Ceph backend Story: 2010722 Task: 48973 Depends on: https://review.opendev.org/c/starlingx/config/+/889724 Change-Id: Id3e4cee3b4cf51fa48c160d4ddbed0a3b55cb97a Signed-off-by: Gabriel de Araújo Cabral <gabriel.cabral@windriver.com>
This commit is contained in:
parent
47516972f4
commit
a46a4adbd0
|
@ -555,6 +555,12 @@ start()
|
|||
# delete flags
|
||||
rm -f $ETC_PLATFORM_DIR/.mgmt_network_reconfiguration_ongoing
|
||||
rm -f $ETC_PLATFORM_DIR/.mgmt_network_reconfiguration_unlock
|
||||
|
||||
# Create a flag to indicate that ceph mon reconfiguration is required if ceph is configured
|
||||
if [ -e $ETC_PLATFORM_DIR/.node_ceph_configured ]
|
||||
then
|
||||
touch $ETC_PLATFORM_DIR/.ceph_mon_reconfig_required
|
||||
fi
|
||||
fi
|
||||
|
||||
hostname > /etc/hostname
|
||||
|
|
Loading…
Reference in New Issue