Launched instance failed with error - Liberty release

asked 2016-06-14 05:23:35 -0500

rastogisac gravatar image

updated 2016-06-14 06:12:54 -0500

Dear Openstack expert I am using only private network - (Self service network ) and did the configuration as per liberty guide also used kvm libr_type. I created the private network and subnet and trying to launch a instance with command line option nova boot... while using the command, I am able to see scheduling , spawning .. but after that it throws me an error.

follow are the logs Nova-compute.log on Compute node

2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager Traceback (most recent call last):
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1564, in _allocate_network_async
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager     dhcp_options=dhcp_options)
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 727, in allocate_for_instance
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager     self._delete_ports(neutron, instance, created_port_ids)
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager     six.reraise(self.type_, self.value, self.tb)
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 719, in allocate_for_instance
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager     security_group_ids, available_macs, dhcp_opts)
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 342, in _create_port
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager     raise exception.PortBindingFailed(port_id=port_id)
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager PortBindingFailed: Binding failed for port edd06d07-addf-4132-8310-1ab7c2300e0d, please check neutron logs for more information.
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager [req-9830fcd3-d807-416d-8ab9-74bb8b7eb7cd 22ec63ad76594b32a982ab32c6c26816 94513aaa320943d2b9bdb7f681545c00 - - -] [instance: e6832245-d2ad-4ddc-b0e7-404290b20a83] Instance failed to spawn
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager [instance: e6832245-d2ad-4ddc-b0e7-404290b20a83] Traceback (most recent call last):
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager [instance: e6832245-d2ad-4ddc-b0e7-404290b20a83]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2155, in _build_resources
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager [instance: e6832245-d2ad-4ddc-b0e7-404290b20a83]     yield resources
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager [instance: e6832245-d2ad-4ddc-b0e7-404290b20a83]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2009, in _build_and_run_instance
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager [instance: e6832245-d2ad-4ddc-b0e7-404290b20a83]     block_device_info=block_device_info)
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager [instance: e6832245-d2ad-4ddc-b0e7-404290b20a83]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2512, in spawn
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager [instance: e6832245-d2ad-4ddc-b0e7-404290b20a83]     write_to_disk=True)
2016-06-14 09:54:45.406 122194 ERROR nova.compute.manager [instance ...
(more)
edit retag flag offensive close merge delete

Comments

Check neutron and openvswitch agent logs, also paste output from ovs-vsctl show

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-06-14 06:13:39 -0500 )edit

Server log 2016-06-14 18:46:39.119 13724 ERROR neutron.plugins.ml2.managers [req-10de3fd6-67a0-41ce-9377-096a 0711e9e7 041240a0cd9a49629f88bc587ac7876a 693e487029a04138abc75f4a8127117f - - -] Failed to bind po

rastogisac gravatar imagerastogisac ( 2016-06-14 08:26:04 -0500 )edit

No openvswitch as following liberty rhel guide and only private network. (no public network)

rastogisac gravatar imagerastogisac ( 2016-06-14 08:26:47 -0500 )edit