TripleO quickstart
By Sachin
October 8, 2017
Setup tripleo-quickstart environment.
Create non-root user
1
2
adduser <NON-ROOT-USER> -G wheel
passwd <NON-ROOT-USER>
Login as NON-ROOT-USER and download required scripts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ssh-keygen
export VIRTHOST=127.0.0.2
ssh-copy-id root@$VIRTHOST
# Test the settings
ssh root@$VIRTHOST uname -a
# Download required scripts
git clone https://github.com/openstack/tripleo-quickstart.git
# Last time I checked, commit hash 0a5dc8de8df3ddbf1886b8416b55464b0910c7ba
# worked for me pretty well.
# Download Heat templates(Optional)
git clone https://github.com/openstack/tripleo-heat-templates.git
cd tripleo-quickstart
./quickstart.sh --install-deps
Deploy OpenStack
- 1-ctrl, 1-compute, pacemaker (Ocata release)
1
2
3
4
5
6
./quickstart.sh --config config/general_config/pacemaker.yml \
-N config/nodes/1ctlr_1comp.yml \
--teardown all \
--tags all \
--clean \
--release ocata $VIRTHOST
- 3-ctrl, 1-compute, pacemaker (Ocata release)
1
2
3
4
5
6
./quickstart.sh --config config/general_config/pacemaker.yml \
-N config/nodes/3ctlr_1comp.yml \
--teardown all \
--tags all \
--clean \
--release ocata $VIRTHOST
- 1-ctrl, 1-compute, pacemaker (Master branch with latest commit)
1
2
3
4
5
6
./quickstart.sh --config config/general_config/pacemaker.yml \
-N config/nodes/1ctlr_1comp.yml \
--teardown all \
--tags all \
--clean \
--release master-tripleo-ci $VIRTHOST
-
1-ctrl, 1-compute, pacemaker (Ocata with telemetry)
Note the selecting any release other that newton will disable telemetry. To enable telemetry remove following lines from
pacemaker.yml
. I usually save file aspacemaker-enable-telemetry.yml
..and deploy using,
1
2
3
4
5
6
./quickstart.sh --config config/general_config/pacemaker-enable-telemetry.yml \
-N config/nodes/1ctlr_1comp.yml \
--teardown all \
--tags all \
--clean \
--release ocata $VIRTHOST
Once setup is complete login to undercloud node using,
1
ssh -F /home/NON-ROOT-USER/.quickstart/ssh.config.ansible undercloud
and source overcloudrc
for API version 2 or overcloudrc.v3
for API
version 3