If neutron failed to bind baremetal port it set it as binding:vif_type=binding_failed.
Regardless of that ironic continue to thing that business as usual and wait for node to become clean (node transition to 'clean wait' state) instead of marking it as clean failed.
ironic.common.neutron[23887]: DEBUG For node d02c7361-5e3a-4fdf-89b5-f29b3901f0fc, creating neutron ports on network 4b352ae7-141b-4c3f-a132-f5c006dc056c using NeutronNetwork network interface. [req-8691b659-a3d2-4ae8-a78b-a52158e343fc - - - - -] add_ports_to_network /usr/lib/python2.7/dist-packages/ironic/common/neutron.py:90
ironic.common.neutron[23887]: INFO Successfully created ports for node d02c7361-5e3a-4fdf-89b5-f29b3901f0fc in network 4b352ae7-141b-4c3f-a132-f5c006dc056c. [req-8691b659-a3d2-4ae8-a78b-a52158e343fc - - - - -]
...
ironic.conductor.utils[23887]: INFO Successfully set node d02c7361-5e3a-4fdf-89b5-f29b3901f0fc power state to power on. [req-8691b659-a3d2-4ae8-a78b-a52158e343fc - - - - -]
ironic.common.states[23887]: DEBUG Exiting old state 'cleaning' in response to event 'wait' [req-8691b659-a3d2-4ae8-a78b-a52158e343fc - - - - -] on_exit /usr/lib/python2.7/dist-packages/ironic/common/states.py:219
ironic.common.states[23887]: DEBUG Entering new state 'clean wait' in response to event 'wait' [req-8691b659-a3d2-4ae8-a78b-a52158e343fc - - - - -] on_enter /usr/lib/python2.7/dist-packages/ironic/common/states.py:225
If neutron failed to bind baremetal port it set it as binding: vif_type= binding_ failed.
Regardless of that ironic continue to thing that business as usual and wait for node to become clean (node transition to 'clean wait' state) instead of marking it as clean failed.
neutron failed port:
+------ ------- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+ ------- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+ 5e3a-4fdf- 89b5-f29b3901f0 fc | link_informatio n": [{"switch_info": "c426s1", "port_id": "1/1/21", "switch_id": "62:9d: 9a:43:a1: b4"}]} | 12T15:43: 34Z | 5e3a-4fdf- 89b5-f29b3901f0 fc | ip-address" } | 0d8b-447d- 9753-f3ba1ec39c 22", "ip_address": "hidden"} | f82b-437d- b8b2-4133a92b1b 86 | 141b-4c3f- a132-f5c006dc05 6c | 9aeb93bc122cb6d ae | 9aeb93bc122cb6d ae | 12T15:43: 34Z | ------- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+
| Field | Value |
+------
| admin_state_up | True |
| binding:host_id | d02c7361-
| binding:profile | {"local_
| binding:vif_details | {} |
| binding:vif_type | binding_failed |
| binding:vnic_type | baremetal |
| created_at | 2017-01-
| description | |
| device_id | d02c7361-
| device_owner | baremetal:none |
| extra_dhcp_opts | {"opt_value": "pxelinux.0", "ip_version": 4, "opt_name": "bootfile-name"} |
| | {"opt_value": "hidden", "ip_version": 4, "opt_name": "server-
| | {"opt_value": "hidden", "ip_version": 4, "opt_name": "tftp-server"} |
| fixed_ips | {"subnet_id": "5402755a-
| id | db3766ad-
| mac_address | 18:66:de:55:07:f4 |
| name | |
| network_id | 4b352ae7-
| project_id | 7d450ecf00d6439
| revision_number | 8 |
| status | DOWN |
| tenant_id | 7d450ecf00d6439
| updated_at | 2017-01-
+------
ironic log:
ironic. common. neutron[ 23887]: DEBUG For node d02c7361- 5e3a-4fdf- 89b5-f29b3901f0 fc, creating neutron ports on network 4b352ae7- 141b-4c3f- a132-f5c006dc05 6c using NeutronNetwork network interface. [req-8691b659- a3d2-4ae8- a78b-a52158e343 fc - - - - -] add_ports_ to_network /usr/lib/ python2. 7/dist- packages/ ironic/ common/ neutron. py:90 common. neutron[ 23887]: INFO Successfully created ports for node d02c7361- 5e3a-4fdf- 89b5-f29b3901f0 fc in network 4b352ae7- 141b-4c3f- a132-f5c006dc05 6c. [req-8691b659- a3d2-4ae8- a78b-a52158e343 fc - - - - -] conductor. utils[23887] : INFO Successfully set node d02c7361- 5e3a-4fdf- 89b5-f29b3901f0 fc power state to power on. [req-8691b659- a3d2-4ae8- a78b-a52158e343 fc - - - - -] common. states[ 23887]: DEBUG Exiting old state 'cleaning' in response to event 'wait' [req-8691b659- a3d2-4ae8- a78b-a52158e343 fc - - - - -] on_exit /usr/lib/ python2. 7/dist- packages/ ironic/ common/ states. py:219 common. states[ 23887]: DEBUG Entering new state 'clean wait' in response to event 'wait' [req-8691b659- a3d2-4ae8- a78b-a52158e343 fc - - - - -] on_enter /usr/lib/ python2. 7/dist- packages/ ironic/ common/ states. py:225
ironic.
...
ironic.
ironic.
ironic.