Platform.conf has duplicated region_config entries
Bootstrap playbook is currently writing two times the key, first by
puppet and second on the task "Add new entries to platform.conf". This
removes the second addition.
Tested running the playbook on a SX, DC, on subcloud Backup & Restore,
and re-ran it on the subcloud. In all cases the platform.conf file
contains only one region_config and the subclouds were in sync with no
unexpected alarms.
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/802376 /opendev. org/starlingx/ ansible- playbooks/ commit/ 80fd1cc254aa753 04456bc10961c9e 2a31773ae2
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 80fd1cc254aa753 04456bc10961c9e 2a31773ae2
Author: Iago Regiani <email address hidden>
Date: Mon Jul 26 13:56:02 2021 -0400
Platform.conf has duplicated region_config entries
Bootstrap playbook is currently writing two times the key, first by
puppet and second on the task "Add new entries to platform.conf". This
removes the second addition.
Tested running the playbook on a SX, DC, on subcloud Backup & Restore,
and re-ran it on the subcloud. In all cases the platform.conf file
contains only one region_config and the subclouds were in sync with no
unexpected alarms.
Closes-bug: #1931529 c6b16c7d55daa99 e57bfbb38bc
Change-Id: I55f17ddfdedf5c
Signed-off-by: Iago Regiani <email address hidden>