backup driver cannot instantiate

Bug #1598709 reported by Lisa Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Michael Dovgal

Bug Description

When backup_swift_url is not set, backup driver can't be initialized. But backup service stays alive, we can create a backup which goes into error state. But later the backup can't be deleted.

Lisa Li (lisali)
Changed in cinder:
importance: Undecided → Low
Ivan Kolodyazhny (e0ne)
Changed in cinder:
status: New → Confirmed
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

This bug is reproducible on current master. The root cause is: we don't have 'initialization' feature for backup drivers like we have for volume drivers. So similar issues could be found in other backup drivers too.

I'll create a blueprint [1] for this initiative and will propose a spec for Ocata.

[1] https://blueprints.launchpad.net/cinder/+spec/backup-init

Ivan Kolodyazhny (e0ne)
Changed in cinder:
assignee: Lisa Li (lisali) → Ivan Kolodyazhny (e0ne)
Revision history for this message
Michael Dovgal (mdovgal) wrote :

Update:
This bug for swift is reproducible only at that situation, when we have c-bak service that is started, but we don't have any backend configured for it (nor in config options neither s-services started for keystone to know something about it).
On delete it is broken here [0]

[0] - https://github.com/openstack/cinder/blob/101dcc6ccafeaa317ec5131570e8e65c9505cfc8/cinder/backup/drivers/swift.py#L179

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/446518

Changed in cinder:
assignee: Ivan Kolodyazhny (e0ne) → Michael Dovgal (mdovgal)
status: Confirmed → In Progress
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :
Changed in cinder:
status: In Progress → Fix Released
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.