It turned out that extra white space in the neutron.conf file was causing the issue. After i removed the whitespace, it works fine..
** Changed in: neutron Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1315150 Title: on VM launch Unexpected vif_type=binding_failed Status in OpenStack Neutron (virtual network service): Invalid Bug description: I am running Icehouse on Ubuntu 14.04. Whenever I try to launch a VM it immediately goes into error state. This is simillar to Bug #1303998, which was recently triaged and found to be a config error. I have rechecked all my configurations and they look fine. I have 3 node cloud, Controller node - runs controller and network nodes. Compute1 and compute2 are the compute nodes. I have configured the gre tunnels as per the http://docs.openstack.org/trunk/install-guide/install/apt/content/section_neutron-networking.html The nova-compute log file shows the following: ------------> 2014-05-01 16:23:32.276 2130 DEBUG nova.virt.libvirt.vif [req-cc20dfdf-c39d-4e14-b640-9218877757b0 25ec40760e4d44e6829c427731578e98 c788a59c14ea4aff966f6911d1c3bdee] vif_type=binding_failed instance=<nova.objects.instance.Instance object at 0x7f2dd40fd0d0> vif=VIF({'ovs_interfaceid': None, 'network': Network({'bridge': None, 'subnets': [Subnet({'ips': [FixedIP({'meta': {}, 'version': 4, 'type': 'fixed', 'floating_ips': [], 'address': u'20.20.20.13'})], 'version': 4, 'meta': {'dhcp_server': u'20.20.20.2'}, 'dns': [], 'routes': [], 'cidr': u'20.20.20.0/24', 'gateway': IP({'meta': {}, 'version': 4, 'type': 'gateway', 'address': u'20.20.20.1'})})], 'meta': {'injected': False, 'tenant_id': u'c788a59c14ea4aff966f6911d1c3bdee'}, 'id': u'6d55f26b-1d32-4b7e-9621-55e141d09dc9', 'label': u'demo-network'}), 'devname': u'tap101a056b-c5', 'qbh_params': None, 'meta': {}, 'details': {}, 'address': u'fa:16:3e:3f:8a:73', 'active': False, 'type': u'binding_failed', 'id': u'101a056b-c543-497b-8cbd-412 27a8a7547', 'qbg_params': None}) get_config /usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py:336 2014-05-01 16:23:32.277 2130 ERROR nova.compute.manager [req-cc20dfdf-c39d-4e14-b640-9218877757b0 25ec40760e4d44e6829c427731578e98 c788a59c14ea4aff966f6911d1c3bdee] [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] Instance failed to spawn 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] Traceback (most recent call last): 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1720, in _spawn 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] block_device_info) 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2250, in spawn 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] write_to_disk=True) 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3431, in to_xml 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] disk_info, rescue, block_device_info) 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3247, in get_guest_config 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] flavor) 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384, in get_config 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] _("Unexpected vif_type=%s") % vif_type) 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] NovaException: Unexpected vif_type=binding_failed 2014-05-01 16:23:32.277 2130 TRACE nova.compute.manager [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] 2014-05-01 16:23:32.301 2130 DEBUG nova.compute.claims [req-cc20dfdf-c39d-4e14-b640-9218877757b0 25ec40760e4d44e6829c427731578e98 c788a59c14ea4aff966f6911d1c3bdee] [instance: 71c68a41-3e76-49e2-947c-62002c79deb4] Aborting claim: [Claim: 4096 MB memory, 40 GB disk, 2 VCPUS] abort /usr/lib/python2.7/dist-packages/nova/compute/claims.py:113 --------------> neutron.conf file looks as below: ------------------------------------ DEFAULT] # Print more verbose output (set logging level to INFO instead of default WARNING level). # verbose = true debug = true # Where to store Neutron state files. This directory must be writable by the # user executing the agent. state_path = /var/lib/neutron lock_path = $state_path/lock core_plugin = ml2 service_plugins = router allow_overlapping_ips = True auth_strategy = keystone rpc_backend = neutron.openstack.common.rpc.impl_kombu rabbit_host = controller rabbit_password = guest notification_driver = neutron.openstack.common.notifier.rpc_notifier agent_down_time = 75 notify_nova_on_port_status_changes = True notify_nova_on_port_data_changes = True nova_url = http://controller:8774/v2 nova_region_name = RegionOne nova_admin_username = nova nova_admin_tenant_id = e90951d0cc2e411ea23a2ed8dcca4f33 nova_admin_password = nova nova_admin_auth_url = http://controller:35357/v2.0 [agent] root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf report_interval = 15 [keystone_authtoken] auth_uri = http://controller:5000 auth_host = controller auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = neutron admin_password = neutron signing_dir = $state_path/keystone-signing [database] connection = mysql://neutron:neutron@controller/neutron ----------------------------- ml2_conf.ini file looks as below: ------------------------------------ [ml2] type_drivers = gre tenant_network_types = gre mechanism_drivers = openvswitch [ml2_type_gre] tunnel_id_ranges = 1:1000 [securitygroup] firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver enable_security_group = True [ovs] local_ip = 192.168.140.50 enable_tunneling = True integration_bridge = br-int tunnel_bridge = br-tun tunnel_id_ranges = 1:1000 tenant_network_type = gre tunnel_types = gre [agent] tunnel_types = gre l2_population = True -------------------- I have looked around the install guides and other bug reports but i can get this to work. Please help !! To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1315150/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp