Go to file
Yuxing Jiang 0ce82bc973 Update mgmt network during enrollment
This commit adds support to update the primary stack management
network during subcloud enrollment in the case:
1. the system is simplex
2. no admin network configured

As the reconfiguration of the sencondary management network was not
properly tested, it is unknown if potential issues if update two
stacks together. Further, the communication between the system
controllers and the subcloud is based on the primary stack. This
commit doesn't include the task to update the secondary stack
management network.

Test plan:
1. Passed - update management network during enrollment on SX subcloud
w/o admin network configured, verify the management network updated
and the subcloud can be online and in-sync post unlock and managed.
2. Passed - update management floating address only during enrollment
on SX subcloud, verify the floating address is added into the address
pool, verify the subcloud can be online and in-sync post unlock and
managed.
3. Passed - subcloud enrollment against a DX system with management
network update(in bootstrap values), verified the update of the
management network is skipped.
4. Passed - subcloud enrollment against a SX subcloud with both admin
network and management network update, verifed the update of the
management network is skipped, the admin network updated. The subcloud
can be online and in-sync post unlock and managed.
5. Passed - rehomed a subcloud to the DC system with & without admin
network configured.

Depends-on: https://review.opendev.org/c/starlingx/config/+/936201
Closes-bug: 2089596

Signed-off-by: Yuxing Jiang <Yuxing.Jiang@windriver.com>
Change-Id: If9977c0c8e69c7de940a436c31e960c3f93d7206
2024-11-27 09:27:53 -05:00
2019-06-15 14:03:07 -05:00
2023-04-28 12:38:49 -04:00
2019-06-15 14:21:19 -05:00
2019-06-15 14:21:19 -05:00

stx-ansible-playbooks

StarlingX Bootstrap and Deployment Ansible1 Playbooks

Execution environment

  • Unix like OS (recent Linux based distributions, MacOS, Cygwin)
  • Python 3.8 and later

Additional Required Packages

In addition to the pakages listed in requirements.txt and test-requirements.txt, the following packages are required to run the playbooks remotely:

  • python3-pexpect
  • python3-ptyprocess
  • sshpass

Supported StarlingX Releases

The playbooks are compatible with StarlingX R8.0 and later.

Executing StarlingX Playbooks

Bootstrap Playbook

For instructions on how to set up and execute the bootstrap playbook from another host, please refer to the StarlingX Documentation2, at Installation Guides, section Configure controller-0 of the respective system deployment type.

Developer Notes

This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest3.

References


  1. https://docs.ansible.com/ansible/latest/installation_guide↩︎

  2. https://docs.starlingx.io↩︎

  3. https://opendev.org/starlingx/manifest.git↩︎

Description
StarlingX Ansible Playbooks
Readme 32 MiB
Languages
Jinja 74.2%
Python 16.3%
Shell 6.5%
Smarty 3%