Comment 42 for bug 2004555

Revision history for this message
Gorka Eguileor (gorka) wrote : Re: [ussuri] Wrong volume attachment - volumes overlapping when connected through iscsi on host

Hi Melanie,

I have tried the patch and works as expected, resolving the most common case of having leftover devices on Compute nodes. Thanks!!

Dan mentioned that the delete of an instance is more in line with a power removal of a computer than a shutdown, and that's why using `force=True` makes sense because it will try to do it cleanly if possible but data loss is possible.

I looked at the API docs [1] for the delete operation and I don't see this idea stated there. Should we update the docs to explicitly state that deleting an instance can result in data loss?

Cheers.

[1]: https://docs.openstack.org/api-ref/compute/?expanded=detach-a-volume-from-an-instance-detail,show-a-detail-of-a-volume-attachment-detail,show-server-action-details-detail,delete-server-detail#delete-server