Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Neutron Refusing to bind due to unsupported vnic_type: baremetal

When I trying to boot a baremetal instance with neutron support, which has a flat network, the ml2 driver OpenvSwitch failed to validate VNIC type 'baremetal' when port binding. It seems that ovs only support VNIC.Normal type? but I almost perform as Install guide told to do. What did I missed? Any suggestion will be appreciated.

Here are the logs from neutron server.log

    2017-10-30 10:27:12.935 75058 DEBUG neutron.plugins.ml2.managers [req-ef527d90-b463-495f-bcab-16b1dee44fc7 - - - - -] Attempting to bind port 20f33a64-c7e7-4816-83ad-bc1c1a045470 on host 00000000-0000-0000-0000-000000010122 for vnic_type baremetal with profile {"local_link_information": [{"switch_info": "10.2.2.253", "port_id": "Tel/0/5", "switch_id": "f4:8e:38:00:04:9a"}]} bind_port /usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py:726
2017-10-30 10:27:12.936 75058 DEBUG neutron.plugins.ml2.managers [req-ef527d90-b463-495f-bcab-16b1dee44fc7 - - - - -] Attempting to bind port 20f33a64-c7e7-4816-83ad-bc1c1a045470 on host 00000000-0000-0000-0000-000000010122 at level 0 using segments [{'segmentation_id': None, 'physical_network': u'physnet1', 'id': u'371c5130-ffd4-421e-be50-e463428c5d28', 'network_type': u'flat'}] _bind_port_level /usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py:747
2017-10-30 10:27:12.937 75058 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-ef527d90-b463-495f-bcab-16b1dee44fc7 - - - - -] Attempting to bind port 20f33a64-c7e7-4816-83ad-bc1c1a045470 on network 13eeece1-a621-42bc-abcb-ee1cf3bc45e0 bind_port /usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:89
2017-10-30 10:27:12.937 75058 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-ef527d90-b463-495f-bcab-16b1dee44fc7 - - - - -] **Refusing to bind due to unsupported vnic_type: baremetal** bind_port /usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:94
2017-10-30 10:27:12.938 75058 ERROR neutron.plugins.ml2.managers [req-ef527d90-b463-495f-bcab-16b1dee44fc7 - - - - -] Failed to bind port 20f33a64-c7e7-4816-83ad-bc1c1a045470 on host 00000000-0000-0000-0000-000000010122 for vnic_type baremetal using segments [{'segmentation_id': None, 'physical_network': u'physnet1', 'id': u'371c5130-ffd4-421e-be50-e463428c5d28', 'network_type': u'flat'}]

Neutron Refusing to bind due to unsupported vnic_type: baremetal

When I trying to boot a baremetal instance with neutron support, which has a flat network, the ml2 driver OpenvSwitch failed to validate VNIC type 'baremetal' when port binding. It seems that ovs only support VNIC.Normal type? but I almost perform as Install guide told to do. What did I missed? miss? Any suggestion will be appreciated.

Here are the logs from neutron server.log

 

2017-10-30 10:27:12.935 75058 DEBUG neutron.plugins.ml2.managers [req-ef527d90-b463-495f-bcab-16b1dee44fc7 - - - - -] Attempting to bind port 20f33a64-c7e7-4816-83ad-bc1c1a045470 on host 00000000-0000-0000-0000-000000010122 for vnic_type baremetal with profile {"local_link_information": [{"switch_info": "10.2.2.253", "port_id": "Tel/0/5", "switch_id": "f4:8e:38:00:04:9a"}]} bind_port /usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py:726 /usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py:726

2017-10-30 10:27:12.936 75058 DEBUG neutron.plugins.ml2.managers [req-ef527d90-b463-495f-bcab-16b1dee44fc7 - - - - -] Attempting to bind port 20f33a64-c7e7-4816-83ad-bc1c1a045470 on host 00000000-0000-0000-0000-000000010122 at level 0 using segments [{'segmentation_id': None, 'physical_network': u'physnet1', 'id': u'371c5130-ffd4-421e-be50-e463428c5d28', 'network_type': u'flat'}] _bind_port_level /usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py:747 /usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py:747

2017-10-30 10:27:12.937 75058 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-ef527d90-b463-495f-bcab-16b1dee44fc7 - - - - -] Attempting to bind port 20f33a64-c7e7-4816-83ad-bc1c1a045470 on network 13eeece1-a621-42bc-abcb-ee1cf3bc45e0 bind_port /usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:89 /usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:89

2017-10-30 10:27:12.937 75058 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-ef527d90-b463-495f-bcab-16b1dee44fc7 - - - - -] **Refusing Refusing to bind due to unsupported vnic_type: baremetal** baremetal bind_port /usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:94 /usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:94

2017-10-30 10:27:12.938 75058 ERROR neutron.plugins.ml2.managers [req-ef527d90-b463-495f-bcab-16b1dee44fc7 - - - - -] Failed to bind port 20f33a64-c7e7-4816-83ad-bc1c1a045470 on host 00000000-0000-0000-0000-000000010122 for vnic_type baremetal using segments [{'segmentation_id': None, 'physical_network': u'physnet1', 'id': u'371c5130-ffd4-421e-be50-e463428c5d28', 'network_type': u'flat'}]

u'flat'}]