forked from openstack/cinder
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incremental patch I516b7c82b05b26e81195f7f106d43a9e0804082d introduced a regression, breaking the volume backup export functionality. Apparently, the newly introduced "parent" db field isn't serialized properly. This is the traceback from the launchpad bug: oslo_versionedobjects.exception.ObjectActionError: Object action obj_load_attr failed because: attribute parent not lazy-loadable Looking at the traceback, and the Backup OVO code it seems like we have 2 problems: - We don't support lazy loading the parent - We try to serialize the parent Co-Authored-By: Gorka Eguileor <[email protected]> Change-Id: I017602353e96cf9f0922074f94276002b17d1359 Closes-Bug: #1862635 (cherry picked from commit a989693) modified: cinder/tests/unit/objects/test_backup.py - pyflake issue #202 (cherry picked from commit 6dfbec7) (cherry picked from commit 196b678)
- Loading branch information
1 parent
7068da1
commit bcea359
Showing
2 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters