Volume State Update Failed After Backup Completed

Bug #1996039 reported by wanghelin
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Low
wanghelin

Bug Description

Generally, after the backup is created, the state of the volume will be reset to the state before the backup. However, if we create a backup of a volume with status 'in-use'(attached to an instance). When backup creating, the instance get deleted, status will be set to in-use by error, but not reset to available.

When an instance is deleted, the volume will be detached, and the volume status will be set to available. After that, the volume backup is completed, and the status of the volume is reset to in-use. The bug is caused by this.

wanghelin (wanghelin)
Changed in cinder:
assignee: nobody → wanghelin (wanghelin)
Revision history for this message
Sofia Enriquez (lsofia-enriquez) wrote :

Hi Wanghelin, thanks for reporting this bug.
Would you mind sharing the cinder version you are referring to?
In addition to that, would you mind sharing the backend you are using?
Thanks in advanceSofia

summary: - Volume status update error after backup finish
+ Volume State Update Failed After Backup Completed
Changed in cinder:
importance: Undecided → Low
tags: added: backup-service in-use
Changed in cinder:
status: New → Incomplete
Revision history for this message
Sofia Enriquez (lsofia-enriquez) wrote :
Revision history for this message
Christian Rohmann (christian-rohmann) wrote :

Sofia, may I bluntly bring up the idea and pending spec of externalizing the backup status to a dedicated field again (see: https://review.opendev.org/c/openstack/cinder-specs/+/818551/comments/6ade3ca0_d95e489d)?

I shall place this as a topic for a Cinder Weekly meeting again. Would love to see the backup status, which is usually independent from the actual volume status, more decoupled.

Revision history for this message
Sofia Enriquez (lsofia-enriquez) wrote :
Changed in cinder:
status: Incomplete → Confirmed
Revision history for this message
Sofia Enriquez (lsofia-enriquez) wrote :
Revision history for this message
Sofia Enriquez (lsofia-enriquez) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/866106

Changed in cinder:
status: Confirmed → In Progress
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.