commit 15aa007c2510f1620cee798527096ac57aae1188
Author: David Sullivan <email address hidden>
Date: Fri Dec 10 14:27:28 2021 -0600
Correct ordering when upgrading etcd certs
During an upgrade activate we generate new etcd certs. As part of this
process we need to restart etcd and direct the kube-apiserver to use the
new certs.
Reviewed: https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/821589 /opendev. org/starlingx/ stx-puppet/ commit/ 15aa007c2510f16 20cee798527096a c57aae1188
Committed: https:/
Submitter: "Zuul (22348)"
Branch: r/stx.6.0
commit 15aa007c2510f16 20cee798527096a c57aae1188
Author: David Sullivan <email address hidden>
Date: Fri Dec 10 14:27:28 2021 -0600
Correct ordering when upgrading etcd certs
During an upgrade activate we generate new etcd certs. As part of this
process we need to restart etcd and direct the kube-apiserver to use the
new certs.
With this update we'll restart the etcd server before updating the /bugs.launchpad .net/starlingx/ +bug/1954488 and /bugs.launchpad .net/starlingx/ +bug/1953183 are seen if we do not
kube-apiserver. Finally we'll wait for the kube-apiserver to be ready.
Waiting for the apiserver is necessary so subsequent sysinv operations
can interact with kubeadm.
https:/
https:/
wait for the apiserver.
Note curl -f is used to ensure the readyz call returns 200/OK.
Closes-Bug: 1954488 2c0bf5e57526b41 421689bad36 34c7559b4a0015a 3af23f179e)
Closes-Bug: 1953183
Change-Id: I3b31153d877926
Signed-off-by: David Sullivan <email address hidden>
(cherry picked from commit 61b72946b8eb81a