Ask Your Question
0

NovaException: Unexpected vif_type=binding_failed

asked 2015-03-03 10:39:30 -0500

radomir gravatar image

Hi all, I was running an openstack on Centos 6.5 (controller + network + 4 compute nodes) and all was working fine utnil upgrade to Centos 6.6. When I try to spawn new instance I get an error on dashboard:

Error: No valid host was found. Exceeded max scheduling attempts 3 for instance

and scheduler.log from controller:

2015-03-03 16:33:37.416 1719 ERROR nova.scheduler.filter_scheduler [req-381413bc-59ab-4837-93fc-6a5e35fc6a84 66a609d76a5d487196f043b06874f910 8bc83a160b424cbaa6c95308b333669f] [instance: 9ce61f67-b3c3-4e81-ae73-9718d408400f] Error from last host: compute0 (node compute0): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1328, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 393, in decorated_function\n    return function(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1740, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1737, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2291, in spawn\n    write_to_disk=True)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3480, in to_xml\n    disk_info, rescue, block_device_info)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3294, in get_guest_config\n    flavor)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 384, in get_config\n    _("Unexpected vif_type=%s") % vif_type)\n', u'NovaException: Unexpected vif_type=binding_failed\n']

On the compute0 I dont see any specific errors:

2015-03-03 17:20:48.143 2481 INFO neutron.agent.securitygroups_rpc [req-efcb1c0d-1d2f-4095-b944-3c0246cb97e4 None] Security group member updated [u'ce582782-b451-4aef-b4c6-fde44c33e185']
2015-03-03 17:20:52.803 2481 INFO neutron.agent.securitygroups_rpc [req-b8d0b8de-5ac6-49c3-9217-e9881fda83c7 None] Security group member updated [u'ce582782-b451-4aef-b4c6-fde44c33e185']
2015-03-03 17:20:53.878 2481 INFO neutron.agent.securitygroups_rpc [req-d6ad4800-cec8-4758-8232-fdcfcaf7e020 None] Security group member updated [u'ce582782-b451-4aef-b4c6-fde44c33e185']
2015-03-03 17:20:59.884 2481 INFO neutron.agent.securitygroups_rpc [req-a3c077cb-e4b6-469f-a8d6-d6c6119a270b None] Security group member updated [u'ce582782-b451-4aef-b4c6-fde44c33e185']
2015-03-03 17:21:00.832 2481 INFO neutron.agent.securitygroups_rpc [req-9d492160-f7c0-44ef-a1ee-bff5c7e89cee None] Security group member updated [u'ce582782-b451-4aef-b4c6-fde44c33e185']
2015-03-03 17:21:05.732 2481 INFO neutron.agent.securitygroups_rpc [req-3cd643a5-b8f7-4b52-80d6-52e4699ae59b None] Security group member updated [u'ce582782-b451-4aef-b4c6-fde44c33e185']

I was trying different things described on this forum, checking configs, etc. but without any luck. Not sure how to debug it.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-06-14 14:55:59 -0500

https://access.redhat.com/solutions/1269513 (https://access.redhat.com/solutions/1...)

this article worked for me .

edit flag offensive delete link more

Comments

Try this .

Stop the neutron service

openstack-service stop neutron

2) Drop the neutron database.

mysql -u root

MariaDB [(none)]> DROP DATABASE neutron;

3) Re-create the neutron database

MariaDB [(none)]> CREATE DATABASE neutron; 4) Reinitalize the neutron database For RHOSP5:

Vinay Singh gravatar imageVinay Singh ( 2018-06-14 14:58:14 -0500 )edit

neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade icehouse

RHOSP6:

neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade juno

--restart the neutron services

openstack-service start neutron

Vinay Singh gravatar imageVinay Singh ( 2018-06-14 14:59:34 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-03-03 10:39:30 -0500

Seen: 316 times

Last updated: Mar 03 '15