David Sullivan a3c5d7348c Restore admin password during bootstrap manifest
For restore operations (including SX upgrades) we need to use the
updated admin password. The admin password can be changed after the
system is bootstrapped. In which case the password is stored in
secure_system instead of secure_static hieradata. When we use the old
admin password the bootstrap playbook will fail as the keyring password
does not match what is in the keystone database.

To correct this, we copy the password to the runtime hieradata used to
run the bootstrap manifest.

Tests run:
AIO-SX Bootstrap + Deploy
AIO-SX Backup and Restore
AIO-SX Upgrade

Closes-Bug: 1942907
Change-Id: I7549b846a470dff272ab17fc610ebe06260f439b
Signed-off-by: David Sullivan <david.sullivan@windriver.com>
2021-09-09 11:18:54 -05:00
2019-06-15 14:03:07 -05:00
2021-06-09 14:11:38 +08:00
2019-06-15 14:21:19 -05:00
2019-06-15 14:21:19 -05:00
2019-06-15 14:21:19 -05:00
2021-06-09 14:11:38 +08:00

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
StarlingX Ansible Playbooks
Readme 31 MiB
Languages
Jinja 70.3%
Python 21.5%
Shell 8.1%