Instance failed network setup after 1 attempt(s): PortBindingFailed: Binding failed for port 9c3fdd10-e1c1-4280-93df-9b1079a3ab41, please check neutron logs for more information.

asked 2017-11-23 10:34:04 -0600

snavin gravatar image

Hi, I am trying to bootstrap JUJU to Openstack as part of OAI on OPNFV project using JOID installer. Bootstrap fails with the below error:

=================================*=================================

08:28:31 DEBUG juju.provider.openstack provider.go:1022 using network id "5227f5c1-3857-4295-be56-2b1acb3af717" 08:28:35 INFO juju.provider.openstack provider.go:1146 trying to build instance in availability zone "nova" 08:28:48 INFO juju.provider.openstack provider.go:1126 Instance "227b59e3-3587-439d-a8b3-3a23b70e4301" in ERROR state with fault "No valid host was found. " 08:28:48 INFO juju.provider.openstack provider.go:1127 Deleting instance "227b59e3-3587-439d-a8b3-3a23b70e4301" in ERROR state 08:28:49 INFO juju.provider.openstack provider.go:1155 failed to build instance in availability zone "nova" 08:28:49 ERROR juju.cmd.juju.commands bootstrap.go:496 failed to bootstrap model: cannot start bootstrap instance: cannot run instance: No valid host was found.

=================================*=================================

So, from the above error I thought I will spawn an instance in Openstack dashboard manually and look into the nova.log details and below is the error I found out. It would be of a great help if one of you could help me in troubleshooting this issue:

=================================*=================================

2017-11-23 14:52:30.145 1642387 INFO nova.virt.block_device [req-06a24373-1dd5-4762-95ea-c47d442e50d1 6bb86d22bd6544e28336f427b3734a59 74374bef44a14e6f8764c4b66aea40e6 - 86ae64c316464fda8def6dd9da82edf3 86ae64c316464fda8def6dd9da82edf3] [instance: 98d13ac4-67b8-4208-b8bf-0e6710a28c7c] Booting with blank volume at /dev/vda 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager [req-06a24373-1dd5-4762-95ea-c47d442e50d1 6bb86d22bd6544e28336f427b3734a59 74374bef44a14e6f8764c4b66aea40e6 - 86ae64c316464fda8def6dd9da82edf3 86ae64c316464fda8def6dd9da82edf3] Instance failed network setup after 1 attempt(s): PortBindingFailed: Binding failed for port 9c3fdd10-e1c1-4280-93df-9b1079a3ab41, please check neutron logs for more information. 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager Traceback (most recent call last): 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1388, in _allocate_network_async 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager bind_host_id=bind_host_id) 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 875, in allocate_for_instance 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager bind_host_id, dhcp_options, available_macs) 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1001, in _update_ports_for_instance 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager vif.destroy() 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__ 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager self.force_reraise() 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager six.reraise(self.type_, self.value, self.tb) 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 971, in _update_ports_for_instance 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager port_client, instance, port_id, port_req_body) 2017-11-23 14:52:36.624 1642387 ERROR nova.compute.manager ... (more)

edit retag flag offensive close merge delete