File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed
doc/source/contributor/environments
etc/kayobe/environments/ci-aio Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ Run the setup script:
4444
4545 The script will pull the current version of Kayobe and this repository, and
4646then run the manual setup steps below. The script can be easily edited to use
47- a different branch of Kayobe or this repository.
47+ a different branch of Kayobe or this repository. The script will automatically
48+ determine whether your image is LVM based, if so, it will expand the volume sizes
49+ to allow ansible dependencies to install correctly.
4850
4951Manual Setup
5052============
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 [ sudo vgdisplay | grep -q lvm2 ]; then
10+ sudo lvextend -L 4G /dev/rootvg/lv_home -r || true
11+ sudo lvextend -L 4G /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
Original file line number Diff line number Diff line change 1+ ---
2+ features :
3+ - |
4+ Improvements to the ci-aio automated deployment script
5+ to allow the script to successfully run on LVM-based
6+ images.
You can’t perform that action at this time.
0 commit comments