failed to deploy overcloud node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi, reporting a failure to deploy a node in tripleo devtest.
The undercloud deployed fine, and was then configured with three nodes and an overcloud was deployed.
To reproduce
-------------------
pull these two reviews into your trees:
tie https:/
t-i https:/
and run the Ironic patch for a custom compute manager:
export DIB_REPOLOCATIO
export DIB_REPOREF_
then run devtest.sh
basic state at the point of failure:
$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| b4f40561-
| ffe075d1-
| ec3114cc-
+------
$ nova show b4f40561-
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | error |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2014-03-
| fault | {"message": "'HTTPInternalS
| | return function(self, context, *args, **kwargs) |
| | File \"/opt/
| | do_run_instance() |
| | File \"/opt/
| | return f(*args, **kwargs) |
| | File \"/opt/
| | legacy_bdm_in_spec) |
| | File \"/opt/
| | notify(\"error\", fault=e) # notify that build failed |
| | File \"/opt/
| | six.reraise(
| | File \"/opt/
| | instance, image_meta, legacy_bdm_in_spec) |
| | File \"/opt/
| | filter_properties, bdms, legacy_bdm_in_spec) |
| | File \"/opt/
| | self._log_
| | File \"/opt/
| | six.reraise(
| | File \"/opt/
| | bdms, requested_networks) |
| | File \"/opt/
| | requested_networks) |
| | File \"/opt/
| | six.reraise(
| | File \"/opt/
| | block_device_info) |
| | File \"/opt/
| | if e.__name__ == 'InstanceDeploy
| | ", "created": "2014-03-
| flavor | baremetal (35ab9ef3-
| hostId | c5a58c1e8e7c4d5
| id | b4f40561-
| image | overcloud-compute (a712ff92-
| key_name | default |
| metadata | {} |
| name | overcloud-
| os-extended-
| status | ERROR |
| tenant_id | 19a41ab4f8b941a
| updated | 2014-03-
| user_id | 61cdc9080f6544a
+------
(undercloud)
$ ironic node-list
+------
| UUID | Instance UUID | Power State | Provisioning State |
+------
| baffaf7c-
| 9fb04171-
| fedb1b9f-
+------
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Ironic API baffaf7c- 7506-47a6- 826b-01d1f126dd db/ports HTTP/1.1" 200 297 vif_port_ id', 'op': 'remove'}]'. Reason: u'vif_port_id' db7222b9- 474d-4b54- ad03-a6c0cf702d a0 HTTP/1.1" 400 187 baffaf7c- 7506-47a6- 826b-01d1f126dd db/ports HTTP/1.1" 200 297 db7222b9- 474d-4b54- ad03-a6c0cf702d a0 HTTP/1.1" 200 466
192.0.2.2 - - [25/Mar/2014 02:20:27] "GET /v1/nodes/
(wsme.api): 2014-03-25 02:20:27,865 WARNING Client-side error: Couldn't apply patch '[{'path': '/extra/
192.0.2.2 - - [25/Mar/2014 02:20:27] "PATCH /v1/ports/
192.0.2.2 - - [25/Mar/2014 02:20:28] "GET /v1/nodes/
192.0.2.2 - - [25/Mar/2014 02:20:28] "PATCH /v1/ports/
(wsme.api): 2014-03-25 02:20:28,883 ERROR Server-side error: "RPC do_node_deploy failed to validate deploy info. Error: Couldn't get the URL of the Ironic API service from the configuration file or keystone catalog.
Traceback (most recent call last):
File "/opt/stack/ venvs/ironic/ local/lib/ python2. 7/site- packages/ ironic/ openstack/ common/ rpc/common. py", line 423, in catch_client_ exception
return func(*args, **kwargs)
File "/opt/stack/ venvs/ironic/ local/lib/ python2. 7/site- packages/ ironic/ conductor/ manager. py", line 393, in do_node_deploy release_ resources( )
task.
File "/opt/stack/ venvs/ironic/ local/lib/ python2. 7/site- packages/ ironic/ openstack/ common/ excutils. py", line 70, in __exit__ reraise( self.type_ , self.value, self.tb)
six.
File "/opt/stack/ venvs/ironic/ local/lib/ python2. 7/site- packages/ ironic/ conductor/ manager. py", line 378, in do_node_deploy
"Error: %(msg)s") % {'msg': e})
InstanceDeployF ailure: RPC do_node_deploy failed to validate deploy info. Error: Couldn't get the URL of the Ironic API service from the configuration file or keystone catalog.
". Detail:
Traceback (most recent call last):
File "/opt/stack/ venvs/ironic/ local/lib/ python2. 7/site- packages/ wsmeext/ pecan.py" , line 77, in callfunction
result = f(self, *args, **kwargs)
File "/opt/stack/ venvs/ironic/ local/lib/ python2. 7/site- packages/ ironic/ api/controllers /v1/node. py", line 231, in provision request. context, node_uuid, topic)
pecan.
File "/opt/stack/ venvs/ironic/ local/lib/ python2. 7/site- packages/ ironic/ conductor/ rpcapi. py", line 185, in do_node_deploy
topic=topic or self.topic)
File "/opt/stack/ venvs/ironic/ local/lib/ python2. 7/site- packages/ ironic/ openstack/ common/ rpc/proxy. py", line 125, in call
result = rpc.call(context, real_topic, msg, timeout)
File "/opt/stack/ venvs/ironic/ local/lib/ python2. 7/site- packages/ ironic/ openstack/ common/ rpc/__init_ _.py", line 112, in call ).call( CONF, context, topic, msg, timeout)
return _get_impl(
File "/opt/stack/ venvs/ironic/ local/lib/ python2. 7/site- packages/ ironic/ openstack/ common/ rpc/impl_ kombu.py" , line 815, in call amqp.get_ connection_ pool(conf, Connection))
rpc_
File "/opt/stack/ venvs/ironic/ local/lib/ python2. 7/site- packages/ ironic/ openstack/ common/ rpc/amqp. py", line 575, in call
rv = list(rv)
File "/opt/stack/ venvs/ironic/ local/lib/ python2. 7/site- packages/ ironic/ openstack/ common/ rpc/amqp. py", line 540, in __iter__
raise result
InstanceDeployF ailure_ Remote: RPC do_node_deploy failed to validate deploy info. Error: Couldn't get the URL of the Ironic API ser...