StarlingX Ansible Playbooks
Go to file
Stefan Dinescu 9f300cd9f8 Resize DRBD resources when doing a restore
In cases where we do a backup of a system that has non-default
sizes for drbd-backed partitions, the restore fails when first
unlocking controller-0.

The normal resize procedure requires all controller nodes to
be unlocked and available because the puppet manifest does
not support resizing at unlock.

To prevent the issue from occuring, as part of the restore
procedure, we should resize the partitions on controller-0
with the proper sizes found in sysinv. Controller-1 will
automatically create the partitions with the proper sizes
from the very start, so it will not need any resizes.

Change-Id: Ia73452ce721514d393b486a659730d0ca7c0d7e5
Closes-bug: 1854169
Depends-on: https://review.opendev.org/#/c/699990
Signed-off-by: Stefan Dinescu <stefan.dinescu@windriver.com>
(cherry picked from master commit 5cdd394cb1)
2020-09-02 12:45:07 +00:00
examples/remote Improve bootstrap failure recovery in replay 2019-07-09 11:49:55 -04:00
playbookconfig Resize DRBD resources when doing a restore 2020-09-02 12:45:07 +00:00
.ansible-lint Fix zuul failures from new release of ansible-lint 2020-08-18 16:38:20 +00:00
.gitignore Fixing up tox -e cover for stx-config 2018-12-20 08:53:15 -06:00
.gitreview Update .gitreview for r/stx.3.0 2019-11-28 08:20:48 -05:00
.yamllint Enable yamllint for ansible playbook .yml files 2019-06-24 13:27:26 -05:00
.zuul.yaml Initial zuul / TOX setup 2019-06-15 14:03:17 -05:00
CONTRIBUTORS.wrs Clean up repo import 2019-06-15 14:21:19 -05:00
LICENSE Clean up repo import 2019-06-15 14:21:19 -05:00
README.rst Set SW_VERSION to 19.12 2019-12-02 11:01:17 -05:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-15 19:47:15 +08:00
centos_iso_image.inc Fix remote bootstrap from Windows control host 2019-07-09 17:28:06 -04:00
centos_pkg_dirs Clean up repo import 2019-06-15 14:21:19 -05:00
test-requirements.txt Add in the ability to call ansible-lint from tox. 2019-10-16 08:31:18 -05:00
tox.ini Add in the ability to call ansible-lint from tox. 2019-10-16 08:31:18 -05:00

README.rst

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:

  • 19.12

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