cinder/cinder/tests/unit/objects
Sofia Enriquez a98969380a Cinder backup export broken
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 <geguileo@redhat.com>
Change-Id: I017602353e96cf9f0922074f94276002b17d1359
Closes-Bug: #1862635
2020-02-21 21:49:22 +00:00
..
__init__.py Make c-vol use workers table for cleanup 2016-11-03 10:17:38 +01:00
test_backup.py Cinder backup export broken 2020-02-21 21:49:22 +00:00
test_base.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_cgsnapshot.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_cleanable.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_cleanup_request.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_cluster.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_consistencygroup.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_fields.py Add VolumeAttachStatus Enum 2016-11-09 17:10:27 -06:00
test_group.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_group_snapshot.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_group_type.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_manageable_volumes_snapshots.py Switch ManageableSnaphots & ManageableVolumes list to OVO 2017-01-25 00:41:30 +00:00
test_objects.py Support Incremental Backup Completion In RBD 2019-08-23 23:52:22 -03:00
test_qos.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_service.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_snapshot.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_volume.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_volume_attachment.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_volume_type.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00