Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ironic.dhcp.neutron [-] No VIFs found for node when attempting to get port IP address.

I am trying to provision baremetal with openstack using ironic. I followed http://docs.openstack.org/developer/i... ( http://docs.openstack.org/developer/i... ) for installing ironic.

But when I tried to deploy a baremetal via curl and nova boot command, i am getting below error :

WARNING ironic.dhcp.neutron [-] No VIFs found for node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 when attempting to get port IP address.

WARNING ironic.dhcp.neutron [-] Some errors were encountered on node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 while retrieving IP address on the following ports: [u'61e477d2-30ba-46c8-bd41-09e20ee3f67f

WARNING ironic.conductor.manager [-] Error in deploy of node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37: Failed to get IP address for any port on node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37.

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

I am using Curl and nova boot command to deploy:-

Here is some information :

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 | +-----------------------+--------------------------------------+

ironic node-show $NODE +------------------------+-----------------------------------------------------------------------+ | Property | Value | +------------------------+-----------------------------------------------------------------------+ | instance_uuid | None | | target_power_state | None | | properties | {u'memory_mb': u'15240', 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'559d2744-02e0-45a9-830d-ba894631c1d8', | | | 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'b72b35f0-1491-495a-9bf0-085d1787298a'} | | extra | {} | | last_error | None | | created_at | 2014-12-18T17:47:09+00:00 | | target_provision_state | None | | driver | pxe_ipmitool | | updated_at | 2014-12-18T17:48:50+00:00 | | instance_info | {u'root_gb': u'80', u'image_source': u'b5015b08-e357-49e1-9eab- | | | 2970642f2263'} | | chassis_uuid | | | provision_state | None | | reservation | None | | power_state | power off | | console_enabled | False | | uuid | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | +------------------------+-----------------------------------------------------------------------+

ironic node-validate $NODE +------------+--------+--------+ | Interface | Result | Reason | +------------+--------+--------+ | console | True | | | deploy | True | | | management | True | | | power | True | | +------------+--------+--------+

ironic port-create -n $NODE -a "fa:16:3e:f7:c3:54" +-----------+--------------------------------------+ | Property | Value | +-----------+--------------------------------------+ | node_uuid | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | | extra | {} | | uuid | 61e477d2-30ba-46c8-bd41-09e20ee3f67f | | address | fa:16:3e:f7:c3:54 | +-----------+--------------------------------------+

ironic --debug node-list DEBUG (v2:77) Making authentication request to http://9.109.190.248:5000/v2.0/tokens INFO (connectionpool:258) Starting new HTTP connection (1): 9.109.190.248 DEBUG (connectionpool:375) Setting read timeout to None DEBUG (connectionpool:415) "POST /v2.0/tokens HTTP/1.1" 200 4528 DEBUG (iso8601:184) Parsed 2014-12-18T18:50:44Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'18', 'daydash': u'18', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'44', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'monthdash': u'12', 'day': None, 'minute': u'50'} with default timezone <iso8601.iso8601.utc object="" at="" 0x7f3aeee30690=""> DEBUG (iso8601:140) Got u'2014' for 'year' with default None DEBUG (iso8601:140) Got u'12' for 'monthdash' with default 1 DEBUG (iso8601:140) Got 12 for 'month' with default 12 DEBUG (iso8601:140) Got u'18' for 'daydash' with default 1 DEBUG (iso8601:140) Got 18 for 'day' with default 18 DEBUG (iso8601:140) Got u'18' for 'hour' with default None DEBUG (iso8601:140) Got u'50' for 'minute' with default None DEBUG (iso8601:140) Got u'44' for 'second' with default None DEBUG (http:104) curl -i -X GET -H 'X-Auth-Token: 8d887d4cb2fb4c34a05aa278a4855112' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' http://9.109.190.248:6385/v1/nodes DEBUG (http:114) HTTP/1.0 200 OK date: Thu, 18 Dec 2014 17:50:44 GMT content-length: 371 content-type: application/json; charset=UTF-8 server: WSGIServer/0.1 Python/2.7.6

{"nodes": [{"instance_uuid": null, "uuid": "79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "links": [{"href": "http://9.109.190.248:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "rel": "self"}, {"href": "http://9.109.190.248:6385/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "rel": "bookmark"}], "maintenance": false, "provision_state": null, "power_state": "power off"}]}

+--------------------------------------+---------------+-------------+--------------------+-------------+ | UUID | Instance UUID | Power State | Provisioning State | Maintenance | +--------------------------------------+---------------+-------------+--------------------+-------------+ | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | None | power off | None | False | +--------------------------------------+---------------+-------------+--------------------+-------------+

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 202 Accepted Date: Thu, 18 Dec 2014 17:51:48 GMT Server: WSGIServer/0.1 Python/2.7.6 Content-Length: 0 Location: http://9.109.190.248:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37/states

ironic node-show $NODE +------------------------+--------------------------------------------------------------------------+ | Property | Value | +------------------------+--------------------------------------------------------------------------+ | instance_uuid | None | | target_power_state | None | | properties | {u'memory_mb': u'15240', 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'559d2744-02e0-45a9-830d-ba894631c1d8', | | | 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'b72b35f0-1491-495a-9bf0-085d1787298a'} | | extra | {} | | last_error | Failed to deploy. Error: Failed to get IP address for any port on node | | | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37. | | created_at | 2014-12-18T17:47:09+00:00 | | target_provision_state | None | | driver | pxe_ipmitool | | updated_at | 2014-12-18T17:51:52+00:00 | | instance_info | {u'ramdisk': u'dd5cd0e9-55fb-48b8-9a82-79f25137b859', u'kernel': | | | u'75a917e8-5566-42ff-afad-95b57fa402e2', u'root_gb': u'80', | | | u'image_source': u'b5015b08-e357-49e1-9eab-2970642f2263', u'deploy_key': | | | u'EYMMOI8P59UVXOY2BLUAQBRF7JVQJQHY'} | | chassis_uuid | | | provision_state | deploy failed | | reservation | None | | power_state | power off | | console_enabled | False | | uuid | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | +------------------------+--------------------------------------------------------------------------+

Please help me on this

ironic.dhcp.neutron [-] No VIFs found for node when attempting to get port IP address.

I am trying to provision baremetal with openstack using ironic. I followed http://docs.openstack.org/developer/i... ( http://docs.openstack.org/developer/i... ) for installing ironic.

But when I tried to deploy a baremetal via curl and nova boot command, i am getting below error :

WARNING ironic.dhcp.neutron [-] No VIFs found for node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 when attempting to get port IP address.

WARNING ironic.dhcp.neutron [-] Some errors were encountered on node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 while retrieving IP address on the following ports: [u'61e477d2-30ba-46c8-bd41-09e20ee3f67f

WARNING ironic.conductor.manager [-] Error in deploy of node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37: Failed to get IP address for any port on node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37.

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

I am using Curl and nova boot command to deploy:-

Here is some information :

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 | +-----------------------+--------------------------------------+

ironic node-show $NODE +------------------------+-----------------------------------------------------------------------+ | Property | Value | +------------------------+-----------------------------------------------------------------------+ | instance_uuid | None | | target_power_state | None | | properties | {u'memory_mb': u'15240', 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'559d2744-02e0-45a9-830d-ba894631c1d8', | | | 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'b72b35f0-1491-495a-9bf0-085d1787298a'} | | extra | {} | | last_error | None | | created_at | 2014-12-18T17:47:09+00:00 | | target_provision_state | None | | driver | pxe_ipmitool | | updated_at | 2014-12-18T17:48:50+00:00 | | instance_info | {u'root_gb': u'80', u'image_source': u'b5015b08-e357-49e1-9eab- | | | 2970642f2263'} | | chassis_uuid | | | provision_state | None | | reservation | None | | power_state | power off | | console_enabled | False | | uuid | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | +------------------------+-----------------------------------------------------------------------+

ironic node-validate $NODE +------------+--------+--------+ | Interface | Result | Reason | +------------+--------+--------+ | console | True | | | deploy | True | | | management | True | | | power | True | | +------------+--------+--------+

ironic port-create -n $NODE -a "fa:16:3e:f7:c3:54" +-----------+--------------------------------------+ | Property | Value | +-----------+--------------------------------------+ | node_uuid | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | | extra | {} | | uuid | 61e477d2-30ba-46c8-bd41-09e20ee3f67f | | address | fa:16:3e:f7:c3:54 | +-----------+--------------------------------------+

ironic --debug node-list DEBUG (v2:77) Making authentication request to http://9.109.190.248:5000/v2.0/tokens INFO (connectionpool:258) Starting new HTTP connection (1): 9.109.190.248 DEBUG (connectionpool:375) Setting read timeout to None DEBUG (connectionpool:415) "POST /v2.0/tokens HTTP/1.1" 200 4528 DEBUG (iso8601:184) Parsed 2014-12-18T18:50:44Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'18', 'daydash': u'18', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'44', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'monthdash': u'12', 'day': None, 'minute': u'50'} with default timezone <iso8601.iso8601.utc object="" at="" 0x7f3aeee30690=""> DEBUG (iso8601:140) Got u'2014' for 'year' with default None DEBUG (iso8601:140) Got u'12' for 'monthdash' with default 1 DEBUG (iso8601:140) Got 12 for 'month' with default 12 DEBUG (iso8601:140) Got u'18' for 'daydash' with default 1 DEBUG (iso8601:140) Got 18 for 'day' with default 18 DEBUG (iso8601:140) Got u'18' for 'hour' with default None DEBUG (iso8601:140) Got u'50' for 'minute' with default None DEBUG (iso8601:140) Got u'44' for 'second' with default None DEBUG (http:104) curl -i -X GET -H 'X-Auth-Token: 8d887d4cb2fb4c34a05aa278a4855112' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' http://9.109.190.248:6385/v1/nodes DEBUG (http:114) HTTP/1.0 200 OK date: Thu, 18 Dec 2014 17:50:44 GMT content-length: 371 content-type: application/json; charset=UTF-8 server: WSGIServer/0.1 Python/2.7.6

{"nodes": [{"instance_uuid": null, "uuid": "79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "links": [{"href": "http://9.109.190.248:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "rel": "self"}, {"href": "http://9.109.190.248:6385/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "rel": "bookmark"}], "maintenance": false, "provision_state": null, "power_state": "power off"}]}

+--------------------------------------+---------------+-------------+--------------------+-------------+ | UUID | Instance UUID | Power State | Provisioning State | Maintenance | +--------------------------------------+---------------+-------------+--------------------+-------------+ | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | None | power off | None | False | +--------------------------------------+---------------+-------------+--------------------+-------------+

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 202 Accepted Date: Thu, 18 Dec 2014 17:51:48 GMT Server: WSGIServer/0.1 Python/2.7.6 Content-Length: 0 Location: http://9.109.190.248:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37/states

ironic node-show $NODE +------------------------+--------------------------------------------------------------------------+ | Property | Value | +------------------------+--------------------------------------------------------------------------+ | instance_uuid | None | | target_power_state | None | | properties | {u'memory_mb': u'15240', 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'559d2744-02e0-45a9-830d-ba894631c1d8', | | | 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'b72b35f0-1491-495a-9bf0-085d1787298a'} | | extra | {} | | last_error | Failed to deploy. Error: Failed to get IP address for any port on node | | | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37. | | created_at | 2014-12-18T17:47:09+00:00 | | target_provision_state | None | | driver | pxe_ipmitool | | updated_at | 2014-12-18T17:51:52+00:00 | | instance_info | {u'ramdisk': u'dd5cd0e9-55fb-48b8-9a82-79f25137b859', u'kernel': | | | u'75a917e8-5566-42ff-afad-95b57fa402e2', u'root_gb': u'80', | | | u'image_source': u'b5015b08-e357-49e1-9eab-2970642f2263', u'deploy_key': | | | u'EYMMOI8P59UVXOY2BLUAQBRF7JVQJQHY'} | | chassis_uuid | | | provision_state | deploy failed | | reservation | None | | power_state | power off | | console_enabled | False | | uuid | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | +------------------------+--------------------------------------------------------------------------+

Please help me on this

ironic.dhcp.neutron [-] No VIFs found for node when attempting to get port IP address.

I am trying to provision baremetal with openstack using ironic. I followed http://docs.openstack.org/developer/i... ( http://docs.openstack.org/developer/i... ) for installing ironic.

But when I tried to deploy a baremetal via curl and nova boot command, i am getting below error :

WARNING ironic.dhcp.neutron [-] No VIFs found for node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 when attempting  to get port IP address.

address.

WARNING ironic.dhcp.neutron [-] Some errors were encountered on node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 while retrieving IP address on the following ports: [u'61e477d2-30ba-46c8-bd41-09e20ee3f67f

[u'61e477d2-30ba-46c8-bd41-09e20ee3f67f

WARNING ironic.conductor.manager [-] Error in deploy of node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37: Failed to get IP address for any port on node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37.

79f8dbb4-3dcc-44cd-ba18-24f10c59ca37.

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

I am using Curl and nova boot command to deploy:-

Here is some information :

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 | +-----------------------+--------------------------------------+

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

ironic node-show $NODE +------------------------+-----------------------------------------------------------------------+ | Property | Value | +------------------------+-----------------------------------------------------------------------+ | instance_uuid | None | | target_power_state | None | | properties | {u'memory_mb': u'15240', 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'559d2744-02e0-45a9-830d-ba894631c1d8', | | | 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'b72b35f0-1491-495a-9bf0-085d1787298a'} | | extra | {} | | last_error | None | | created_at | 2014-12-18T17:47:09+00:00 | | target_provision_state | None | | driver | pxe_ipmitool | | updated_at | 2014-12-18T17:48:50+00:00 | | instance_info | {u'root_gb': u'80', u'image_source': u'b5015b08-e357-49e1-9eab- | | | 2970642f2263'} | | chassis_uuid | | | provision_state | None | | reservation | None | | power_state | power off | | console_enabled | False | | uuid | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | +------------------------+-----------------------------------------------------------------------+

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

ironic node-validate $NODE +------------+--------+--------+ | Interface | Result | Reason | +------------+--------+--------+ | console | True | | | deploy | True | | | management | True | | | power | True | | +------------+--------+--------+

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

ironic port-create -n $NODE -a "fa:16:3e:f7:c3:54" +-----------+--------------------------------------+ | Property | Value | +-----------+--------------------------------------+ | node_uuid | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | | extra | {} | | uuid | 61e477d2-30ba-46c8-bd41-09e20ee3f67f | | address | fa:16:3e:f7:c3:54 | +-----------+--------------------------------------+

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

ironic --debug node-list DEBUG (v2:77) Making authentication request to http://9.109.190.248:5000/v2.0/tokens INFO (connectionpool:258) Starting new HTTP connection (1): 9.109.190.248 DEBUG (connectionpool:375) Setting read timeout to None DEBUG (connectionpool:415) "POST /v2.0/tokens HTTP/1.1" 200 4528 DEBUG (iso8601:184) Parsed 2014-12-18T18:50:44Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'18', 'daydash': u'18', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'44', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'monthdash': u'12', 'day': None, 'minute': u'50'} with default timezone <iso8601.iso8601.utc object="" at="" 0x7f3aeee30690=""> <iso8601.iso8601.Utc object at 0x7f3aeee30690> DEBUG (iso8601:140) Got u'2014' for 'year' with default None DEBUG (iso8601:140) Got u'12' for 'monthdash' with default 1 DEBUG (iso8601:140) Got 12 for 'month' with default 12 DEBUG (iso8601:140) Got u'18' for 'daydash' with default 1 DEBUG (iso8601:140) Got 18 for 'day' with default 18 DEBUG (iso8601:140) Got u'18' for 'hour' with default None DEBUG (iso8601:140) Got u'50' for 'minute' with default None DEBUG (iso8601:140) Got u'44' for 'second' with default None DEBUG (http:104) curl -i -X GET -H 'X-Auth-Token: 8d887d4cb2fb4c34a05aa278a4855112' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' http://9.109.190.248:6385/v1/nodes DEBUG (http:114) HTTP/1.0 200 OK date: Thu, 18 Dec 2014 17:50:44 GMT content-length: 371 content-type: application/json; charset=UTF-8 server: WSGIServer/0.1 Python/2.7.6

Python/2.7.6

{"nodes": [{"instance_uuid": null, "uuid": "79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "links": [{"href": "http://9.109.190.248:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "rel": "self"}, {"href": "http://9.109.190.248:6385/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "rel": "bookmark"}], "maintenance": false, "provision_state": null, "power_state": "power off"}]}

off"}]} +--------------------------------------+---------------+-------------+--------------------+-------------+ | UUID | Instance UUID | Power State | Provisioning State | Maintenance | +--------------------------------------+---------------+-------------+--------------------+-------------+ | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | None | power off | None | False | +--------------------------------------+---------------+-------------+--------------------+-------------+

+--------------------------------------+---------------+-------------+--------------------+-------------+ | UUID | Instance UUID | Power State | Provisioning State | Maintenance | +--------------------------------------+---------------+-------------+--------------------+-------------+ | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | None | power off | None | False | +--------------------------------------+---------------+-------------+--------------------+-------------+

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 202 Accepted Date: Thu, 18 Dec 2014 17:51:48 GMT Server: WSGIServer/0.1 Python/2.7.6 Content-Length: 0 Location: http://9.109.190.248:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37/states

http://9.109.190.248:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37/states

ironic node-show $NODE +------------------------+--------------------------------------------------------------------------+ | Property | Value | +------------------------+--------------------------------------------------------------------------+ | instance_uuid | None | | target_power_state | None | | properties | {u'memory_mb': u'15240', 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'559d2744-02e0-45a9-830d-ba894631c1d8', | | | 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'b72b35f0-1491-495a-9bf0-085d1787298a'} | | extra | {} | | last_error | Failed to deploy. Error: Failed to get IP address for any port on node | | | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37. | | created_at | 2014-12-18T17:47:09+00:00 | | target_provision_state | None | | driver | pxe_ipmitool | | updated_at | 2014-12-18T17:51:52+00:00 | | instance_info | {u'ramdisk': u'dd5cd0e9-55fb-48b8-9a82-79f25137b859', u'kernel': | | | u'75a917e8-5566-42ff-afad-95b57fa402e2', u'root_gb': u'80', | | | u'image_source': u'b5015b08-e357-49e1-9eab-2970642f2263', u'deploy_key': | | | u'EYMMOI8P59UVXOY2BLUAQBRF7JVQJQHY'} | | chassis_uuid | | | provision_state | deploy failed | | reservation | None | | power_state | power off | | console_enabled | False | | uuid | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | +------------------------+--------------------------------------------------------------------------+

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

Please help me on this

ironic.dhcp.neutron [-] No VIFs found for node when attempting to get port IP address.

I am trying to provision baremetal with openstack using ironic. I followed http://docs.openstack.org/developer/i... ( http://docs.openstack.org/developer/i... ) for installing ironic.

But when I tried to deploy a baremetal via curl and nova boot command, i am getting below error :

WARNING ironic.dhcp.neutron [-] No VIFs found for node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 when attempting  to get port IP address.

WARNING ironic.dhcp.neutron [-] Some errors were encountered on node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 while retrieving IP address on the following ports: [u'61e477d2-30ba-46c8-bd41-09e20ee3f67f

WARNING ironic.conductor.manager [-] Error in deploy of node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37: Failed to get IP address for any port on node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37.

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

I am using Curl and nova boot command to deploy:-

Here is some information :

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                  |
+-----------------------+--------------------------------------+








ironic node-show $NODE 
+------------------------+-----------------------------------------------------------------------+
| Property               | Value                                                                 |
+------------------------+-----------------------------------------------------------------------+
| instance_uuid          | None                                                                  |
| target_power_state     | None                                                                  |
| properties             | {u'memory_mb': u'15240', 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'559d2744-02e0-45a9-830d-ba894631c1d8',      |
|                        | u'ipmi_terminal_port': u'3900', u'ipmi_username': u'USERID',          |
|                        | u'ipmi_address': u'9.109.190.253', u'x.x.x.x', u'ipmi_password': u'PASSW0RD',     |
|                        | u'pxe_deploy_kernel': u'b72b35f0-1491-495a-9bf0-085d1787298a'}        |
| extra                  | {}                                                                    |
| last_error             | None                                                                  |
| created_at             | 2014-12-18T17:47:09+00:00                                             |
| target_provision_state | None                                                                  |
| driver                 | pxe_ipmitool                                                          |
| updated_at             | 2014-12-18T17:48:50+00:00                                             |
| instance_info          | {u'root_gb': u'80', u'image_source': u'b5015b08-e357-49e1-9eab-       |
|                        | 2970642f2263'}                                                        |
| chassis_uuid           |                                                                       |
| provision_state        | None                                                                  |
| reservation            | None                                                                  |
| power_state            | power off                                                             |
| console_enabled        | False                                                                 |
| uuid                   | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37                                  |
+------------------------+-----------------------------------------------------------------------+

ironic node-validate $NODE
+------------+--------+--------+
| Interface  | Result | Reason |
+------------+--------+--------+
| console    | True   |        |
| deploy     | True   |        |
| management | True   |        |
| power      | True   |        |
+------------+--------+--------+


ironic port-create -n $NODE -a "fa:16:3e:f7:c3:54"
+-----------+--------------------------------------+
| Property  | Value                                |
+-----------+--------------------------------------+
| node_uuid | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 |
| extra     | {}                                   |
| uuid      | 61e477d2-30ba-46c8-bd41-09e20ee3f67f |
| address   | fa:16:3e:f7:c3:54                    |
+-----------+--------------------------------------+



ironic --debug node-list
DEBUG (v2:77) Making authentication request to http://9.109.190.248:5000/v2.0/tokens
http://x.x.x.x:5000/v2.0/tokens
INFO (connectionpool:258) Starting new HTTP connection (1): 9.109.190.248
x.x.x.x
DEBUG (connectionpool:375) Setting read timeout to None
DEBUG (connectionpool:415) "POST /v2.0/tokens HTTP/1.1" 200 4528
DEBUG (iso8601:184) Parsed 2014-12-18T18:50:44Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'18', 'daydash': u'18', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'44', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'monthdash': u'12', 'day': None, 'minute': u'50'} with default timezone <iso8601.iso8601.Utc object at 0x7f3aeee30690>
DEBUG (iso8601:140) Got u'2014' for 'year' with default None
DEBUG (iso8601:140) Got u'12' for 'monthdash' with default 1
DEBUG (iso8601:140) Got 12 for 'month' with default 12
DEBUG (iso8601:140) Got u'18' for 'daydash' with default 1
DEBUG (iso8601:140) Got 18 for 'day' with default 18
DEBUG (iso8601:140) Got u'18' for 'hour' with default None
DEBUG (iso8601:140) Got u'50' for 'minute' with default None
DEBUG (iso8601:140) Got u'44' for 'second' with default None
DEBUG (http:104) curl -i -X GET -H 'X-Auth-Token: 8d887d4cb2fb4c34a05aa278a4855112' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' http://9.109.190.248:6385/v1/nodes
http://x.x.x.x:6385/v1/nodes
DEBUG (http:114) 
HTTP/1.0 200 OK
date: Thu, 18 Dec 2014 17:50:44 GMT
content-length: 371
content-type: application/json; charset=UTF-8
server: WSGIServer/0.1 Python/2.7.6

{"nodes": [{"instance_uuid": null, "uuid": "79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "links": [{"href": "http://9.109.190.248:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "http://x.x.x.x:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "rel": "self"}, {"href": "http://9.109.190.248:6385/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "http://x.x.x.x:6385/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "rel": "bookmark"}], "maintenance": false, "provision_state": null, "power_state": "power off"}]}

+--------------------------------------+---------------+-------------+--------------------+-------------+
| UUID                                 | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+---------------+-------------+--------------------+-------------+
| 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | None          | power off   | None               | False       |
+--------------------------------------+---------------+-------------+--------------------+-------------+





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://x.x.x.x:6385/v1/nodes/$NODE/states/provision
HTTP/1.0 202 Accepted
Date: Thu, 18 Dec 2014 17:51:48 GMT
Server: WSGIServer/0.1 Python/2.7.6
Content-Length: 0
Location: http://9.109.190.248:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37/states
http://x.x.x.x:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37/states




ironic node-show $NODE
+------------------------+--------------------------------------------------------------------------+
| Property               | Value                                                                    |
+------------------------+--------------------------------------------------------------------------+
| instance_uuid          | None                                                                     |
| target_power_state     | None                                                                     |
| properties             | {u'memory_mb': u'15240', 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'559d2744-02e0-45a9-830d-ba894631c1d8',         |
|                        | u'ipmi_terminal_port': u'3900', u'ipmi_username': u'USERID',             |
|                        | u'ipmi_address': u'9.109.190.253', u'x.x.x.x', u'ipmi_password': u'PASSW0RD',        |
|                        | u'pxe_deploy_kernel': u'b72b35f0-1491-495a-9bf0-085d1787298a'}           |
| extra                  | {}                                                                       |
| last_error             | Failed to deploy. Error: Failed to get IP address for any port on node   |
|                        | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37.                                    |
| created_at             | 2014-12-18T17:47:09+00:00                                                |
| target_provision_state | None                                                                     |
| driver                 | pxe_ipmitool                                                             |
| updated_at             | 2014-12-18T17:51:52+00:00                                                |
| instance_info          | {u'ramdisk': u'dd5cd0e9-55fb-48b8-9a82-79f25137b859', u'kernel':         |
|                        | u'75a917e8-5566-42ff-afad-95b57fa402e2', u'root_gb': u'80',              |
|                        | u'image_source': u'b5015b08-e357-49e1-9eab-2970642f2263', u'deploy_key': |
|                        | u'EYMMOI8P59UVXOY2BLUAQBRF7JVQJQHY'}                                     |
| chassis_uuid           |                                                                          |
| provision_state        | deploy failed                                                            |
| reservation            | None                                                                     |
| power_state            | power off                                                                |
| console_enabled        | False                                                                    |
| uuid                   | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37                                     |
+------------------------+--------------------------------------------------------------------------+

Please help me on thisthis..

After performing certain problem isolation tasks, I have learned that the issue could be due to Network Filters employed by OpenStack. I noticed the following.

'virsh nwfilter-list'

 UUID                                  Name                 
------------------------------------------------------------------
 61b1577f-9943-440d-a6e7-3c7086be65fb  allow-arp           
 d7d5f243-c46e-4b7d-a9bc-056ab27903e1  allow-dhcp          
 531b13cc-c729-4d67-b290-6fa1beb50975  allow-dhcp-server   
 1dcdc104-bff3-4ea6-8759-52a5e6119dcd  allow-incoming-ipv4 
 3d3c348a-f36a-46da-9225-77d625ee743a  allow-ipv4          
 e9eb67ae-f00d-45c1-a9ed-003893402848  clean-traffic       
 31d1531e-b7b6-441b-86d5-bf71493b9906  no-arp-ip-spoofing  
 c77eb589-6c5e-4df0-b560-1f8e9533a1f1  no-arp-mac-spoofing 
 9dc4735c-d8c8-409f-8b71-a2fbd9d175ed  no-arp-spoofing     
 cdc39b81-bb85-4449-8722-e2ff6611d82b  no-ip-multicast     
 c36409c3-a07e-43fa-aabe-34b51965c507  no-ip-spoofing      
 d103ad96-8b72-4d0b-bf47-3b02007e3f89  no-mac-broadcast    
 26003265-a36e-46fd-a375-cd3a29b8b254  no-mac-spoofing     
 f6afa87c-40a3-403c-96ca-f0cd074de09e  no-other-l2-traffic 
 e37197c2-1e71-4675-863e-d96e80eb2872  no-other-rarp-traffic
 b01d0863-cc0f-40fd-8f70-914b97cd52dc  qemu-announce-self  
 adc4c5b8-44a9-4e16-a7b6-4b04117a66c4  qemu-announce-self-rarp


'virsh nwfilter-dumpxml clean-traffic' 

<filter name='clean-traffic' chain='root'>
  <uuid>e9eb67ae-f00d-45c1-a9ed-003893402848</uuid>
  <filterref filter='no-mac-spoofing'/>
  <filterref filter='no-ip-spoofing'/>
  <rule action='accept' direction='out' priority='-650'>
    <mac protocolid='ipv4'/>
  </rule>
  <filterref filter='allow-incoming-ipv4'/>
  <filterref filter='no-arp-spoofing'/>
  <rule action='accept' direction='inout' priority='-500'>
    <mac protocolid='arp'/>
  </rule>
  <filterref filter='no-other-l2-traffic'/>
  <filterref filter='qemu-announce-self'/>
</filter>

So, I suspect that the entries in the 'clean-traffic' is preventing the target to reach the DHCP Server and obtain an IP Address.

Am new to Network Filters and after some googling I noticed that adding 'firewall_driver = nova.virt.firewall.NoopFirewallDriver' in nova.conf might help. But, it looks like, when Ironic is installed, this entry is automatically added to nova.conf. Any other suggestions please?

ironic.dhcp.neutron [-] No VIFs found for node when attempting to get port IP address.

I am trying to provision baremetal with openstack using ironic. I followed http://docs.openstack.org/developer/i... ( http://docs.openstack.org/developer/i... ) for installing ironic.

But when I tried to deploy a baremetal via curl and nova boot command, i am getting below error :

WARNING ironic.dhcp.neutron [-] No VIFs found for node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 when attempting  to get port IP address.

WARNING ironic.dhcp.neutron [-] Some errors were encountered on node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 while retrieving IP address on the following ports: [u'61e477d2-30ba-46c8-bd41-09e20ee3f67f

WARNING ironic.conductor.manager [-] Error in deploy of node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37: Failed to get IP address for any port on node 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37.

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

I am using Curl and nova boot command to deploy:-

Here is some information :

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                  |
+-----------------------+--------------------------------------+








ironic node-show $NODE 
+------------------------+-----------------------------------------------------------------------+
| Property               | Value                                                                 |
+------------------------+-----------------------------------------------------------------------+
| instance_uuid          | None                                                                  |
| target_power_state     | None                                                                  |
| properties             | {u'memory_mb': u'15240', 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'559d2744-02e0-45a9-830d-ba894631c1d8',      |
|                        | u'ipmi_terminal_port': u'3900', u'ipmi_username': u'USERID',          |
|                        | u'ipmi_address': u'x.x.x.x', u'ipmi_password': u'PASSW0RD',     |
|                        | u'pxe_deploy_kernel': u'b72b35f0-1491-495a-9bf0-085d1787298a'}        |
| extra                  | {}                                                                    |
| last_error             | None                                                                  |
| created_at             | 2014-12-18T17:47:09+00:00                                             |
| target_provision_state | None                                                                  |
| driver                 | pxe_ipmitool                                                          |
| updated_at             | 2014-12-18T17:48:50+00:00                                             |
| instance_info          | {u'root_gb': u'80', u'image_source': u'b5015b08-e357-49e1-9eab-       |
|                        | 2970642f2263'}                                                        |
| chassis_uuid           |                                                                       |
| provision_state        | None                                                                  |
| reservation            | None                                                                  |
| power_state            | power off                                                             |
| console_enabled        | False                                                                 |
| uuid                   | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37                                  |
+------------------------+-----------------------------------------------------------------------+

ironic node-validate $NODE
+------------+--------+--------+
| Interface  | Result | Reason |
+------------+--------+--------+
| console    | True   |        |
| deploy     | True   |        |
| management | True   |        |
| power      | True   |        |
+------------+--------+--------+


ironic port-create -n $NODE -a "fa:16:3e:f7:c3:54"
+-----------+--------------------------------------+
| Property  | Value                                |
+-----------+--------------------------------------+
| node_uuid | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 |
| extra     | {}                                   |
| uuid      | 61e477d2-30ba-46c8-bd41-09e20ee3f67f |
| address   | fa:16:3e:f7:c3:54                    |
+-----------+--------------------------------------+



ironic --debug node-list
DEBUG (v2:77) Making authentication request to http://x.x.x.x:5000/v2.0/tokens
INFO (connectionpool:258) Starting new HTTP connection (1): x.x.x.x
DEBUG (connectionpool:375) Setting read timeout to None
DEBUG (connectionpool:415) "POST /v2.0/tokens HTTP/1.1" 200 4528
DEBUG (iso8601:184) Parsed 2014-12-18T18:50:44Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'18', 'daydash': u'18', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'44', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'monthdash': u'12', 'day': None, 'minute': u'50'} with default timezone <iso8601.iso8601.Utc object at 0x7f3aeee30690>
DEBUG (iso8601:140) Got u'2014' for 'year' with default None
DEBUG (iso8601:140) Got u'12' for 'monthdash' with default 1
DEBUG (iso8601:140) Got 12 for 'month' with default 12
DEBUG (iso8601:140) Got u'18' for 'daydash' with default 1
DEBUG (iso8601:140) Got 18 for 'day' with default 18
DEBUG (iso8601:140) Got u'18' for 'hour' with default None
DEBUG (iso8601:140) Got u'50' for 'minute' with default None
DEBUG (iso8601:140) Got u'44' for 'second' with default None
DEBUG (http:104) curl -i -X GET -H 'X-Auth-Token: 8d887d4cb2fb4c34a05aa278a4855112' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' http://x.x.x.x:6385/v1/nodes
DEBUG (http:114) 
HTTP/1.0 200 OK
date: Thu, 18 Dec 2014 17:50:44 GMT
content-length: 371
content-type: application/json; charset=UTF-8
server: WSGIServer/0.1 Python/2.7.6

{"nodes": [{"instance_uuid": null, "uuid": "79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "links": [{"href": "http://x.x.x.x:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "rel": "self"}, {"href": "http://x.x.x.x:6385/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37", "rel": "bookmark"}], "maintenance": false, "provision_state": null, "power_state": "power off"}]}

+--------------------------------------+---------------+-------------+--------------------+-------------+
| UUID                                 | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+---------------+-------------+--------------------+-------------+
| 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37 | None          | power off   | None               | False       |
+--------------------------------------+---------------+-------------+--------------------+-------------+





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://x.x.x.x:6385/v1/nodes/$NODE/states/provision
HTTP/1.0 202 Accepted
Date: Thu, 18 Dec 2014 17:51:48 GMT
Server: WSGIServer/0.1 Python/2.7.6
Content-Length: 0
Location: http://x.x.x.x:6385/v1/nodes/79f8dbb4-3dcc-44cd-ba18-24f10c59ca37/states




ironic node-show $NODE
+------------------------+--------------------------------------------------------------------------+
| Property               | Value                                                                    |
+------------------------+--------------------------------------------------------------------------+
| instance_uuid          | None                                                                     |
| target_power_state     | None                                                                     |
| properties             | {u'memory_mb': u'15240', 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'559d2744-02e0-45a9-830d-ba894631c1d8',         |
|                        | u'ipmi_terminal_port': u'3900', u'ipmi_username': u'USERID',             |
|                        | u'ipmi_address': u'x.x.x.x', u'ipmi_password': u'PASSW0RD',        |
|                        | u'pxe_deploy_kernel': u'b72b35f0-1491-495a-9bf0-085d1787298a'}           |
| extra                  | {}                                                                       |
| last_error             | Failed to deploy. Error: Failed to get IP address for any port on node   |
|                        | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37.                                    |
| created_at             | 2014-12-18T17:47:09+00:00                                                |
| target_provision_state | None                                                                     |
| driver                 | pxe_ipmitool                                                             |
| updated_at             | 2014-12-18T17:51:52+00:00                                                |
| instance_info          | {u'ramdisk': u'dd5cd0e9-55fb-48b8-9a82-79f25137b859', u'kernel':         |
|                        | u'75a917e8-5566-42ff-afad-95b57fa402e2', u'root_gb': u'80',              |
|                        | u'image_source': u'b5015b08-e357-49e1-9eab-2970642f2263', u'deploy_key': |
|                        | u'EYMMOI8P59UVXOY2BLUAQBRF7JVQJQHY'}                                     |
| chassis_uuid           |                                                                          |
| provision_state        | deploy failed                                                            |
| reservation            | None                                                                     |
| power_state            | power off                                                                |
| console_enabled        | False                                                                    |
| uuid                   | 79f8dbb4-3dcc-44cd-ba18-24f10c59ca37                                     |
+------------------------+--------------------------------------------------------------------------+

Please help me on this..

After performing certain problem isolation tasks, I have learned that the issue could be due to Network Filters employed by OpenStack. I noticed the following.

'virsh nwfilter-list'

 UUID                                  Name                 
------------------------------------------------------------------
 61b1577f-9943-440d-a6e7-3c7086be65fb  allow-arp           
 d7d5f243-c46e-4b7d-a9bc-056ab27903e1  allow-dhcp          
 531b13cc-c729-4d67-b290-6fa1beb50975  allow-dhcp-server   
 1dcdc104-bff3-4ea6-8759-52a5e6119dcd  allow-incoming-ipv4 
 3d3c348a-f36a-46da-9225-77d625ee743a  allow-ipv4          
 e9eb67ae-f00d-45c1-a9ed-003893402848  clean-traffic       
 31d1531e-b7b6-441b-86d5-bf71493b9906  no-arp-ip-spoofing  
 c77eb589-6c5e-4df0-b560-1f8e9533a1f1  no-arp-mac-spoofing 
 9dc4735c-d8c8-409f-8b71-a2fbd9d175ed  no-arp-spoofing     
 cdc39b81-bb85-4449-8722-e2ff6611d82b  no-ip-multicast     
 c36409c3-a07e-43fa-aabe-34b51965c507  no-ip-spoofing      
 d103ad96-8b72-4d0b-bf47-3b02007e3f89  no-mac-broadcast    
 26003265-a36e-46fd-a375-cd3a29b8b254  no-mac-spoofing     
 f6afa87c-40a3-403c-96ca-f0cd074de09e  no-other-l2-traffic 
 e37197c2-1e71-4675-863e-d96e80eb2872  no-other-rarp-traffic
 b01d0863-cc0f-40fd-8f70-914b97cd52dc  qemu-announce-self  
 adc4c5b8-44a9-4e16-a7b6-4b04117a66c4  qemu-announce-self-rarp


'virsh nwfilter-dumpxml clean-traffic' 

<filter name='clean-traffic' chain='root'>
  <uuid>e9eb67ae-f00d-45c1-a9ed-003893402848</uuid>
  <filterref filter='no-mac-spoofing'/>
  <filterref filter='no-ip-spoofing'/>
  <rule action='accept' direction='out' priority='-650'>
    <mac protocolid='ipv4'/>
  </rule>
  <filterref filter='allow-incoming-ipv4'/>
  <filterref filter='no-arp-spoofing'/>
  <rule action='accept' direction='inout' priority='-500'>
    <mac protocolid='arp'/>
  </rule>
  <filterref filter='no-other-l2-traffic'/>
  <filterref filter='qemu-announce-self'/>
</filter>

So, I suspect that the entries in the 'clean-traffic' is preventing the target to reach the DHCP Server and obtain an IP Address.

Am new to Network Filters and after some googling I noticed that adding 'firewall_driver = nova.virt.firewall.NoopFirewallDriver' in nova.conf might help. But, it looks like, when Ironic is installed, this entry is automatically added to nova.conf. Any other suggestions please?