I just hit a similar issue (note: I didn't make a typo Phil mentioned in comment #5) while I was testing on Fedora 20 with Neutron+ML2+OVS+GRE with IceHouse release . My setup is more completely described here[1].
--------------------------------- . . . 2014-05-13 07:06:32.123 29455 TRACE nova.compute.manager [instance: 950de10f-4368-4498-b46a-b1595d057e38] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3431, in to_xml 2014-05-13 07:06:32.123 29455 TRACE nova.compute.manager [instance: 950de10f-4368-4498-b46a-b1595d057e38] disk_info, rescue, block_device_info) 2014-05-13 07:06:32.123 29455 TRACE nova.compute.manager [instance: 950de10f-4368-4498-b46a-b1595d057e38] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3247, in get_guest_config 2014-05-13 07:06:32.123 29455 TRACE nova.compute.manager [instance: 950de10f-4368-4498-b46a-b1595d057e38] flavor) 2014-05-13 07:06:32.123 29455 TRACE nova.compute.manager [instance: 950de10f-4368-4498-b46a-b1595d057e38] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/vif.py", line 384, in get_config 2014-05-13 07:06:32.123 29455 TRACE nova.compute.manager [instance: 950de10f-4368-4498-b46a-b1595d057e38] _("Unexpected vif_type=%s") % vif_type) 2014-05-13 07:06:32.123 29455 TRACE nova.compute.manager [instance: 950de10f-4368-4498-b46a-b1595d057e38] NovaException: Unexpected vif_type=binding_failed 2014-05-13 07:06:32.123 29455 TRACE nova.compute.manager [instance: 950de10f-4368-4498-b46a-b1595d057e38] 2014-05-13 07:06:32.846 29455 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: Unexpected vif_type=binding_failed ---------------------------------
[1] https://www.redhat.com/archives/rdo-list/2014-May/msg00060.html
ml2_config.ini and nova.conf ------------------------------------
ml2 plugin:
$ cat /etc/neutron/plugin.ini | grep -v ^$ | grep -v ^# [ml2] type_drivers = gre tenant_network_types = gre mechanism_drivers = openvswitch [ml2_type_flat] [ml2_type_vlan] [ml2_type_gre] tunnel_id_ranges = 1:1000 [ml2_type_vxlan] [securitygroup] firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver enable_security_group = True
nova.conf:
$ cat /etc/nova/nova.conf | grep -v ^$ | grep -v ^# [DEFAULT] logdir = /var/log/nova state_path = /var/lib/nova lock_path = /var/lib/nova/tmp volumes_dir = /etc/nova/volumes dhcpbridge = /usr/bin/nova-dhcpbridge dhcpbridge_flagfile = /etc/nova/nova.conf force_dhcp_release = True injected_network_template = /usr/share/nova/interfaces.template libvirt_nonblocking = True libvirt_use_virtio_for_bridges=True libvirt_inject_partition = -1 #libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver #libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver #iscsi_helper = tgtadm sql_connection = mysql://nova:nova@192.169.142.97/nova compute_driver = libvirt.LibvirtDriver libvirt_type=qemu rootwrap_config = /etc/nova/rootwrap.conf auth_strategy = keystone firewall_driver=nova.virt.firewall.NoopFirewallDriver enabled_apis = ec2,osapi_compute,metadata my_ip=192.169.142.168 network_api_class = nova.network.neutronv2.api.API neutron_url = http://192.169.142.97:9696 neutron_auth_strategy = keystone neutron_admin_tenant_name = services neutron_admin_username = neutron neutron_admin_password = fedora neutron_admin_auth_url = http://192.169.142.97:35357/v2.0 linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver firewall_driver = nova.virt.firewall.NoopFirewallDriver security_group_api = neutron rpc_backend = nova.rpc.impl_kombu rabbit_host = 192.169.142.97 rabbit_port = 5672 rabbit_userid = guest rabbit_password = fedora glance_host = 192.169.142.97 [keystone_authtoken] auth_uri = http://192.169.142.97:5000 admin_tenant_name = services admin_user = nova admin_password = fedora auth_host = 192.169.142.97 auth_port = 35357 auth_protocol = http signing_dirname = /tmp/keystone-signing-nova
I just hit a similar issue (note: I didn't make a typo Phil mentioned in comment #5) while I was testing on Fedora 20 with Neutron+ML2+OVS+GRE with IceHouse release . My setup is more completely described here[1].
------- ------- ------- ------- ----- manager [instance: 950de10f- 4368-4498- b46a-b1595d057e 38] File "/usr/lib/ python2. 7/site- packages/ nova/virt/ libvirt/ driver. py", line 3431, in to_xml manager [instance: 950de10f- 4368-4498- b46a-b1595d057e 38] disk_info, rescue, block_device_info) manager [instance: 950de10f- 4368-4498- b46a-b1595d057e 38] File "/usr/lib/ python2. 7/site- packages/ nova/virt/ libvirt/ driver. py", line 3247, in get_guest_config manager [instance: 950de10f- 4368-4498- b46a-b1595d057e 38] flavor) manager [instance: 950de10f- 4368-4498- b46a-b1595d057e 38] File "/usr/lib/ python2. 7/site- packages/ nova/virt/ libvirt/ vif.py" , line 384, in get_config manager [instance: 950de10f- 4368-4498- b46a-b1595d057e 38] _("Unexpected vif_type=%s") % vif_type) manager [instance: 950de10f- 4368-4498- b46a-b1595d057e 38] NovaException: Unexpected vif_type= binding_ failed manager [instance: 950de10f- 4368-4498- b46a-b1595d057e 38] rpc.dispatcher [-] Exception during message handling: Unexpected vif_type= binding_ failed ------- ------- ------- -----
.
.
.
2014-05-13 07:06:32.123 29455 TRACE nova.compute.
2014-05-13 07:06:32.123 29455 TRACE nova.compute.
2014-05-13 07:06:32.123 29455 TRACE nova.compute.
2014-05-13 07:06:32.123 29455 TRACE nova.compute.
2014-05-13 07:06:32.123 29455 TRACE nova.compute.
2014-05-13 07:06:32.123 29455 TRACE nova.compute.
2014-05-13 07:06:32.123 29455 TRACE nova.compute.
2014-05-13 07:06:32.123 29455 TRACE nova.compute.
2014-05-13 07:06:32.846 29455 ERROR oslo.messaging.
-------
[1] https:/ /www.redhat. com/archives/ rdo-list/ 2014-May/ msg00060. html
ml2_config.ini and nova.conf ------- ------- ------- ------- -
-------
ml2 plugin:
$ cat /etc/neutron/ plugin. ini | grep -v ^$ | grep -v ^# network_ types = gre drivers = openvswitch id_ranges = 1:1000 type_vxlan] agent.linux. iptables_ firewall. OVSHybridIptabl esFirewallDrive r security_ group = True
[ml2]
type_drivers = gre
tenant_
mechanism_
[ml2_type_flat]
[ml2_type_vlan]
[ml2_type_gre]
tunnel_
[ml2_
[securitygroup]
firewall_driver = neutron.
enable_
nova.conf:
$ cat /etc/nova/nova.conf | grep -v ^$ | grep -v ^# nova-dhcpbridge flagfile = /etc/nova/nova.conf dhcp_release = True network_ template = /usr/share/ nova/interfaces .template nonblocking = True use_virtio_ for_bridges= True inject_ partition = -1 vif_driver= nova.virt. libvirt. vif.LibvirtGene ricVIFDriver vif_driver= nova.virt. libvirt. vif.LibvirtHybr idOVSBridgeDriv er /nova:nova@ 192.169. 142.97/ nova LibvirtDriver type=qemu rootwrap. conf driver= nova.virt. firewall. NoopFirewallDri ver compute, metadata ip=192. 169.142. 168 api_class = nova.network. neutronv2. api.API 192.169. 142.97: 9696 auth_strategy = keystone admin_tenant_ name = services admin_username = neutron admin_password = fedora admin_auth_ url = http:// 192.169. 142.97: 35357/v2. 0 interface_ driver = nova.network. linux_net. LinuxOVSInterfa ceDriver firewall. NoopFirewallDri ver group_api = neutron authtoken] 192.169. 142.97: 5000 tenant_ name = services signing- nova
[DEFAULT]
logdir = /var/log/nova
state_path = /var/lib/nova
lock_path = /var/lib/nova/tmp
volumes_dir = /etc/nova/volumes
dhcpbridge = /usr/bin/
dhcpbridge_
force_
injected_
libvirt_
libvirt_
libvirt_
#libvirt_
#libvirt_
#iscsi_helper = tgtadm
sql_connection = mysql:/
compute_driver = libvirt.
libvirt_
rootwrap_config = /etc/nova/
auth_strategy = keystone
firewall_
enabled_apis = ec2,osapi_
my_
network_
neutron_url = http://
neutron_
neutron_
neutron_
neutron_
neutron_
linuxnet_
firewall_driver = nova.virt.
security_
rpc_backend = nova.rpc.impl_kombu
rabbit_host = 192.169.142.97
rabbit_port = 5672
rabbit_userid = guest
rabbit_password = fedora
glance_host = 192.169.142.97
[keystone_
auth_uri = http://
admin_
admin_user = nova
admin_password = fedora
auth_host = 192.169.142.97
auth_port = 35357
auth_protocol = http
signing_dirname = /tmp/keystone-