[Bug 1561056] Re: cinder volume driver's detach() causes TypeError exception on v1 cinder client
Corey Wright
corey.wright at rackspace.com
Wed Mar 23 15:30:39 UTC 2016
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 379, in decorated_function
return function(self, context, *args, **kwargs)
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 2525, in terminate_instance
do_terminate_instance(instance, bdms)
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 271, in inner
return f(*args, **kwargs)
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 2523, in do_terminate_instance
self._set_instance_obj_error_state(context, instance)
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 2513, in do_terminate_instance
self._delete_instance(context, instance, bdms, quotas)
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/nova/hooks.py", line 149, in inner
rv = f(*args, **kwargs)
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 2476, in _delete_instance
quotas.rollback()
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 2451, in _delete_instance
self._shutdown_instance(context, instance, bdms)
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 2367, in _shutdown_instance
self.volume_api.detach(context, bdm.volume_id, instance.uuid)
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/nova/volume/cinder.py", line 249, in wrapper
res = method(self, ctx, volume_id, *args, **kwargs)
File "/opt/rackstack/rackstack.532.4/nova/lib/python2.7/site-packages/nova/volume/cinder.py", line 411, in detach
cinderclient(context).volumes.detach(volume_id, attachment_id)
TypeError: detach() takes exactly 2 arguments (3 given)
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1561056
Title:
cinder volume driver's detach() causes TypeError exception on v1
cinder client
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1561056/+subscriptions
More information about the Ubuntu-server-bugs
mailing list