When I am to delete a volume,I got "Volume device file path does not ".

asked 2015-04-15 21:24:21 -0600

schoelry gravatar image

updated 2015-04-16 19:11:52 -0600

smaffulli gravatar image

I am using Tempest to test cinder,when try to delete volumn,error occured.See the cinder's log,error message was been founded.

2015-04-13 17:09:21.662 30094 ERROR oslo.messaging.rpc.dispatcher [req-32e5e5dd-ac35-4cc7-ac43-64ca459326a1 dfb31f902c42466cb6ba394bc7545d27 f26b8187074a425ca80fb9982f7ff673 - - -] Exception during message handling: Bad or unexpected response from the storage volume backend API: Volume device file path does not exist./dev/mapper/cinder--volumes-volume--4b766459--f7e5--4e32--ae73--9e72c59dd952 does not exist.
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 144, in lvo_inner1
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher     return lvo_inner2(inst, context, volume_id, **kwargs)
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/cinder/openstack/common/lockutils.py", line 233, in inner
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher     retval = f(*args, **kwargs)
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 143, in lvo_inner2
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher     return f(*_args, **_kwargs)
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 416, in delete_volume
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher     {'status': 'error_deleting'})
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/cinder/openstack/common/excutils.py", line 68, in __exit__
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 405, in delete_volume
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher     self.driver.delete_volume(volume_ref)
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/lvm.py", line 233, in delete_volume
2015-04-13 17:09:21.662 30094 TRACE oslo.messaging.rpc.dispatcher     self._delete_volume(volume)
2015-04-13 17:09:21.662 30094 TRACE ...
(more)
edit retag flag offensive close merge delete