commit 61b72946b8eb81a34c7559b4a0015a3af23f179e
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/ +/821473 /opendev. org/starlingx/ stx-puppet/ commit/ 61b72946b8eb81a 34c7559b4a0015a 3af23f179e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 61b72946b8eb81a 34c7559b4a0015a 3af23f179e
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
Closes-Bug: 1953183
Change-Id: I3b31153d877926
Signed-off-by: David Sullivan <email address hidden>