Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Now ironic node validate is complated..

+------------+--------+--------+ | Interface | Result | Reason | +------------+--------+--------+ | console | True | | | deploy | True | | | management | True | | | power | True | |

However while deploying using curl command, i am getting below error could you please help me on this.

curl -i -X PUT -H "X-Auth-Token: $TOKEN" -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' -d '{"target": "active"}' http://9.109.190.248:6385/v1/nodes/$NODE/states/provision HTTP/1.0 401 Unauthorized Date: Tue, 16 Dec 2014 07:10:49 GMT Server: WSGIServer/0.1 Python/2.7.6 WWW-Authenticate: Keystone uri='http://9.109.190.248:5000/v2.0' Content-type: text/plain Content-Length: 23

ironic node-show $NODE +------------------------+--------------------------------------------------------------------------+ | Property | Value | +------------------------+--------------------------------------------------------------------------+ | instance_uuid | None | | target_power_state | None | | properties | {u'memory_mb': u'10240', u'cpu_arch': u'x86_64', u'local_gb': u'200', | | | u'cpus': u'4', u'capabilities': u'boot_mode:uefi'} | | maintenance | False | | driver_info | {u'pxe_deploy_ramdisk': u'4abd4d6d-209a-4d6d-8817-9c5721f6b625', | | | u'ipmi_terminal_port': u'3900', u'ipmi_username': u'USERID', | | | u'ipmi_address': u'9.109.190.253', u'ipmi_password': u'PASSW0RD', | | | u'pxe_deploy_kernel': u'a39f8f50-0489-4708-a6a9-506f90c5c196'} | | extra | {} | | last_error | Failed to deploy. Error: Failed to get IP address for any port on node | | | 47a915de-2d98-498d-803c-228b562536b0. | | created_at | 2014-12-16T05:53:42+00:00 | | target_provision_state | None | | driver | pxe_ipmitool | | updated_at | 2014-12-16T07:10:57+00:00 | | instance_info | {u'ramdisk': u'be817a6d-edec-4f8b-b677-788837149f50', u'kernel': | | | u'0eccf0a8-d1c5-47d7-9d2a-9ebab5fef6d2', u'root_gb': u'100', | | | u'image_source': u'35ea1b88-7a17-4887-9d24-43a5b1a5f3c0', u'deploy_key': | | | u'JSJTZFIO3LDVT883LG61X9DUBPB7PLH8'} | | chassis_uuid | | | provision_state | deploy failed | | reservation | None | | power_state | power off | | console_enabled | False | | uuid | 47a915de-2d98-498d-803c-228b562536b0 | +------------------------+--------------------------------------------------------------------------+