Removing a volume in wrong state doesn't report its state

Bug #1940437 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Low
Emilien Macchi

Bug Description

When trying to remove a volume in a wrong state, the error message says about what's the states should be for the volume to be removable; however we don't report its current state. It would be useful for operators to know about it.

Tags: api remove volume
Changed in cinder:
assignee: nobody → Emilien Macchi (emilienm)
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/+/805027

Changed in cinder:
status: New → In Progress
Changed in cinder:
importance: Undecided → Low
tags: added: api remove volume
Revision history for this message
Sofia Enriquez (lsofia-enriquez) wrote :

I'd like to leave the concerns raised in the bug meeting this week regarding this issue. The reason we don't do this before is because the logged status could be wrong due to race conditions. Some ideas came up i.e. use conditional_update() to report the relevant values back, not query them again later.

https://meetings.opendev.org/meetings/cinder_bs/2021/cinder_bs.2021-08-18-15.01.log.html#l-54

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by "Emilien Macchi <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/805027

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.