[openstack-dev] [Cinder] [Nova]Do you think volume force delete operation should not apply to the volume being used?

zhangyu (AI) zhangyu11 at huawei.com
Wed Feb 26 00:56:17 UTC 2014


If I understand your question correctly, the case you describe should be like the following:

Assume we have created both an instance and a volume, then we try to  attach that volume to the instance.
Before that operation is completed (the status of the volume is "attaching" now), for whatever reasons we decide to apply a "force delete" operation on that volume.
Then, after we applied that force delete, we come to see that, from the Cinder side, the volume has been successfully deleted and the status is surely "deleted".
However, from the Nova side, we see that the status of the deleted volume remains to be "attaching".

If this is truly your case, I think it is a bug. The reason might lie in that, Cinder forgets to refresh the attach_status attribute of a volume in DB when applying a "force delete" operation.
Is there any other suggestions?

Thanks!



From: yunling [mailto:yunlingzeng at hotmail.com]
Sent: Monday, February 17, 2014 9:14 PM
To: openstack-dev at lists.openstack.org
Subject: [openstack-dev] [Cinder]Do you think volume force delete operation should not apply to the volume being used?

Hi stackers:


I found that volume status become inconsistent (nova volume status is attaching, verus cinder volume status is deleted) between nova and cinder when doing volume force delete operation on an attaching volume.
I think volume force delete operation should not apply to the volume being used, which included the attached status of attaching, attached and detached.


How do you think?


thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140226/c5679f9f/attachment.html>


More information about the OpenStack-dev mailing list