Unable to deploy instances in a Compute Node, log reports PortBindingFailed: Binding failed for port
Issue
Unable to deploy instances in a specific compute node.
When checking /var/log/nova/nova.log
at the compute node, the following error is shown:
2017-06-21 16:05:18.881 3407 INFO nova.virt.libvirt.driver [req-2f5cbd96-a768-44f5-bed8-ba1546597ba5 35dc9e4ea6c29255719855a7eadf0514c6cecc962879ec44e3e56acdf9d4460d af08c63918be4f6aaee9665981a4397c - - -] [instance: 6311549e-547c-4310-afcf-522ccbe9f06c] Creating image
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager Traceback (most recent call last):
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1564, in _allocate_network_async
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager dhcp_options=dhcp_options)
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 804, in allocate_for_instance
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager self._delete_ports(neutron, instance, created_port_ids)
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 204, in __exit__
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager six.reraise(self.type_, self.value, self.tb)
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 796, in allocate_for_instance
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager security_group_ids, available_macs, dhcp_opts)
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 405, in _create_port
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager raise exception.PortBindingFailed(port_id=port_id)
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager PortBindingFailed: Binding failed for port 0d5e1fd4-0f4b-4f30-a3e3-31b1bbe86ce6, please check neutron logs for more information.
2017-06-21 16:05:20.239 3407 ERROR nova.compute.manager
2017-06-21 16:05:20.241 3407 ERROR nova.compute.manager [req-2f5cbd96-a768-44f5-bed8-ba1546597ba5 35dc9e4ea6c29255719855a7eadf0514c6cecc962879ec44e3e56acdf9d4460d af08c63918be4f6aaee9665981a4397c - - -] [instance: 6311549e-547c-4310-afcf-522ccbe9f06c] Instance failed to spawn
Python stack trace suggested a Neutron
error and check the log for errors. However, no errors are shown in Neutron
log in the compute node or Controller.
Environment
Red Hat OpenStack Platform 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.