commit 6a6d3064d71b00fc0be98d27885058443ded0e8c
Author: Christopher Souza <email address hidden>
Date: Thu Mar 9 08:47:55 2023 -0300
Update rehome subcloud playbook to update rootca cert
In this commit, the rehoming playbook is updated
to ensure the subcloud will have the same k8s
rootca cert as the new central cloud
post rehoming.
Test Plan:
PASS: Rehome a subcloud.
dcmanager subcloud add --migrate
--bootstrap-address <controller-0-oam-address>
--bootstrap-values <bootstrap_values>
--sysadmin-password <subcloud password>
PASS: open the /etc/kubernetes/pki/ca.crt of the
subcloud and verify that the cert is
the same cert of the central controller.
PASS: create a strategy
- sw-manager fw-update-strategy create
- sw-manager kube-rootca-update-strategy creat
- sw-manager kube-upgrade-strategy create
- sw-manager patch-strategy create
- sw-manager upgrade-strategy create
then rehome a subcloud and verify that the subcloud
has the same k8s rootca cert as the central
controller.
Closes-Bug: 2009827
Signed-off-by: Christopher Souza <email address hidden>
Change-Id: Ia116dcbcd1f02c6b3d56a0529e16617853ba3b08
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/876964 /opendev. org/starlingx/ ansible- playbooks/ commit/ 6a6d3064d71b00f c0be98d27885058 443ded0e8c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 6a6d3064d71b00f c0be98d27885058 443ded0e8c
Author: Christopher Souza <email address hidden>
Date: Thu Mar 9 08:47:55 2023 -0300
Update rehome subcloud playbook to update rootca cert
In this commit, the rehoming playbook is updated
to ensure the subcloud will have the same k8s
rootca cert as the new central cloud
post rehoming.
Test Plan: -address <controller- 0-oam-address> -values <bootstrap_values> password <subcloud password> /pki/ca. crt of the update- strategy creat strategy create
PASS: Rehome a subcloud.
dcmanager subcloud add --migrate
--bootstrap
--bootstrap
--sysadmin-
PASS: open the /etc/kubernetes
subcloud and verify that the cert is
the same cert of the central controller.
PASS: create a strategy
- sw-manager fw-update-strategy create
- sw-manager kube-rootca-
- sw-manager kube-upgrade-
- sw-manager patch-strategy create
- sw-manager upgrade-strategy create
then rehome a subcloud and verify that the subcloud
has the same k8s rootca cert as the central
controller.
Closes-Bug: 2009827
Signed-off-by: Christopher Souza <email address hidden> 6b3d56a0529e166 17853ba3b08
Change-Id: Ia116dcbcd1f02c