When doing a copy volume to image we get an exception because the 3PAR drivers don't default the third parameter to terminate_connection() method.
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last):
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp File "/opt/stack/cinder/cinder/openstack/common/rpc/amqp.py", line 433, in _process_data
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp **args)
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp File "/opt/stack/cinder/cinder/openstack/common/rpc/dispatcher.py", line 148, in dispatch
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp File "/opt/stack/cinder/cinder/volume/manager.py", line 647, in copy_volume_to_image
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp payload['message'] = unicode(error)
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp self.gen.next()
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp File "/opt/stack/cinder/cinder/volume/manager.py", line 642, in copy_volume_to_image
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp image_meta)
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp File "/opt/stack/cinder/cinder/volume/driver.py", line 418, in copy_volume_to_image
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp self.terminate_connection(volume, connector)
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp File "/opt/stack/cinder/cinder/openstack/common/lockutils.py", line 232, in inner
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp retval = f(*args, **kwargs)
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp TypeError: terminate_connection() takes exactly 4 arguments (3 given)
2013-06-10 14:52:31.806 TRACE cinder.openstack.common.rpc.amqp
Fix proposed to branch: master /review. openstack. org/32757
Review: https:/