若超时发生,并且vif_plugging_is_fatal为True,nova首先执行guest.poweroff,停止qemu进程;然后执行cleanup函数,先清除网络资源,使用函数_unplug_vifs,删除plug_vifs函数创建的ovs port,ovs agent检测到了删除端口的事件然后通知neutron-server删除neutron db中的port信息,最后抛VirtualInterfaceCreateException。 如果vif_plugg...
vif_plugging_is_fatal = False vif_plugging_timeout = 0 [..] network_api_class=nova.network.neutronv2.api.API neutron_url=http://net.cloud.local:9696neutron_metadata_proxy_shared_secret = xxx neutron_auth_strategy=keystone neutron_admin_tenant_name=service neutron_admin_username=keystone neutro...
>>> 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:9...