cinder/releasenotes/notes/bug-1887885-nec-fix-snapshot-detach-error-fff3012e0e9a2d2b.yaml
Naoki Saito 6e8dd2f0c0 NEC driver: fix a snapshot detach error
In NEC driver, _fc_terminate_connection() refers to
Volume.volume_attachment of an argument.
However, the argument is a snapshot object when a snapshot is being
detached.
The snapshot object does not have the "volume_attachment" attribute.

This patch avoids referring to the "volume_attachment" attribute when
the argument is a snapshot.

Change-Id: Ibc5fa0901ae9c0766f98d623357bade266598bff
Closes-Bug: #1887885
2020-09-16 18:28:39 +09:00

7 lines
136 B
YAML

---
fixes:
- |
`Bug #1887885 <https://bugs.launchpad.net/cinder/+bug/1887885>`_:
In NEC driver, fix a snapshot detach error.