[Openstack] RDO manager use 'instack-deploy-overcloud' deploy overcloud failed

Pan, Fengyun panfy.fnst at cn.fujitsu.com
Thu Apr 30 09:31:20 UTC 2015


Hi All

I have been trying to set instack with RDO manager. I have successfully installed undercloud and moving on to overcloud. Now, when I run "instack-deploy-overcloud", I get the following error:


+ OVERCLOUD_YAML_PATH=overcloud.yaml
+ heat stack-create -f overcloud.yaml -P AdminToken=b003d63242f5db3e1ad4864ae66911e02ba19bcb -P AdminPassword=7bfe4d4a18280752ad07f259a69a3ed00db2ab44 -P CinderPassword=df0893b4355f3511a6d67538dd592d02d1bc11d3 -P GlancePassword=066f65f878157b438a916ccbd44e0b7037ee!
118f -P HeatPassword=58fda0e4d6708e0164167b11fe6fca6ab6b35ec6 -P NeutronPassword=80853ad029feb77bb7c60d035542f21aa5c24177 -P NovaPassword=331474580be53b78e40c91dfdfc2323578a035e7 -P NeutronPublicInterface=eth0 -P SwiftPassword=b0eca57b45ebf3dd5cae071dc3880888fb1d4840 -P SwiftHashSuffix=a8d87f3952d6f91da589fbef801bb92141fd1461 -P NovaComputeLibvirtType=qemu -P 'GlanceLogFile='\'''\''' -P NeutronDnsmasqOptions=dhcp-option-force=26,1400 overcloud
+--------------------------------------+------------+--------------------+----------------------+
| id                                   | stack_name | stack_status       | creation_time        |
+--------------------------------------+------------+--------------------+----------------------+
| 0ca028e7-682b-41ef-8af0-b2eb67bee272 | overcloud  | CREATE_IN_PROGRESS | 2014-07-18T10:50:48Z |
+--------------------------------------+------------+--------------------+----------------------+
+ tripleo wait_for_stack_ready 220 10 overcloud
Command output matched 'CREATE_FAILED'. Exiting...

Now, i understand that the stack isn't being created. So, I tried to check out the state of the stack:

[stack localhost ~]$ heat stack-list
+--------------------------------------+------------+---------------+----------------------+
| id                                   | stack_name | stack_status  | creation_time        |
+--------------------------------------+------------+---------------+----------------------+
| 0ca028e7-682b-41ef-8af0-b2eb67bee272 | overcloud  | CREATE_FAILED | 2014-07-18T10:50:48Z |
+--------------------------------------+------------+---------------+----------------------+
[stack localhost ~]$ heat event-list overcloud
+--------------------------+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------+
| resource_name            | id                                   | resource_status_reason                                                                                                                                     | resource_status    | event_time           |
+--------------------------+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------+
| controller-1-servers     | 921ab4ce-a767-4ad8-8b1f-25da9d77b3e1 | Error: Resource CREATE failed: Error: Resource CREATE failed: ResourceInError: Went to status ERROR due to "Message: No valid host was found. , Code: 500" | CREATE_FAILED      | 2015-04-30T16:18:44Z |
| compute-1-servers        | e41bb96f-fdbb-43f6-8f0c-0f0065bf7f42 | Error: Resource CREATE failed: Error: Resource CREATE failed: ResourceInError: Went to status ERROR due to "Message: No valid host was found. , Code: 500" | CREATE_FAILED      | 2015-04-30T16:18:41Z |
| cinder-storage-1-servers | 647597a5-cd06-4d30-ac63-6e768d8e42ea | state changed                                                                                                                                              | CREATE_COMPLETE    | 2015-04-30T16:17:11Z |
| swift-storage-1-servers  | 0053e55c-d0d2-45b2-ab0a-e3bbda1ad94f | state changed                                                                                                                                              | CREATE_COMPLETE    | 2015-04-30T16:17:10Z |
| swift-storage-1-servers  | 99c0e066-a840-42be-b0df-76694cc5a6ab | state changed                                                                                                                                              | CREATE_IN_PROGRESS | 2015-04-30T16:17:09Z |
| compute-1-servers        | dd32f439-b5e0-4cda-a06f-4bde280ac04e | state changed                                                                                                                                              | CREATE_IN_PROGRESS | 2015-04-30T16:17:07Z |
| controller-1-servers     | d0e08177-a5ec-4876-92d9-a633283275e6 | state changed                                                                                                                                              | CREATE_IN_PROGRESS | 2015-04-30T16:17:05Z |
| cinder-storage-1-servers | 9bf9a673-154a-4c18-8732-ec3ac25b1dd9 | state changed                                                                                                                                              | CREATE_IN_PROGRESS | 2015-04-30T16:17:05Z |
| ControlVirtualIP         | d74eff1c-0c6b-4eab-9d86-f3019cf280df | state changed                                                                                                                                              | CREATE_COMPLETE    | 2015-04-30T16:17:05Z |
| PublicVirtualIP          | 08a1889c-dac2-476d-83ef-c0b2f8551578 | state changed                                                                                                                                              | CREATE_COMPLETE    | 2015-04-30T16:17:05Z |
| MysqlRootPassword        | f8f2cd93-3522-42e6-b0bd-e7558fcd26cb | state changed                                                                                                                                              | CREATE_COMPLETE    | 2015-04-30T16:17:05Z |
| MysqlClusterUniquePart   | eb0ae988-2c16-4a3e-aa8c-d5ad26d01aba | state changed                                                                                                                                              | CREATE_COMPLETE    | 2015-04-30T16:17:05Z |
| RabbitCookie             | d315068a-275d-497f-849a-52c9d3411649 | state changed                                                                                                                                              | CREATE_COMPLETE    | 2015-04-30T16:17:05Z |
| MysqlRootPassword        | 2a71a315-20a4-4ff4-a311-9c6dbb787bf4 | state changed                                                                                                                                              | CREATE_IN_PROGRESS | 2015-04-30T16:17:04Z |
| PublicVirtualIP          | f94bba9f-a419-42e9-8bc2-80e855d19bee | state changed                                                                                                                                              | CREATE_IN_PROGRESS | 2015-04-30T16:17:03Z |
| MysqlClusterUniquePart   | 7c01c344-5235-4a6b-8150-2135fa800efc | state changed                                                                                                                                              | CREATE_IN_PROGRESS | 2015-04-30T16:17:03Z |
| ControlVirtualIP         | 65edea2d-2781-450a-8119-7de032be9a8b | state changed                                                                                                                                              | CREATE_IN_PROGRESS | 2015-04-30T16:17:03Z |
| RabbitCookie             | dc1246e3-9717-4d1d-bfa4-a7a7f6c2403e | state changed                                                                                                                                              | CREATE_IN_PROGRESS | 2015-04-30T16:17:03Z |
+--------------------------+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------+
Here is the heat log:
2014-07-18 06:51:11.884 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default
2014-07-18 06:51:12.921 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default
2014-07-18 06:51:16.058 30750 ERROR heat.engine.resource [-] CREATE : Server "SwiftStorage0" [07e42c3d-0f1b-4bb9-b980-ffbb74ac770d] Stack "overcloud" [0ca028e7-682b-41ef-8af0-b2eb67bee272]
2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource Traceback (most recent call last):
2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 420, in _do_action
2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource     while not check(handle_data):
2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/server.py", line 545, in check_create_complete
2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource     return self._check_active(server)
2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/server.py", line 561, in _check_active
2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource     raise exc
2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource Error: Creation of server overcloud-SwiftStorage0-qdjqbif6peva failed.
2014-07-18 06:51:16.058 30750 TRACE heat.engine.resource
2014-07-18 06:51:16.255 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default
2014-07-18 06:51:16.939 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default
2014-07-18 06:51:17.368 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default
2014-07-18 06:51:17.638 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default
2014-07-18 06:51:18.158 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back to using default
2014-07-18 06:51:18.613 30750 WARNING heat.common.keystoneclient [-] stack_user_domain ID not set in heat.conf falling back ...
Here is the nova log:

2015-04-30 12:18:43.095 13238 WARNING nova.scheduler.driver [req-74ec9ddc-1e1f-4b86-ab63-73486ca1d068 None] [instance: ea97bba2-a0bd-48c6-acdb-3739ffdc5a3b] NoValidHost exception with message: 'No valid host was found.'
2015-04-30 12:18:43.095 13238 WARNING nova.scheduler.driver [req-74ec9ddc-1e1f-4b86-ab63-73486ca1d068 None] [instance: ea97bba2-a0bd-48c6-acdb-3739ffdc5a3b] Setting instance to ERROR state.

Here is the dashboard log:
Deployment failed
Last failed events

    2015-04-30T16:18:44Z
    controller-1-servers | CREATE_FAILED | Error: Resource CREATE failed: Error: Resource CREATE failed: ResourceInError: Went to status ERROR due to "Message: No valid host was found. , Code: 500"
    2015-04-30T16:18:41Z
compute-1-servers | CREATE_FAILED | Error: Resource CREATE failed: Error: Resource CREATE failed: ResourceInError: Went to status ERROR due to "Message: No valid host was found. , Code: 500"

But dashboard can find 2 nodes which use to deploy overcloud. It is bug ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150430/1ebedf7f/attachment.html>


More information about the Openstack mailing list