commit e221ef8fbe51aa6ca229b584fb5632fe512ad5cb
Author: David Sullivan <email address hidden>
Date: Wed May 19 16:01:27 2021 -0500
Support bootstrap replay with networking changes
Currently bootstrap playbook replay will fail if the management or
cluster host networks are changed. To resolve this a couple of changes
are needed:
* Restart the sysinv agent and wait until it is ready. The sysinv agent
uses the current management ip for the rabbitMQ connection and
applying runtime manifests. The process needs to be restarted to
resync that data.
* Copy the etcd certs to the /opt/platform on replay. The etcd-server
certs are regenerated on replay. When the cluster host network changed
the SAN in the certs under /opt/platform were out of date resulting in
kube-apiserver failures on controller-0 unlock.
Closes-Bug: 1925668
Signed-off-by: David Sullivan <email address hidden>
Change-Id: I228321a2540a0024cd217ed844feb54be9ae3b29
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/792271 /opendev. org/starlingx/ ansible- playbooks/ commit/ e221ef8fbe51aa6 ca229b584fb5632 fe512ad5cb
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit e221ef8fbe51aa6 ca229b584fb5632 fe512ad5cb
Author: David Sullivan <email address hidden>
Date: Wed May 19 16:01:27 2021 -0500
Support bootstrap replay with networking changes
Currently bootstrap playbook replay will fail if the management or
cluster host networks are changed. To resolve this a couple of changes
are needed:
* Restart the sysinv agent and wait until it is ready. The sysinv agent
uses the current management ip for the rabbitMQ connection and
applying runtime manifests. The process needs to be restarted to
resync that data.
* Copy the etcd certs to the /opt/platform on replay. The etcd-server apiserver failures on controller-0 unlock.
certs are regenerated on replay. When the cluster host network changed
the SAN in the certs under /opt/platform were out of date resulting in
kube-
Closes-Bug: 1925668 24cd217ed844feb 54be9ae3b29
Signed-off-by: David Sullivan <email address hidden>
Change-Id: I228321a2540a00