File looks good except that [agent] section is not needed. Can you reply with some log from '/var/log/neutron/server.log' during instance launch exactly.
The vif_type=binding_failed occurs when neutron is unable to create a port for some reason. Either neutron server log or the plugin's log file should have some information why it failed in first place. On Tue, Jun 17, 2014 at 3:07 PM, Heiko Krämer <hkrae...@anynines.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Kaya, > > https://gist.github.com/foexle/e1f02066d6a9cff306f4 > > Cheers > Heiko > > On 17.06.2014 11:17, Yankai Liu wrote: > > Heiko, > > > > Would you please share your ml2_conf.ini? > > > > Best Regards, Kaya Liu 刘艳凯 Cloud Architect, Canonical > > > > > > On Tue, Jun 17, 2014 at 4:58 PM, Heiko Krämer > > <hkrae...@anynines.com> wrote: > > > > Hi guys, > > > > i'm trying to get work ml2 plugin in Icehouse (Ubuntu 14.04+cloud > > archive packages). I get everything if it try to start an > > instance: > > > > 2014-06-17 08:42:01.893 25437 TRACE oslo.messaging.rpc.dispatcher > > six.reraise(self.type_, self.value, self.tb) 2014-06-17 > > 08:42:01.893 25437 TRACE oslo.messaging.rpc.dispatcher File > > "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line > > 1396, in _reschedule_or_error 2014-06-17 08:42:01.893 25437 TRACE > > oslo.messaging.rpc.dispatcher bdms, requested_networks) 2014-06-17 > > 08:42:01.893 25437 TRACE oslo.messaging.rpc.dispatcher File > > "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line > > 2125, in _shutdown_instance 2014-06-17 08:42:01.893 25437 TRACE > > oslo.messaging.rpc.dispatcher requested_networks) 2014-06-17 > > 08:42:01.893 25437 TRACE oslo.messaging.rpc.dispatcher File > > "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", > > > > > line 68, in __exit__ > > 2014-06-17 08:42:01.893 25437 TRACE oslo.messaging.rpc.dispatcher > > six.reraise(self.type_, self.value, self.tb) 2014-06-17 > > 08:42:01.893 25437 TRACE oslo.messaging.rpc.dispatcher File > > "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line > > 2115, in _shutdown_instance 2014-06-17 08:42:01.893 25437 TRACE > > oslo.messaging.rpc.dispatcher block_device_info) 2014-06-17 > > 08:42:01.893 25437 TRACE oslo.messaging.rpc.dispatcher File > > "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", > > line 953, in destroy 2014-06-17 08:42:01.893 25437 TRACE > > oslo.messaging.rpc.dispatcher destroy_disks) 2014-06-17 > > 08:42:01.893 25437 TRACE oslo.messaging.rpc.dispatcher File > > "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", > > line 989, in cleanup 2014-06-17 08:42:01.893 25437 TRACE > > oslo.messaging.rpc.dispatcher self.unplug_vifs(instance, > > network_info) 2014-06-17 08:42:01.893 25437 TRACE > > oslo.messaging.rpc.dispatcher File > > "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", > > line 860, in unplug_vifs 2014-06-17 08:42:01.893 25437 TRACE > > oslo.messaging.rpc.dispatcher self.vif_driver.unplug(instance, > > vif) 2014-06-17 08:42:01.893 25437 TRACE > > oslo.messaging.rpc.dispatcher File > > "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line > > 798, in unplug 2014-06-17 08:42:01.893 25437 TRACE > > oslo.messaging.rpc.dispatcher _("Unexpected vif_type=%s") % > > vif_type) 2014-06-17 08:42:01.893 25437 TRACE > > oslo.messaging.rpc.dispatcher NovaException: Unexpected > > vif_type=binding_failed 2014-06-17 08:42:01.893 25437 TRACE > > oslo.messaging.rpc.dispatcher > > > > > > > > So i've found a solution but still not working yet ?! > > > > > https://ask.openstack.org/en/question/29518/unexpected-vif_typebinding_failed/?answer=32429#post-id-32429 > > > > > > > > I've checked the agent_down_time and retry interval. All neutron > > agents are present and running if i check the api. > > > > ovs plugin and ml2 plugin config are the same. > > > > DHCP and l3 agents creates ports on openvswitch (network host) but > > i get the error (above) on compute hosts. > > > > > > > > > > Modules are installed and loaded: > > > > filename: > > /lib/modules/3.13.0-29-generic/kernel/net/openvswitch/openvswitch.ko > > > > > license: GPL > > description: Open vSwitch switching datapath srcversion: > > 1CEE031973F0E4024ACC848 depends: libcrc32c,vxlan,gre intree: > > Y vermagic: 3.13.0-29-generic SMP mod_unload modversions > > signer: Magrathea: Glacier signing key sig_key: > > 66:02:CB:36:F1:31:3B:EA:01:C4:BD:A9:65:67:CF:A7:23:C9:70:D8 > > sig_hashalgo: sha512 > > > > > > > > Nova-Config [DEFAULT] libvirt_type=kvm libvirt_ovs_bridge=br-int > > libvirt_vif_type=ethernet libvirt_use_virtio_for_bridges=True > > libvirt_cpu_mode=host-passthrough > > disk_cachemodes="file=writeback,block=none" > > running_deleted_instance_action=reep > > compute_driver=libvirt.LibvirtDriver libvirt_inject_partition = -1 > > libvirt_nonblocking = True vif_plugging_is_fatal = False > > vif_plugging_timeout = 0 > > > > [..] > > > > network_api_class=nova.network.neutronv2.api.API > > neutron_url=http://net.cloud.local:9696 > > neutron_metadata_proxy_shared_secret = xxx > > neutron_auth_strategy=keystone neutron_admin_tenant_name=service > > neutron_admin_username=keystone neutron_admin_password=xxx > > neutron_admin_auth_url=https://auth-testing.cloud.local:35357/v2.0 > > linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver > > > > > firewall_driver=nova.virt.firewall.NoopFirewallDriver > > security_group_api=neutron service_neutron_metadata_proxy=true > > force_dhcp_release=True > > > > > > > > > > > > > > > > > > > > > > Do anyone have the same problem and solved it ? > > > > > > > > > > Cheers and Thanks Heiko > > > >> > >> _______________________________________________ Mailing list: > >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > >> Post to : openstack@lists.openstack.org Unsubscribe : > >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > >> > > > > - -- > Anynines.com > > B.Sc. Informatik > CIO > Heiko Krämer > > > Twitter: @anynines > > - - ---- > Geschäftsführer: Alexander Faißt, Dipl.-Inf.(FH) Julian Fischer > Handelsregister: AG Saarbrücken HRB 17413, Ust-IdNr.: DE262633168 > Sitz: Saarbrücken > Avarteq GmbH > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.14 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJToAxZAAoJELxFogM4ixOFCugH/2FdTIuCOjX3i0s7Rh4qwwjC > WSbWnXktT37UuPikjeetiuocPbY0mfpumJdXe83q1VP2di4Epg9tNTrwq9gb2DpE > NklATmu8VjEPKxZ4VBJrtTZ5ITjz/JyQL3TzTrgZPOFUTV6HF6Uh2UDpAYGvMt7h > lSGuFZsKT1Fazp40xIZr7gkKq5n7oefx4Zg337u7dNNabLPQFeWJ5UXT3IY7e/Xt > PK1pxCNovgLIWgBIAUoHKeZwDItmQb/XG/6QClecdxaxyASqghlKv+LN73n5itg1 > Ok+erfJ/V15w3ujlIN67luld+nEmA77hAC8AhbjLDiSNyc0ywKYs91Ljs3BXAps= > =uiC1 > -----END PGP SIGNATURE----- > > _______________________________________________ > Mailing list: > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack