Bug 1753056 - [OSP14] cinder-backup backup creation fails with NFS driver
Summary: [OSP14] cinder-backup backup creation fails with NFS driver
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z5
: 14.0 (Rocky)
Assignee: Alan Bishop
QA Contact: Tzach Shefi
Chuck Copello
URL:
Whiteboard:
Depends On: 1753055
Blocks: 1714805
TreeView+ depends on / blocked
 
Reported: 2019-09-18 00:49 UTC by Alan Bishop
Modified: 2020-01-24 12:24 UTC (History)
15 users (show)

Fixed In Version: openstack-cinder-13.0.5-8.el7ost
Doc Type: Bug Fix
Doc Text:
Cause: Cinder's NFS driver contained a bug that prevented the driver from creating a snapshot during volume clone operations, and cloned volumes are used when backing up cinder NFS volumes. Consequence: Cinder NFS volumes could not be backed up. Fix: Cinder's NFS driver bug has been fixed. Result: Backups of cinder NFS volumes work.
Clone Of: 1753055
Environment:
Last Closed: 2020-01-24 12:24:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 681515 0 None None None 2019-09-18 00:49:22 UTC
OpenStack gerrit 682097 0 None MERGED Add context to cloning snapshots in remotefs driver 2020-02-20 19:04:06 UTC

Description Alan Bishop 2019-09-18 00:49:23 UTC
+++ This bug was initially created as a clone of Bug #1753055 +++

+++ This bug was initially created as a clone of Bug #1714805 +++

Description of problem:
When creating a snapshot of an active volume, the following error is observed:
Exception during message handling: AttributeError: 'Snapshot' object has no attribute '_context'


Version-Release number of selected component (if applicable):
openstack-cinder-12.0.4-3.el7ost.noarch 


How reproducible:
Every time a backup is attempted of an attached volume

Steps to Reproduce:
1. Create NFS backend for Cinder
2. Attach volume to Instance
3. Try to create snapshot of volume

Actual results:
oslo_messaging.rpc.server AttributeError: 'Snapshot' object has no attribute '_context'
Backup fails

Expected results:
Backup would succeed

Additional info:
This appears to be addressed by: https://review.opendev.org/#/c/570885/


Note You need to log in before you can comment on or make changes to this bug.