2e73bede80
Patch I253123d5451b32f0e3143916e41aaa1af75561c2 fixed the DetachedInstanceError for VolumeAttachment OVOs but only partially, as apparently it was dependent on the SQLAlchemy version due to the use os "hasattr". This patch replaces "hasattr" with a check on the object's dictionary, which will never trigger a Lazy Load. Closes-Bug: #1834845 Change-Id: Iac785eef9be4b9cdb5c739ee0a87949805282867
7 lines
211 B
YAML
7 lines
211 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fix DetachedInstanceError is not bound to a Session for VolumeAttachments.
|
|
This affected VolumeList.get_all, and could make a service fail on startup
|
|
and make it stay in down state.
|