freezer-agent crashes on restore in nova mode

Bug #1662837 reported by Dmitry Stepanenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
New
Undecided
Unassigned

Bug Description

Steps to reproduce:

1. Create backup via command

freezer-agent --cinder-vol-id f81b4530-9fc0-403d-b3fa-255cb195066f --storage swift --container swift_backup_1 --path-to-backup /tmp/ --mode nova

2. Restore from this backup

freezer-agent --action restore --cinder-vol-id f81b4530-9fc0-403d-b3fa-255cb195066f --storage swift --container swift_backup_1 --path-to-backup /tmp/ --mode nova

3. Expected behaviour:

Volume is restored.

4. Real behaviour:

Error is printed on console:

Critical error: volume_name

5. Result of deeper analisys:

openstack/restore.py restore_cinder_by_glance method fails because _create_image method returns as a first parameter dict without key 'volume_name'.

description: updated
Revision history for this message
jiaopengju (pj-jiao) wrote :

Why backup cinder with nova mode?

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.