yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05376
[Bug 1226826] Re: VMwareVCDriver: detaching volume fails with TypeError
** Changed in: nova
Status: Fix Committed => Fix Released
--
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/1226826
Title:
VMwareVCDriver: detaching volume fails with TypeError
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
When VMwareVCDriver is being used, detaching a volume will fail. The
following error shows up in the n-cpu log:
Traceback (most recent call last):
File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
**args)
File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
result = getattr(proxyobj, method)(ctxt, **kwargs)
File "/opt/stack/nova/nova/exception.py", line 89, in wrapped
payload)
File "/opt/stack/nova/nova/exception.py", line 73, in wrapped
return f(self, context, *args, **kw)
File "/opt/stack/nova/nova/compute/manager.py", line 244, in decorated_function
pass
File "/opt/stack/nova/nova/compute/manager.py", line 230, in decorated_function
return function(self, context, *args, **kwargs)
File "/opt/stack/nova/nova/compute/manager.py", line 272, in decorated_function
e, sys.exc_info())
File "/opt/stack/nova/nova/compute/manager.py", line 259, in decorated_function
return function(self, context, *args, **kwargs)
File "/opt/stack/nova/nova/compute/manager.py", line 3720, in detach_volume
self._detach_volume(context, instance, bdm)
File "/opt/stack/nova/nova/compute/manager.py", line 3692, in _detach_volume
self.volume_api.roll_detaching(context, volume_id)
File "/opt/stack/nova/nova/compute/manager.py", line 3685, in _detach_volume
encryption=encryption)
ypeError: detach_volume() got an unexpected keyword argument 'encryption'
Full log of detach operation here:
http://paste.openstack.org/show/47179/
The solution is to update the VMwareVCDriver method "detach_volume" to
take an "encryption" argument.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1226826/+subscriptions