Instance failed with "binding_failed" error on RHEL7 Openstack Icehouse [closed]
Hi All,
I checked many similar query and I updated my configuration files for Compute and Neutron using below url. But having same (vif_type=binding_failed
) issue. I shared my all Nova and Neutron Configuration files with recent log. I can understand there small bug I couldn't find out. Please check my configuration files and request to give a solution.
https://ask.openstack.org/en/question... https://kashyapc.fedorapeople.org/vir...
Neutron Log
server.log (grep -i error nova-compute.log | tail -f)
~~~~~~~~~~~~~~~~~~~~~~~
2015-01-07 23:46:05.039 1387 INFO neutron.wsgi [req-f6093f47-e8e4-41f7-9c6e-2cfab124cd7d None] 192.168.2.52 - - [07/Jan/2015 23:46:05] "GET //v2.0/ports.json?tenant_id=9d70490f1dfe4b88bfab45f552a27e75&device_id=da048196-baf7-426c-9e06-ff1f6cd218eb HTTP/1.1" 200 202 0.009181
2015-01-07 23:46:05.080 1387 INFO neutron.wsgi [req-f6093f47-e8e4-41f7-9c6e-2cfab124cd7d None] (1387) accepted ('192.168.2.52', 54412)
2015-01-07 23:46:05.093 1387 INFO neutron.wsgi [req-b40e2862-a0b9-4744-9135-3174045fa774 None] 192.168.2.52 - - [07/Jan/2015 23:46:05] "GET //v2.0/networks.json?tenant_id=9d70490f1dfe4b88bfab45f552a27e75&shared=False HTTP/1.1" 200 912 0.012133
2015-01-07 23:46:05.095 1387 INFO neutron.wsgi [req-b40e2862-a0b9-4744-9135-3174045fa774 None] (1387) accepted ('192.168.2.52', 54413)
2015-01-07 23:46:05.104 1387 INFO neutron.wsgi [req-21e12733-622a-4c17-b5d7-b1eac5cf7a0c None] 192.168.2.52 - - [07/Jan/2015 23:46:05] "GET //v2.0/networks.json?shared=True HTTP/1.1" 200 205 0.008562
Nova Log
nova-compute.log (grep -i error server.log | tail -f)
~~~~~~~~~~~~~~~~~~~~~~~
2015-01-07 23:45:29.025 1313 ERROR nova.compute.manager [req-cf035b15-008b-4f17-87a6-a53d1cef27c9 8fba366273ec429faaeb9548b14eaab8 9d70490f1dfe4b88bfab45f552a27e75] [instance: da048196-baf7-426c-9e06-ff1f6cd218eb] Instance failed to spawn
2015-01-07 23:45:29.071 1313 DEBUG nova.compute.manager [req-cf035b15-008b-4f17-87a6-a53d1cef27c9 8fba366273ec429faaeb9548b14eaab8 9d70490f1dfe4b88bfab45f552a27e75] [instance: da048196-baf7-426c-9e06-ff1f6cd218eb] Clean up resource before rescheduling. _reschedule_or_error /usr/lib/python2.7/site-packages/nova/compute/manager.py:1414
2015-01-07 23:45:29.076 1313 ERROR nova.virt.libvirt.driver [-] [instance: da048196-baf7-426c-9e06-ff1f6cd218eb] During wait destroy, instance disappeared.
2015-01-07 23:45:29.228 1313 DEBUG neutronclient.v2_0.client [-] Error message: 404 Not Found
2015-01-07 23:45:29.376 1313 ERROR nova.compute.manager [req-cf035b15-008b-4f17-87a6-a53d1cef27c9 8fba366273ec429faaeb9548b14eaab8 9d70490f1dfe4b88bfab45f552a27e75] [instance: da048196-baf7-426c-9e06-ff1f6cd218eb] Error: Unexpected vif_type=binding_failed
==========================================================================
3 Node Configuration
Controller Node ( 192.168.2.51) - MariaDB, Keystone, RabbitMQ, Swift, Cinder and Glance
Neutron node (192.168.2.53)
~~~~~~~~~~~~~~~~~~~~~~~
Note - sed -i 's,plugins/openvswitch/ovs_neutron_plugin.ini,plugin.ini,g' /etc/systemd/system/multi-user.target.wants/neutron-openvswitch-agent.service
1. neutron.conf:
grep ^[^#] /etc/neutron/neutron.conf
[DEFAULT]
[DEFAULT]
auth_strategy = keystone
rpc_backend = neutron.openstack.common.rpc.impl_kombu
rabbit_host = 192.168.2.51
rabbit_port = 5672
rabbit_userid = neutron
rabbit_password = neutron
core_plugin = ml2
service_plugins = router
force_gateway_on_subnet = True
notify_nova_on_port_status_changes = True
notify_nova_on_port_data_changes = True
nova_url = http://192.168.2.52:8774/v2
nova_admin_username = nova
nova_admin_tenant_name = services
nova_admin_password = nova
nova_admin_auth_url = http://192.168.2.51:35357/v2.0
[quotas]
[agent]
[keystone_authtoken]
auth_host = 192.168.2.51
admin_tenant_name = services
admin_user = neutron
admin_password = neutron
auth_uri = http://192.168.2.51:5000
auth_protocol = http
auth_port = 35357
[database]
connection = mysql://neutron:neutron@192.168.2.51/neutron_ml2
[service_providers]
service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default ...
AMQP server on 192.168.2.51:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 11 seconds.
Neutron needs to be able to connect to rabbitMQ. Is rabbit running on 192.168.2.51? Because as you can see, its not able to connect.
Hi Jacob, Sorry for the confusion,, It was old log,, Updated the correct log details. The issue is in nova log file (
vif_type=binding_failed
). I updated the correct driver in nova.conf file as per Openstack Guide. Please correct me if any parameter I missed in nova.conf file