cinder/releasenotes/notes/bug-1887885-nec-fix-snapshot-detach-error-fff3012e0e9a2d2b.yaml
Naoki Saito 39905d5df3 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
(cherry picked from commit 6e8dd2f0c0)
(cherry picked from commit 7e98b66a17)
2020-10-08 01:05:55 +00:00

7 lines
136 B
YAML

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