cannot multi attach enabled volume after swap volume

Bug #1934203 reported by norman shen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
Unassigned

Bug Description

Description
===========

detach a multi-attach enabled volume failed after swapping volume.

Steps to reproduce
==================

1. Create two volume type with multi attach enabled (A, B)
2. Create a new volume using type A
3. attach it a server
4. Retype this volume to type B
5. wait for it succeeds and detach it will cause a failure

Expected result
===============

volume should be successfully detached

Actual result
=============

failed because nova-compute uses a non existent volume id from connection
info

Environment
===========

1. openstack nova victoria
2. ubuntu 18.04 with docker image using 20.04

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

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

Changed in nova:
status: New → 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.