File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
doc/source/contributor/environments
etc/kayobe/environments/ci-aio Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,11 @@ Run the setup script:
4242
4343 ./automated-setup.sh
4444
45+ Adding the ``--lvm `` flag will also automatically set the LVM configuration,
46+ which can be modified in
47+ ``etc/kayobe/environments/ci-aio/inventory/group_vars/controllers/lvm.yml ``. A
48+ minimum 30GB root disk is recommended.
49+
4550The script will pull the current version of Kayobe and this repository, and
4651then run the manual setup steps below. The script can be easily edited to use
4752a different branch of Kayobe or this repository.
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ cat << EOF | sudo tee -a /etc/hosts
6610.205.3.187 pulp-server pulp-server.internal.sms-cloud
77EOF
88
9+ if [ " ${1-0} " = " --lvm" ]; then
10+ sudo lvextend -L 2G /dev/rootvg/lv_home -r || true
11+ sudo lvextend -L 2.5G /dev/rootvg/lv_tmp -r || true
12+ fi
13+
914BASE_PATH=~
1015KAYOBE_BRANCH=stackhpc/yoga
1116KAYOBE_CONFIG_BRANCH=stackhpc/yoga
@@ -16,10 +21,10 @@ if [[ ! -f $BASE_PATH/vault-pw ]]; then
1621fi
1722
1823if type dnf; then
19- sudo dnf -y install git python3-virtualenv
24+ sudo dnf -y install git
2025else
2126 sudo apt update
22- sudo apt -y install gcc git libffi-dev python3-dev python-is-python3 python3-virtualenv
27+ sudo apt -y install gcc git libffi-dev python3-dev python-is-python3
2328fi
2429
2530cd $BASE_PATH
3237mkdir -p venvs
3338pushd venvs
3439if [[ ! -d kayobe ]]; then
35- virtualenv kayobe
40+ python3 -m venv kayobe
3641fi
3742# NOTE: Virtualenv's activate and deactivate scripts reference an
3843# unbound variable.
@@ -62,6 +67,8 @@ source kayobe-env --environment ci-aio
6267
6368kayobe control host bootstrap
6469
70+ kayobe playbook run etc/kayobe/ansible/growroot.yml
71+
6572kayobe overcloud host configure
6673
6774kayobe overcloud service deploy
You can’t perform that action at this time.
0 commit comments