
This is to fix the upgrade playbook issue that happens during AIO-SX upgrade from stx4.0 to stx5.0 which introduced by https://review.opendev.org/c/starlingx/ansible-playbooks/+/792093. The apiserver keys are not available in stx4.0 side so we need to ensure the keys under /etc/kubernetes/pki are present in the backed-up tarball before extracting, otherwise playbook fails because the keys are not found in the archive. Change-Id: I8602f07d1b1041a7fd3fff21e6f9a422b9784ab5 Closes-Bug: 928925 Signed-off-by: Angie Wang <angie.wang@windriver.com>
stx-ansible-playbooks
StarlingX Bootstrap and Deployment Playbooks
Execution environment
- Unix like OS (recent Linux based distributions, MacOS, Cygwin)
- Python 2.7
Additional Required Packages
The playbooks in this repo have been verified with the following versions of Ansible and StarlingX playbooks dependencies:
- sshpass 1.06
- python2-ptyprocess 0.5
- python2-pexpect 4.6
- python2-netaddr 0.7
ansible
2.7.5
Supported StarlingX Releases
The playbooks in this repo are compatible with the following StarlingX releases:
- 20.01
Executing StarlingX Playbooks
Executing Bootstrap Playbook
Please refer to StarlingX Deployment Guides
, section
Configuration controller-0 of the respective system
configuration for instructions on how to set up and execute the
bootstrap playbook from another host.
References
Description
Languages
Jinja
70.3%
Python
21.5%
Shell
8.1%