Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

live-migration failed

I have installed the NFS to try live-migration. Controller acts as NFS server. Compute node act as NFS client. I can sure the NFS is ok, and I also changed the /etc/default/libvirt-bin: start_libvirtd="yes" libvirtd_opts="-d -l" and /etc/libvirt/libvirtd.conf: listen_tls = 0 listen_tcp = 1 unix_sock_group = "libvirtd" unix_sock_ro_perms = "0777" unix_sock_rw_perms = "0770" auth_unix_ro = "none" auth_unix_rw = "none" auth_tcp = "none"

And restarted the libvirtd/compute-service on compute-node, restart the nova&neutron service on controller.

However, the live-migration failed per below stack: 2017-02-24 07:57:55.041 11331 WARNING nova.virt.libvirt.driver [req-3fef4efa-1c57-411c-84fc-f01bf08abb7b 290b9e207d184d8d9091456d74e48b7c 7a86b291714646d78d70049d9f6143c9 - - -] [instance: e4c9755d-8cd4-4e51-87e5-48607535a3b4] Timeout waiting for vif plugging callback for instance e4c9755d-8cd4-4e51-87e5-48607535a3b4 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher [req-3fef4efa-1c57-411c-84fc-f01bf08abb7b 290b9e207d184d8d9091456d74e48b7c 7a86b291714646d78d70049d9f6143c9 - - -] Exception during message handling: Virtual Interface creation failed 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last): 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher executor_callback)) 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher executor_callback) 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher result = func(ctxt, *new_args) 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 89, in wrapped 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher payload) 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 195, in __exit__ 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 72, in wrapped 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher return f(self, context, *args, *kw) 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 400, in decorated_function 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher return function(self, context, args, *kwargs) 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 378, in decorated_function 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher kwargs['instance'], e, sys.exc_info()) 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 195, in __exit__ 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 366, in decorated_function 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher return function(self, context, args, *kwargs) 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 5112, in pre_live_migration 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher migrate_data) 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 6397, in pre_live_migration 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher raise exception.VirtualInterfaceCreateException() 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher VirtualInterfaceCreateException: Virtual Interface creation failed 2017-02-24 07:57:55.116 11331 ERROR oslo_messaging.rpc.dispatcher 2017-02-24 07:57:55.118 11331 ERROR oslo_messaging._drivers.common [req-3fef4efa-1c57-411c-84fc-f01bf08abb7b 290b9e207d184d8d9091456d74e48b7c 7a86b291714646d78d70049d9f6143c9 - - -] Returning exception Virtual Interface creation failed to caller

After changed the /etc/nova/nova.conf vif_plugging_is_fatal to False, no error log, but live-migration still failed.

Any one can help on this? Thanks in advance.

Xin Gao