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:
42
42
43
43
./automated-setup.sh
44
44
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
+
45
50
The script will pull the current version of Kayobe and this repository, and
46
51
then run the manual setup steps below. The script can be easily edited to use
47
52
a 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
6
6
10.205.3.187 pulp-server pulp-server.internal.sms-cloud
7
7
EOF
8
8
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
+
9
14
BASE_PATH=~
10
15
KAYOBE_BRANCH=stackhpc/yoga
11
16
KAYOBE_CONFIG_BRANCH=stackhpc/yoga
@@ -16,10 +21,10 @@ if [[ ! -f $BASE_PATH/vault-pw ]]; then
16
21
fi
17
22
18
23
if type dnf; then
19
- sudo dnf -y install git python3-virtualenv
24
+ sudo dnf -y install git
20
25
else
21
26
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
23
28
fi
24
29
25
30
cd $BASE_PATH
32
37
mkdir -p venvs
33
38
pushd venvs
34
39
if [[ ! -d kayobe ]]; then
35
- virtualenv kayobe
40
+ python3 -m venv kayobe
36
41
fi
37
42
# NOTE: Virtualenv's activate and deactivate scripts reference an
38
43
# unbound variable.
@@ -62,6 +67,8 @@ source kayobe-env --environment ci-aio
62
67
63
68
kayobe control host bootstrap
64
69
70
+ kayobe playbook run etc/kayobe/ansible/growroot.yml
71
+
65
72
kayobe overcloud host configure
66
73
67
74
kayobe overcloud service deploy
You can’t perform that action at this time.
0 commit comments