Ask Your Question
1

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

asked 2014-12-19 04:44:32 -0500

Rajan gravatar image

updated 2015-01-04 23:51:22 -0500

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 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-11 05:11:51 -0500

Manab gravatar image

I am also facing the same issue. Please help on this

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-12-19 04:44:32 -0500

Seen: 913 times

Last updated: Feb 11 '15