In current release(Kilo), when unmanage a volume, driver would return "Unmanage volume not implemented"
below is the error log:
4b849d79c505ac79c09e - - -] Lock "df088958-425c-42b1-9ddb-7b4b100779b7-delete_volume" released by "lvo_inner2" :: held 0.109s inner /usr/local/lib/pyth
on2.7/dist-packages/oslo_concurrency/lockutils.py:442
2015-03-08 12:29:33.320 135504 ERROR oslo_messaging.rpc.dispatcher [req-858afb2b-d3d5-4bce-b9c2-36532c6419a8 4defb9ac5b694226852422f59518cae5 86957cc0d
e774b849d79c505ac79c09e - - -] Exception during message handling: Unmanage volume not implemented.
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", li
ne 142, in _dispatch_and_reply
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher executor_callback))
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", li
ne 186, in _dispatch
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher executor_callback)
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", li
ne 130, in _do_dispatch
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in
wrapper
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher return f(*args, **kwargs)
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in
wrapper
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher return f(*args, **kwargs)
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in
wrapper
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher return f(*args, **kwargs)
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in
wrapper
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher return f(*args, **kwargs)
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in
wrapper
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher return f(*args, **kwargs)
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/manager.py", line 134, in lvo_inner1
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher return lvo_inner2(inst, context, volume_id, **kwargs)
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line
431, in inner
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher return f(*args, **kwargs)
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/manager.py", line 133, in lvo_inner2
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher return f(*_args, **_kwargs)
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/manager.py", line 509, in delete_volume
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher {'status': 'error_deleting'})
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 82, in
__exit__
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/manager.py", line 496, in delete_volume
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher self.driver.unmanage(volume_ref)
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in
wrapper
2015-03-08 12:29:33.320 135504 TRACE oslo_messaging.rpc.dispatcher return f(*args, **kwargs)
Fix proposed to branch: master /review. openstack. org/162532
Review: https:/