Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

install ironic in ubuntu

I am trying to provision baremetal with openstack using ironic. I followed http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack (http://docs.openstack.org/developer/i...) for installing ironic.

But when I tried to validate machine through ironic nova-validate, I am getting "Node 705862e7-0fe7-494c-a00e-139d9cd1d706 failed to validate deploy image info".

Please help me on this. For last one months I am struggling on this.

I am using Curl command to deploy:-

Here is some information :

ironic node-validate 705862e7-0fe7-494c-a00e-139d9cd1d706 +------------+--------+--------------------------------------------------------------------------------+ | Interface | Result | Reason | +------------+--------+--------------------------------------------------------------------------------+ | console | False | Missing 'ipmi_terminal_port' parameter in node's driver_info. | | deploy | False | Node 705862e7-0fe7-494c-a00e-139d9cd1d706 failed to validate deploy image info | | management | True | | | power | True | | +------------+--------+--------------------------------------------------------------------------------+

ironic node-list +--------------------------------------+--------------------------------------+-------------+--------------------+-------------+ | UUID | Instance UUID | Power State | Provisioning State | Maintenance | +--------------------------------------+--------------------------------------+-------------+--------------------+-------------+ | 705862e7-0fe7-494c-a00e-139d9cd1d706 | b0b8b802-99b9-4329-b2e7-2d8e4af4ef3a | power off | None | False | +--------------------------------------+--------------------------------------+-------------+--------------------+-------------+

ironic node-show 705862e7-0fe7-494c-a00e-139d9cd1d706 +------------------------+-------------------------------------------------------------------------+ | Property | Value | +------------------------+-------------------------------------------------------------------------+ | instance_uuid | b0b8b802-99b9-4329-b2e7-2d8e4af4ef3a | | target_power_state | None | | properties | {} | | maintenance | False | | driver_info | {u'pxe_deploy_ramdisk': u'559d2744-02e0-45a9-830d-ba894631c1d8', | | | u'pxe_image_source': u'b5015b08-e357-49e1-9eab-2970642f2263', | | | u'pxe_root_gb': u'200', u'ipmi_username': u'USERID', u'pxe_image_name': | | | u'ubuntu-image', u'ipmi_address': u'9.109.190.253', u'ipmi_password': | | | u'PASSW0RD', u'pxe_deploy_kernel': u'b72b35f0-1491-495a- | | | 9bf0-085d1787298a'} | | extra | {} | | last_error | None | | created_at | 2014-12-11T10:31:58+00:00 | | target_provision_state | None | | driver | agent_ipmitool | | updated_at | 2014-12-12T07:16:28+00:00 | | instance_info | {} | | chassis_uuid | | | provision_state | None | | reservation | None | | power_state | power off | | console_enabled | False | | uuid | 705862e7-0fe7-494c-a00e-139d9cd1d706 | +------------------------+-------------------------------------------------------------------------+

glance image-list +--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+ | ID | Name | Disk Format | Container Format | Size | Status | +--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+ | abfd02c5-fa43-4b29-bc38-3c0d6a171817 | cirros-0.3.2-x86_64-uec | ami | ami | 25165824 | active | | da4c466d-b256-4390-b3d7-2be90096a6ff | cirros-0.3.2-x86_64-uec-kernel | aki | aki | 4969360 | active | | 619e7517-f66a-419d-92ce-629d654e80f3 | cirros-0.3.2-x86_64-uec-ramdisk | ari | ari | 3723817 | active | | 43b7fba9-a154-428f-9a5b-52fae5cb1532 | Fedora-x86_64-20-20140618-sda | qcow2 | bare | 211347064 | active | | 559d2744-02e0-45a9-830d-ba894631c1d8 | ubuntu-deploy-initrd | ari | ari | 95222438 | active | | b72b35f0-1491-495a-9bf0-085d1787298a | ubuntu-deploy-vmlinuz | aki | aki | 5814080 | active | | b5015b08-e357-49e1-9eab-2970642f2263 | ubuntu-image | qcow2 | bare | 924581888 | active | | 75a917e8-5566-42ff-afad-95b57fa402e2 | ubuntu-kernel | aki | aki | 5814080 | active | | dd5cd0e9-55fb-48b8-9a82-79f25137b859 | ubuntu-ramdisk | ari | ari | 24670724 | active | +--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+

glance image-show b5015b08-e357-49e1-9eab-2970642f2263 +-----------------------+--------------------------------------+ | Property | Value | +-----------------------+--------------------------------------+ | Property 'kernel_id' | 75a917e8-5566-42ff-afad-95b57fa402e2 | | Property 'ramdisk_id' | dd5cd0e9-55fb-48b8-9a82-79f25137b859 | | checksum | ad6b6097bf81e493484d1b6227f9f128 | | container_format | bare | | created_at | 2014-12-11T10:20:43 | | deleted | False | | disk_format | qcow2 | | id | b5015b08-e357-49e1-9eab-2970642f2263 | | is_public | False | | min_disk | 0 | | min_ram | 0 | | name | ubuntu-image | | owner | cc4e6748c0044ac0812aab1d2ea956be | | protected | False | | size | 924581888 | | status | active | | updated_at | 2014-12-11T10:20:53 |

Thanks in advance!!!

install ironic in ubuntu

I am trying to provision baremetal with openstack using ironic. I followed http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack (http://docs.openstack.org/developer/i...) for installing ironic.

But when I tried to validate machine through ironic nova-validate, I am getting "Node 705862e7-0fe7-494c-a00e-139d9cd1d706 failed to validate deploy image info".

Please help me on this. For last one months I am struggling on this.

I am using Curl command to deploy:-

Here is some information :

ironic node-validate 705862e7-0fe7-494c-a00e-139d9cd1d706
+------------+--------+--------------------------------------------------------------------------------+
| Interface  | Result | Reason                                                                         |
+------------+--------+--------------------------------------------------------------------------------+
| console    | False  | Missing 'ipmi_terminal_port' parameter in node's driver_info.                  |
| deploy     | False  | Node 705862e7-0fe7-494c-a00e-139d9cd1d706 failed to validate deploy image info |
| management | True   |                                                                                |
| power      | True   |                                                                                |
+------------+--------+--------------------------------------------------------------------------------+        

ironic node-list +--------------------------------------+--------------------------------------+-------------+--------------------+-------------+ | UUID | Instance UUID | Power State | Provisioning State | Maintenance | +--------------------------------------+--------------------------------------+-------------+--------------------+-------------+ | 705862e7-0fe7-494c-a00e-139d9cd1d706 | b0b8b802-99b9-4329-b2e7-2d8e4af4ef3a | power off | None | False | +--------------------------------------+--------------------------------------+-------------+--------------------+-------------+

+--------------------------------------+--------------------------------------+-------------+--------------------+-------------+

ironic node-show 705862e7-0fe7-494c-a00e-139d9cd1d706 +------------------------+-------------------------------------------------------------------------+ | Property | Value | +------------------------+-------------------------------------------------------------------------+ | instance_uuid | b0b8b802-99b9-4329-b2e7-2d8e4af4ef3a | | target_power_state | None | | properties | {} | | maintenance | False | | driver_info | {u'pxe_deploy_ramdisk': u'559d2744-02e0-45a9-830d-ba894631c1d8', | | | u'pxe_image_source': u'b5015b08-e357-49e1-9eab-2970642f2263', | | | u'pxe_root_gb': u'200', u'ipmi_username': u'USERID', u'pxe_image_name': | | | u'ubuntu-image', u'ipmi_address': u'9.109.190.253', u'ipmi_password': | | | u'PASSW0RD', u'pxe_deploy_kernel': u'b72b35f0-1491-495a- | | | 9bf0-085d1787298a'} | | extra | {} | | last_error | None | | created_at | 2014-12-11T10:31:58+00:00 | | target_provision_state | None | | driver | agent_ipmitool | | updated_at | 2014-12-12T07:16:28+00:00 | | instance_info | {} | | chassis_uuid | | | provision_state | None | | reservation | None | | power_state | power off | | console_enabled | False | | uuid | 705862e7-0fe7-494c-a00e-139d9cd1d706 | +------------------------+-------------------------------------------------------------------------+

+------------------------+-------------------------------------------------------------------------+

glance image-list +--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+ | ID | Name | Disk Format | Container Format | Size | Status | +--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+ | abfd02c5-fa43-4b29-bc38-3c0d6a171817 | cirros-0.3.2-x86_64-uec | ami | ami | 25165824 | active | | da4c466d-b256-4390-b3d7-2be90096a6ff | cirros-0.3.2-x86_64-uec-kernel | aki | aki | 4969360 | active | | 619e7517-f66a-419d-92ce-629d654e80f3 | cirros-0.3.2-x86_64-uec-ramdisk | ari | ari | 3723817 | active | | 43b7fba9-a154-428f-9a5b-52fae5cb1532 | Fedora-x86_64-20-20140618-sda | qcow2 | bare | 211347064 | active | | 559d2744-02e0-45a9-830d-ba894631c1d8 | ubuntu-deploy-initrd | ari | ari | 95222438 | active | | b72b35f0-1491-495a-9bf0-085d1787298a | ubuntu-deploy-vmlinuz | aki | aki | 5814080 | active | | b5015b08-e357-49e1-9eab-2970642f2263 | ubuntu-image | qcow2 | bare | 924581888 | active | | 75a917e8-5566-42ff-afad-95b57fa402e2 | ubuntu-kernel | aki | aki | 5814080 | active | | dd5cd0e9-55fb-48b8-9a82-79f25137b859 | ubuntu-ramdisk | ari | ari | 24670724 | active | +--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+

+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+

glance image-show b5015b08-e357-49e1-9eab-2970642f2263 +-----------------------+--------------------------------------+ | Property | Value | +-----------------------+--------------------------------------+ | Property 'kernel_id' | 75a917e8-5566-42ff-afad-95b57fa402e2 | | Property 'ramdisk_id' | dd5cd0e9-55fb-48b8-9a82-79f25137b859 | | checksum | ad6b6097bf81e493484d1b6227f9f128 | | container_format | bare | | created_at | 2014-12-11T10:20:43 | | deleted | False | | disk_format | qcow2 | | id | b5015b08-e357-49e1-9eab-2970642f2263 | | is_public | False | | min_disk | 0 | | min_ram | 0 | | name | ubuntu-image | | owner | cc4e6748c0044ac0812aab1d2ea956be | | protected | False | | size | 924581888 | | status | active | | updated_at | 2014-12-11T10:20:53 |

Thanks in advance!!!

|