Ask Your Question
1

Cannot find out the cause why Overcloud deployment fails.

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

btai gravatar image

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

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 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

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

zaneb gravatar image

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 362 times

Last updated: Jan 11