node deploy fails with noop network_interface reporting no VIFs found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Triaged
|
Medium
|
Unassigned |
Bug Description
Attempting to spin up a configuration consisting of noop + neutron network interfaces, where the dhcp_provider (which will begin to see deprecation removals in Pike), a node configured with the "noop" network_interface, returns an error indicating no VIFs found:
Installed via bifrost, utilizing some in-development patches for neutron deployment support, with ironic git from master as of April 1st, 2017. Port details are naturally minimal for a noop network_interface based deploy.
+------
| Property | Value |
+------
| boot_interface | |
| chassis_uuid | None |
| clean_step | {} |
| console_enabled | False |
| console_interface | |
| created_at | 2017-04-
| deploy_interface | |
| driver | agent_ipmitool |
| driver_info | {u'ipmi_port': u'623', u'ipmi_username': u'admin', u'deploy_kernel': |
| | u'http://
| | u'192.168.122.1', u'deploy_ramdisk': |
| | u'http://
| driver_
| extra | {} |
| inspect_interface | |
| inspection_
| inspection_
| instance_info | {u'root_gb': 10, u'image_source': |
| | u'http://
| | 'whole-disk-image', u'configdrive': u'******', u'image_url': u'******', |
| | u'image_
| | u'ee1eca47dc88f
| instance_uuid | None |
| last_error | Failed to prepare to deploy. Error: No VIFs found for node |
| | 4e41df61-
| | options. |
| maintenance | False |
| maintenance_reason | None |
| management_
| name | testvm1 |
| network_interface | |
| power_interface | |
| power_state | power off |
| properties | {u'memory_mb': u'3072', u'cpu_arch': u'x86_64', u'local_gb': u'9', |
| | u'cpus': u'1', u'capabilities': u'cpu_vt:
| provision_state | deploy failed |
| provision_
| raid_config | |
| raid_interface | |
| reservation | None |
| resource_class | |
| target_power_state | None |
| target_
| target_raid_config | |
| updated_at | 2017-04-
| uuid | 4e41df61-
| vendor_interface | |
+------
summary: |
- node deploy fails with noop network_interface reporting no gifs found + node deploy fails with noop network_interface reporting no VIFs found |
So you mean the case where you have dhcp provider = neutron and some nodes having noop net interface, and some having neutron? Yeah, neutron net interface requires dhcp provider to be neutron too, and I'm not sure how to deal with this, apart from deprecation of dhcp providers. So let's do this as a fix :)