Last active
November 2, 2021 10:16
-
-
Save jbadiapa/7b50f6b9a7c3da88d899e74607569888 to your computer and use it in GitHub Desktop.
tripleo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/openstack/tripleo-quickstart.git | |
cd tripleo-quickstart | |
cd tripleo-quickstart | |
./quickstart.sh -n -R master-tripleo-ci --tags none -T all --nodes config/nodes/3ctlr_2comp_3ceph.yml 127.0.0.2 | |
./quickstart.sh -n -X -R master-tripleo-ci --tags all -T none --nodes config/nodes/3ctlr_2comp_3ceph.yml -p quickstart.yml 127.0.0.2 | |
./quickstart.sh -R master-tripleo-ci --no-clone --tags all -I -T none --nodes config/nodes/3ctlr_2comp_3ceph.yml -p quickstart-extras-undercloud.yml 127.0.0.2 | |
./quickstart.sh -R master-tripleo-ci --no-clone --tags all -I -T none --nodes config/nodes/3ctlr_2comp_3ceph.yml -p quickstart-extras-overcloud-prep.yml 127.0.0.2 | |
./quickstart.sh -R master-tripleo-ci --no-clone --tags overcloud-scripts -I -T none --nodes config/nodes/3ctlr_2comp_3ceph.yml -p quickstart-extras-overcloud.yml 127.0.0.2 | |
# Provision the servers properly, I needed to do it until all the servers are deploy properly | |
(undercloud) [stack@undercloud ~]$ openstack overcloud network provision -y -o overcloud-networks-deployed.yaml /usr/share/openstack-tripleo-heat-templates/network-data-samples/default-network-isolation.yaml | |
# This is due to the use of the tls. As the certificate is using 10.0.0.5 to create the certificate. | |
(undercloud) [stack@undercloud ~]$ cp /usr/share/openstack-tripleo-heat-templates/network-data-samples/vip-data-default-network-isolation.yaml . | |
(undercloud) [stack@undercloud ~]$ sed -i 's/- network: external/- ip_address: 10.0.0.5\n network: external/g' vip-data-default-network-isolation.yaml | |
(undercloud) [stack@undercloud ~]$ openstack overcloud network vip provision -y -o overcloud-vips-deployed.yaml --stack overcloud /home/stack/vip-data-default-network-isolation.yaml | |
(undercloud) [stack@undercloud ~]$ openstack overcloud node provision -o overcloud-baremetal-deployed.yaml --stack overcloud overcloud_baremetal_deploy.yaml | |
### If there is an error with some servers you can undeploy it manually and redeploy all (only the non-deployed are going to be deployed) | |
# To check the status | |
(undercloud) [stack@undercloud ~]$ metalsmith list | |
# To undeploy one server manually | |
(undercloud) [stack@undercloud ~]$ metalsmith undeploy NODEID | |
#Add the file /usr/share/openstack-tripleo-heat-templates/environments/cephadm/cephadm.yaml to the overcloud-deploy.sh script | |
# "-e /usr/share/openstack-tripleo-heat-templates/environments/cephadm/cephadm.yaml" | |
#Execute the overcloud-deploy.sh script | |
(undercloud) [stack@undercloud ~]$ ./overcloud-deploy.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment