cinder/releasenotes/notes/bug-reno-69539ecb9b0b5464.yaml
Jay Rubenstein d1b3adfbe4 SF ensure the correct volume is deleted
When two management systems are available openstack/cinder and
SolidFire-API/GUI  a volume can be deleted though either interface. Thus
if a volume is deleted through the SolidFire-interface and then again
through the openstack/cinder interface it was possible to delete another
volume.

The original code made an incorrect assumption on all the possible values returned
from a query to find the target volume. This could lead to deleting a
volume that was not the target of the original delete command from openstack/cinder.

The correction in the module _get_sfvol_by_cinder_vref  validates that the
returned object/volumes-id matchs the requested volume-id with a
comparison of svol['volumeID'] to int(sf_vid)

Closes-Bug: #1782373
Change-Id: I92a8e76c64c4e23dd185875e009132938ace5091
2018-10-04 12:43:50 -06:00

6 lines
116 B
YAML

---
fixes:
- |
The Solidfire cinder driver has been fixed to ensure delete happens
on the correct volume.