Cannot find out the cause why Overcloud deployment fails.
UPDATE: I have tried to anwer my own question but for some reason, i get redirected to not error page that lead me to faq page which is not heplful at all.
The reason to this was the install halted and waited for timeout to happen as one of the task of heat was never completed , recently a hiera hook was introduced which take care if generated json heat-config via key called group heat, as
"creation_time": "2017-01-10T18:52:12Z",
"group": "hiera",
"id": "3a4b948e-3371-454d-a7be-4f0ff3f28776",
"inputs": [
I have used overcloud image from
http://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/newton/delorean/
and it lacks the hiera hook
Fixed by putting the script from
https://raw.githubusercontent.com/openstack/heat-templates/master/hot/software-config/elements/heat-config-hiera/install.d/hook-hiera.py
on /usr/libexec/heat-config/hooks/hiera and then the installation moves on
Tried to deploy the over cloud ( 1 controller and 1 compute) via below command
openstack overcloud deploy --ntp-server pool.ntp.org --templates ~/the-cloud/ -e ~/the-cloud/environments/network-isolation.yaml -e ~/the-cloud/environments/net-single-nic-with-vlans.yaml -e ~/the-cloud/environments/network-environment.yaml --timeout 60
The deployment fails by bailing out like this
2017-01-09 14:42:42Z [overcloud.Controller.0.UpdateDeployment]: SIGNAL_IN_PROGRESS Signal: deployment 6c7af51e-febf-421a-bd55-e7e585ac1256 succeeded
2017-01-09 14:42:43Z [overcloud.Controller.0.UpdateDeployment]: CREATE_COMPLETE state changed
2017-01-09 14:42:44Z [overcloud.Compute.0.NovaComputeUpgradeInitDeployment]: SIGNAL_IN_PROGRESS Signal: deployment 7e85d9ff-1c94-46ba-8df7-6e8ca1d0346d succeeded
2017-01-09 14:42:44Z [overcloud.Compute.0.NovaComputeUpgradeInitDeployment]: CREATE_COMPLETE state changed
2017-01-09 14:42:44Z [overcloud.Compute.0.NovaComputeDeployment]: CREATE_IN_PROGRESS state changed
2017-01-09 14:42:55Z [overcloud.Controller.0.ControllerUpgradeInitDeployment]: SIGNAL_IN_PROGRESS Signal: deployment f3b01778-c9ea-4e5b-97e4-057ecdc06f93 succeeded
2017-01-09 14:42:55Z [overcloud.Controller.0.ControllerUpgradeInitDeployment]: CREATE_COMPLETE state changed
2017-01-09 14:42:55Z [overcloud.Controller.0.ControllerDeployment]: CREATE_IN_PROGRESS state changed
2017-01-09 15:18:33Z [overcloud.Compute]: CREATE_FAILED CREATE aborted
2017-01-09 15:18:34Z [overcloud.Controller]: CREATE_FAILED CREATE aborted
2017-01-09 15:18:34Z [overcloud]: CREATE_FAILED Create timed out
2017-01-09 15:18:34Z [overcloud.Compute.0]: CREATE_FAILED CREATE aborted
2017-01-09 15:18:35Z [overcloud.Compute]: CREATE_FAILED Resource CREATE failed: Operation cancelled
2017-01-09 15:18:35Z [overcloud.Controller.0]: CREATE_FAILED CREATE aborted
2017-01-09 15:18:35Z [overcloud.Controller]: CREATE_FAILED Resource CREATE failed: Operation cancelled
I have tried to dig around to find the cause for the failure following this http://hardysteven.blogspot.no/2015/04/debugging-tripleo-heat-templates.html
After moving through the nested stack to deploy both compute and control I see this
openstack stack resource show 2e80800f-b7a0-417d-a53e-e19751ca785d ControllerDeployment
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| attributes | {u'deploy_stdout': None, u'deploy_stderr': None, u'deploy_status_code': None} |
| creation_time | 2017-01-09T14:20:01Z |
| description | |
| links | [{u'href': u'http://192.168.24.1:8004/v1/0907fde9d36c4d3d9b70a3c751d7a4a6/stacks/overcloud-Controller-bmh6jsp7gszg-0-a6hmr7sya442/2e80800f-b7a0-417d-a53e-e19751ca785d/resources/ControllerDeployment', u'rel': u'self'}, {u'href': |
| | u'http://192.168.24.1:8004/v1/0907fde9d36c4d3d9b70a3c751d7a4a6/stacks/overcloud-Controller-bmh6jsp7gszg-0-a6hmr7sya442/2e80800f-b7a0-417d-a53e-e19751ca785d', u'rel': u'stack'}] |
| logical_resource_id | ControllerDeployment |
| parent_resource | 0 |
| physical_resource_id | fc4a1b61-5613-4796-b5fc-d6278a1230e3 |
| required_by | [u'ControllerExtraConfigPre'] |
| resource_name | ControllerDeployment |
| resource_status | CREATE_FAILED |
| resource_status_reason | CREATE aborted |
| resource_type | OS::TripleO::SoftwareDeployment |
| updated_time | 2017-01-09T14:20:01Z |
+------------------------+--------------------------------------------------------------------------------------------------------------------------------
heat deployment-show fc4a1b61-5613-4796-b5fc-d6278a1230e3
WARNING (shell) "heat deployment-show" is deprecated, please use "openstack software deployment show" instead
{
"status": "IN_PROGRESS",
"server_id": "22236c23-cdb8-4809-a133-03a88c4278e7",
"config_id": "272b1129-c9ec-4d83-8b17-5e7897438b4a",
"output_values ...