Run the pre-validations before the overcloud deploy
If you want to run the pre-deploy validations manually, you can do so using
openstack workflow execution create tripleo.validations.v1.run_groups '{"group_names": ["pre-deployment"]}'
--
Please note that as we are going to have the overcloud deployment to have the 3 control nodes in HA, the --ntp-server must be given. Please note that you can also run the below with the --dry-run
openstack overcloud deploy --libvirt-type qemu \
--control-flavor control --control-scale 2 \
--ceph-storage-flavor ceph-storage --ceph-storage-scale 3 \
--compute-flavor compute --compute-scale 1 \
--stack overcloud \
--ntp-server 50.22.155.163 \
--templates /usr/share/openstack-tripleo-heat-templates \
-e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/puppet-ceph.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-environment.yaml \
-e /home/stack/tripleoenvironments/environment.yaml \
--roles-file /home/stack/tripleoenvironments/roles_data.yaml \
--no-proxy "127.0.0.1,::1,192.168.24.201,172.16.0.1,192.168.128.177,pike.sujitnet11.net,.sujitnet11.net"
NOTE: there had been errors during the overcloud install related to the GNOCCHI and CEILOMETER components on the overcloud servers. Hence, for now to complete the installation I had excluded these services from the /usr/share/openstack-tripleo-heat-templates/roles_data.yaml.
--
OUTPUT TRUNCATED
..
..
.
.
2018-04-03 15:34:46Z [overcloud.AllNodesDeploySteps.CephStoragePostConfig]: CREATE_COMPLETE state changed
2018-04-03 15:34:46Z [overcloud.AllNodesDeploySteps.ObjectStoragePostConfig]: CREATE_COMPLETE state changed
2018-04-03 15:34:46Z [overcloud.AllNodesDeploySteps.BlockStoragePostConfig]: CREATE_COMPLETE state changed
2018-04-03 15:34:46Z [overcloud.AllNodesDeploySteps.ComputePostConfig]: CREATE_COMPLETE state changed
2018-04-03 15:35:16Z [overcloud.AllNodesDeploySteps.ControllerPostConfig.ControllerPostPuppetMaintenanceModeDeployment]: CREATE_COMPLETE state changed
2018-04-03 15:35:16Z [overcloud.AllNodesDeploySteps.ControllerPostConfig.ControllerPostPuppetRestart]: CREATE_IN_PROGRESS state changed
2018-04-03 15:35:52Z [overcloud.AllNodesDeploySteps.ControllerPostConfig.ControllerPostPuppetRestart]: CREATE_COMPLETE state changed
2018-04-03 15:35:52Z [overcloud.AllNodesDeploySteps.ControllerPostConfig]: CREATE_COMPLETE Stack CREATE completed successfully
2018-04-03 15:35:52Z [overcloud.AllNodesDeploySteps.ControllerPostConfig]: CREATE_COMPLETE state changed
2018-04-03 15:35:52Z [overcloud.AllNodesDeploySteps]: CREATE_COMPLETE Stack CREATE completed successfully
2018-04-03 15:35:53Z [overcloud.AllNodesDeploySteps]: CREATE_COMPLETE state changed
2018-04-03 15:35:53Z [overcloud]: CREATE_COMPLETE Stack CREATE completed successfully
Stack overcloud CREATE_COMPLETE
Host 172.16.201.21 not found in /home/stack/.ssh/known_hosts
Overcloud Endpoint: http://172.16.201.21:5000/v2.0
Overcloud Deployed
(undercloud) [stack@pike ~]$
(undercloud) [stack@pike ~]$
--
Basic confirmations that the overcloud has been deployed
(undercloud) [stack@pike ~]$ openstack baremetal node list
+--------------------------------------+-----------------+--------------------------------------+-------------+--------------------+-------------+
| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+-----------------+--------------------------------------+-------------+--------------------+-------------+
| ee2484bb-02a9-4380-9e87-39aeba537b77 | overcloud-node1 | 29cd628e-dab0-4604-ae86-244532d8d4a8 | power on | active | False |
| 6b1cc13d-6da2-487a-92ba-744881acace1 | overcloud-node2 | 74813a4e-a05e-46e1-b37d-9b282c710b21 | power on | active | False |
| fee38738-60ba-4db4-a84e-158ff3c65a4b | overcloud-node3 | None | power off | available | False |
| 64a367fe-03db-4780-a3b9-352665fd95d7 | overcloud-node4 | None | power off | available | False |
| 5e734b8a-3b21-43f9-841f-60f1cb3c4af1 | overcloud-node5 | None | power off | available | False |
| d2d31668-060b-4642-8c5c-298ddebbf4c1 | overcloud-node6 | 21bb7cff-9022-4a28-a6b9-c31e3152944d | power on | active | False |
| fbd40010-c851-4df4-93a9-5f39c5c0921a | overcloud-node7 | 3099e7c7-f78e-40b7-985b-b6a386f6d610 | power on | active | False |
| 303a53b2-79ca-40b8-b0a1-49a0cabfc14f | overcloud-node8 | 5050f803-13d5-4824-87bb-0a8bb51d467b | power on | active | False |
| c3c63a3b-c596-48c9-bfd8-e3c7115a226d | overcloud-node9 | fade8e00-cc0f-4b58-b492-85c7bc3a39f7 | power on | active | False |
+--------------------------------------+-----------------+--------------------------------------+-------------+--------------------+-------------+
(undercloud) [stack@pike ~]$
As the overcloud is in progress the baremetal servers get an instance ID and the state changes to deploying
(undercloud) [stack@pike ~]$ openstack server list
+--------------------------------------+-------------------------+--------+------------------------+----------------+--------------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+-------------------------+--------+------------------------+----------------+--------------+
| 29cd628e-dab0-4604-ae86-244532d8d4a8 | overcloud-controller-0 | ACTIVE | ctlplane=172.16.201.16 | overcloud-full | control |
| 3099e7c7-f78e-40b7-985b-b6a386f6d610 | overcloud-cephstorage-2 | ACTIVE | ctlplane=172.16.201.14 | overcloud-full | ceph-storage |
| 74813a4e-a05e-46e1-b37d-9b282c710b21 | overcloud-controller-1 | ACTIVE | ctlplane=172.16.201.26 | overcloud-full | control |
| 21bb7cff-9022-4a28-a6b9-c31e3152944d | overcloud-novacompute-0 | ACTIVE | ctlplane=172.16.201.15 | overcloud-full | compute |
| 5050f803-13d5-4824-87bb-0a8bb51d467b | overcloud-cephstorage-0 | ACTIVE | ctlplane=172.16.201.13 | overcloud-full | ceph-storage |
| fade8e00-cc0f-4b58-b492-85c7bc3a39f7 | overcloud-cephstorage-1 | ACTIVE | ctlplane=172.16.201.23 | overcloud-full | ceph-storage |
+--------------------------------------+-------------------------+--------+------------------------+----------------+--------------+
(undercloud) [stack@pike ~]$
Please note that the overcloud deploy creates 2 user environment profile files 'overcloudrc' and 'overcloudrc.v3' that can be sourced to connect to and run the openstack commands on the overcloud.
No comments:
Post a Comment