When migrating volumes from one type to another, the following errors raise in c-vol log, though finally the volume can be successfully migrated.
It happens on both the volumes with attach or without attach.
===========================================c-vol==================================================
2015-03-11 09:58:54.524 WARNING cinder.quota [-] Deprecated: Default quota for resource: gigabytes_lvmdriver-1 is set by the default q
uota flag: quota_gigabytes_lvmdriver-1, it is now deprecated. Please use the default quota class for default quota.
2015-03-11 09:58:54.526 WARNING cinder.quota [-] Deprecated: Default quota for resource: volumes_lvmdriver-1 is set by the default quo
ta flag: quota_volumes_lvmdriver-1, it is now deprecated. Please use the default quota class for default quota.
2015-03-11 09:58:54.586 DEBUG cinder.quota [-] Created reservations ['86bb65ed-abb9-4112-9626-1df91f4c2065', '93920a0f-c79e-4ecf-9fc0-
6f1ea7eedb0a', '5bc56a8b-f019-4b21-a924-bd656b6fffe4', '9f8a0936-97f0-4d55-9b74-4b06ac3dd748'] from (pid=12273) reserve /opt/stack/cin
der/cinder/quota.py:761
2015-03-11 09:58:54.850 ERROR cinder.volume.manager [-] Volume 137288c8-fc8f-4997-90f3-80387e49d996: driver error when trying to retyp
e, falling back to generic mechanism.
2015-03-11 09:58:54.853 ERROR cinder.volume.manager [-] retype() takes exactly 2 arguments (6 given)
2015-03-11 09:58:54.853 TRACE cinder.volume.manager Traceback (most recent call last):
2015-03-11 09:58:54.853 TRACE cinder.volume.manager File "/opt/stack/cinder/cinder/volume/manager.py", line 1565, in retype
2015-03-11 09:58:54.853 TRACE cinder.volume.manager host)
2015-03-11 09:58:54.853 TRACE cinder.volume.manager File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105,
in wrapper
2015-03-11 09:58:54.853 TRACE cinder.volume.manager return f(*args, **kwargs)
2015-03-11 09:58:54.853 TRACE cinder.volume.manager TypeError: retype() takes exactly 2 arguments (6 given)
2015-03-11 09:58:54.853 TRACE cinder.volume.manager
2015-03-11 09:58:55.251 DEBUG oslo_messaging._drivers.amqp [-] UNIQUE_ID is 910f9e83490e41058495c8b2dff71fed. from (pid=12273) _add_un
ique_id /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp.py:224
====================================================================================================
Fix proposed to branch: master /review. openstack. org/163338
Review: https:/