Ask Your Question

Cannot find out the cause why Overcloud deployment fails.

asked 2017-01-09 10:59:23 -0500

btai gravatar image

updated 2017-01-11 06:37:42 -0500

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
and it lacks the hiera hook

Fixed by putting the script from

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 --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

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'', u'rel': u'self'}, {u'href':                 |
|                        | u'', 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 ...
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-01-10 16:48:12 -0500

zaneb gravatar image

updated 2017-01-10 16:50:40 -0500

It looks like the whole thing timed out: [overcloud]: CREATE_FAILED Create timed out, causing everything that was in progress at the time to be aborted. openstack stack show overcloud should confirm this. Try again with a larger timeout than 60 minutes.

edit flag offensive delete link more


Is it somthing like this ? openstack overcloud deploy --templates -e /home/stack/templates/node-info.yaml -e /my/yaml --timeout 90

Praveen N gravatar imagePraveen N ( 2018-05-31 14:19:25 -0500 )edit

Yes, although the update to the question indicates that @btai's original problem was that something was stuck, not that the timeout was too short.

zaneb gravatar imagezaneb ( 2018-06-01 12:41:21 -0500 )edit

Thanks for response Zaneb !

Praveen N gravatar imagePraveen N ( 2018-06-02 12:15:17 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2017-01-09 10:59:23 -0500

Seen: 2,663 times

Last updated: Jan 11 '17