Problem: Volumes attached prior to the os-brick < 6.13.0 and driver < 3.6.0 release does not store ``sdc_guid``. The detach workflow introduced in os-brick=6.13.0 and driver=3.6.0 assumes ``sdc_guid`` is present, causing detach operations to error for legacy attachments. Fix: Adds backward compatibility for detach operations on legacy volumes that do not include an sdc_guid in the connector information. When the sdc_guid field is missing, the detachment is now handled by os-brick to ensure successful unmap operations for legacy attachments. Closes-Bug: #2138280 Change-Id: Iefe9dc7a411af3e01e0333e7bfe0c2dbd926d8ae Signed-off-by: Nilesh Thathagar <nilesh.thathagar@dell.com>
Team and repository tags
brick
OpenStack Cinder brick library for managing local volume attaches
Features
- Discovery of volumes being attached to a host for many transport protocols.
- Removal of volumes from a host.
Hacking
Hacking on brick requires Python 3.8+. A recent tox is required, as is a recent virtualenv (20.2.2 or newer).
- For any other information, refer to the developer documents:
- OR refer to the parent project, Cinder:
- Release notes for the project can be found at:
- License: Apache License, Version 2.0
- Source: https://opendev.org/openstack/os-brick
- Bugs: https://bugs.launchpad.net/os-brick
Description
Languages
Python
99.6%
Shell
0.4%