yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #17487
[Bug 1346816] [NEW] live migration failed when using shared instance path with QCOW2
Public bug reported:
Currently, live migration will be failed when using shared instance path with QCOW2 because of 'instance_dir' was not defined.
File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
result = getattr(endpoint, method)(ctxt, **new_args)
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 410, in decorated_function
return function(self, context, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped
payload)
File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 82, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.6/site-packages/nova/exception.py", line 71, in wrapped
return f(self, context, *args, **kw)
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 323, in decorated_function
kwargs['instance'], e, sys.exc_info())
File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 82, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 311, in decorated_function
return function(self, context, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 4661, in pre_live_migration
migrate_data)
File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 4739, in pre_live_migration
instance_dir, disk_info)
UnboundLocalError: local variable 'instance_dir' referenced before assignment
to caller
** Affects: nova
Importance: Undecided
Assignee: Jay Lau (jay-lau-513)
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1346816
Title:
live migration failed when using shared instance path with QCOW2
Status in OpenStack Compute (Nova):
New
Bug description:
Currently, live migration will be failed when using shared instance path with QCOW2 because of 'instance_dir' was not defined.
File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
result = getattr(endpoint, method)(ctxt, **new_args)
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 410, in decorated_function
return function(self, context, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped
payload)
File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 82, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.6/site-packages/nova/exception.py", line 71, in wrapped
return f(self, context, *args, **kw)
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 323, in decorated_function
kwargs['instance'], e, sys.exc_info())
File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 82, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 311, in decorated_function
return function(self, context, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 4661, in pre_live_migration
migrate_data)
File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 4739, in pre_live_migration
instance_dir, disk_info)
UnboundLocalError: local variable 'instance_dir' referenced before assignment
to caller
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1346816/+subscriptions
Follow ups
References