Ask Your Question
0

TripleO Overcloud installation failed

asked 2018-12-28 03:43:25 -0600

asrmarco13 gravatar image

Hello, I use TripleO (Rocky version) to deploy 2 baremetal nodes. I followed the instructions as per https://docs.openstack.org/tripleo-docs/latest/install/basic_deployment/basic_deployment_cli.html (https://docs.openstack.org/tripleo-do...) The heat stack-list shows CREATE_FAILED.

openstack stack list -c 'Stack Name' -c 'Stack Status'         

| Stack Name | Stack Status  |
| overcloud  | CREATE_FAILED |

Controller e Compute node creation fails

openstack stack resource list overcloud -c resource_name -c resource_status | grep 'CREATE_FAILED'

| Controller                                | CREATE_FAILED   |
| Compute                                   | CREATE_FAILED   |

The status reason for Controller and Compute reported the following message: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance fc185e0f-c5ef-433d-a234-8b8a5f6daeb1., Code: 500

openstack stack resource show overcloud Controller
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                  | Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| attributes             | {u'attributes': None, u'refs': None, u'refs_map': None, u'removed_rsrc_list': []}                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| creation_time          | 2018-12-27T18:11:55Z                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| description            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| links                  | [{u'href': u'http://192.168.51.28:8004/v1/8f6ef97fe47149fbbd37c9ab8fb3b22e/stacks/overcloud/f85239bb-671f-4e5f-b15c-2475e48b2205/resources/Controller', u'rel': u'self'}, {u'href': u'http://192.168.51.28:8004/v1/8f6ef97fe47149fbbd37c9ab8fb3b22e/stacks/overcloud/f85239bb-671f-4e5f-b15c-2475e48b2205', u'rel': u'stack'}, {u'href': u'http://192.168.51.28:8004/v1/8f6ef97fe47149fbbd37c9ab8fb3b22e/stacks/overcloud-Controller-jinynqgg5ksd/545e4c39-888b-43ae-8375-6eedb6c6ae5a', u'rel': u'nested'}]                                 |
| logical_resource_id    | Controller                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| physical_resource_id   | 545e4c39-888b-43ae-8375-6eedb6c6ae5a                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| required_by            | [u'allNodesConfig', u'SshKnownHostsHostnames', u'BlockStorageAllNodesValidationConfig', u'ControllerAllNodesDeployment', u'SshKnownHostsConfig', u'ServerOsCollectConfigData', u'BlacklistedHostnames', u'ControllerIpListMap', u'DeployedServerEnvironment', u'ControllerAllNodesValidationConfig', u'hostsConfig', u'ControllerServers', u'ServerIdMap', u'CephStorageAllNodesValidationConfig', u'BlacklistedIpAddresses', u'ComputeAllNodesValidationConfig', u'ControllerNetworkHostnameMap', u'ObjectStorageAllNodesValidationConfig'] |
| resource_name          | Controller                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| resource_status        | CREATE_FAILED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| resource_status_reason | resources.Controller: Resource CREATE failed: ResourceInError: resources[0].resources.Controller: Went to status ERROR due to "Message: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance fc185e0f-c5ef-433d-a234-8b8a5f6daeb1., Code: 500"                                                                                                                                                                                                                                         |
| resource_type          | OS::Heat::ResourceGroup                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| updated_time           | 2018-12-27T18:11:55Z                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Compute resource

openstack stack resource show overcloud Compute
+------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                  | Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
+------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| attributes             | {u'attributes': None, u'refs': None, u'refs_map': None, u'removed_rsrc_list': []}                                                                                                                                                                                                                                                                                                                                                                                                                      |
| creation_time          | 2018-12-27T18:11:55Z                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| description            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| links                  | [{u'href': u'http://192.168.51.28:8004/v1/8f6ef97fe47149fbbd37c9ab8fb3b22e/stacks/overcloud/f85239bb-671f-4e5f-b15c-2475e48b2205/resources/Compute', u'rel': u'self'}, {u'href': u'http://192.168.51.28:8004/v1/8f6ef97fe47149fbbd37c9ab8fb3b22e/stacks/overcloud/f85239bb-671f-4e5f-b15c-2475e48b2205', u'rel': u'stack'}, {u'href': u'http://192.168.51.28:8004/v1/8f6ef97fe47149fbbd37c9ab8fb3b22e/stacks/overcloud-Compute-33mhizavm4gp/be8a7ff2-798f-4204-b833-411c525e67e6', u'rel': u'nested'}] |
| logical_resource_id    | Compute                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| physical_resource_id   | be8a7ff2-798f-4204-b833-411c525e67e6                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| required_by            | [u'DeployedServerEnvironment', u'SshKnownHostsConfig', u'ComputeIpListMap', u'ComputeNetworkHostnameMap', u'allNodesConfig', u'BlacklistedHostnames', u'BlacklistedIpAddresses', u'ComputeServers', u'SshKnownHostsHostnames', u'ServerOsCollectConfigData', u'ServerIdMap', u'ComputeAllNodesDeployment', u'hostsConfig']                                                                                                                                                                             |
| resource_name          | Compute                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| resource_status        | CREATE_FAILED                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| resource_status_reason | resources.Compute: Resource CREATE failed: ResourceInError: resources[0].resources.NovaCompute: Went to status ERROR due to "Message: Exceeded maximum number of retries. Exceeded max scheduling attempts 2 for instance d7313939-6465-4018-9cde-f06dbec6dde6. Last exception: Failed to provision instance d7313939-6465-4018-9cde-f06dbec6dde6: Timeout reached while waiting for callback for nod, Code: 500"                                                                                      |
| resource_type          | OS::Heat::ResourceGroup                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| updated_time           | 2018-12-27T18:11:55Z                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
+------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

The PXE credentials are correct but the overcloud creation fails. Following the heat and nova log. Heat log

2018-12-27 22:10:53.968 39 DEBUG novaclient.v2.client [req-fe975a84-0ecb-4513-840a-32c277b7d644 - admin - default default] RESP BODY: {"server": {"OS-EXT-STS:task_state": null, "addresses": {}, "links": [{"href": "http://192.168.51.28:8774/v2.1/servers/7a2b0efd-7ff5-4067-8338-c75d479c0c9b", "rel ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-01-05 08:12:08 -0600

amkgi gravatar image

updated 2019-01-05 14:14:02 -0600

I had this problem. My overcloud has compute on bare metal and a controller on a VM. Failed to deploy the controller. I added some resources to the CPU, RAM and HDD, and the problem disappeared. Maybe you have too small resources on your bare metal nodes too. Take a look "openstack flavor list".

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

1 follower

Stats

Asked: 2018-12-28 03:43:25 -0600

Seen: 35 times

Last updated: Jan 05