Incremental backup of a volume failed using RBD.

Bug #1658885 reported by Zhao Liqiang
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Cinder
Confirmed
Undecided
Unassigned

Bug Description

When using rbd to backup a volume, the backup manager will attach the volume and make a temporary configuration file, then the driver execute the 'rbd export-diff' command using this configuration file. But I find that this file has been removed somewhere.

Changed in cinder:
assignee: nobody → Zhao Liqiang (zhoaliqiang2017)
tinytmy (tangmeiyan77)
Changed in cinder:
status: New → Confirmed
Revision history for this message
Fikry (dxtxteam) wrote :
Revision history for this message
tinytmy (tangmeiyan77) wrote :

In the cinder
https://github.com/openstack/cinder/blob/master/cinder/backup/manager.py#L456-L459
function _attach_device use os-brick create and delete the temporary configuration file
https://github.com/openstack/os-brick/blob/master/os_brick/initiator/connectors/rbd.py#L108-L118

But after the temporary conf is used
https://github.com/openstack/cinder/blob/master/cinder/backup/drivers/ceph.py#L550-L589

The content of cmd1 is "['rbd', 'export-diff', '--id', 'cinder', '--conf', '/tmp/tmp9fsUYF', '--pool', 'volumes', '<email address hidden>', '-']"

when cmd1 and cmd2 executed, the ret is not none, raise a error, and set do_full_backup to true,
so alawys do full backup.

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Bug Assignee Expired

Unassigning due to no activity for > 6 months.

Changed in cinder:
assignee: Zhao Liqiang (zhoaliqiang2017) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.