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
Cinder Reference Documentation (source/reference)
Introduction:
This directory is intended to hold any reference documentation for Cinder that doesn't fit into 'install', 'contributor', 'configuration', 'cli', 'admin', or 'user' categories.
The full spec for organization of documentation may be seen in the OS Manuals Migration Spec <https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html>.