Bug 1753055 - [OSP15] cinder-backup backup creation fails with NFS driver
Summary: [OSP15] 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: 15.0 (Stein)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z3
: 15.0 (Stein)
Assignee: Alan Bishop
QA Contact: Tzach Shefi
Chuck Copello
URL:
Whiteboard:
Depends On:
Blocks: 1714805 1753056
TreeView+ depends on / blocked
 
Reported: 2019-09-18 00:45 UTC by Alan Bishop
Modified: 2020-09-21 10:31 UTC (History)
12 users (show)

Fixed In Version:
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: 1714805
: 1753056 (view as bug list)
Environment:
Last Closed: 2020-09-21 10:31:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1744692 0 None None None 2019-09-18 00:45:57 UTC
OpenStack gerrit 681515 0 None MERGED Add context to cloning snapshots in remotefs driver 2021-01-20 12:34:37 UTC

Description Alan Bishop 2019-09-18 00:45:58 UTC
+++ 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/

Comment 2 Luigi Toscano 2020-09-21 10:31:33 UTC
OSP15 is EOL, but the fix lives in the newer releases (OSP16) and it has been backported to OSP13.


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