Mount a volume on second instances, and the information in cinder is not updated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
wanghongxu |
Bug Description
Description
===========
If you attach a volume to two instances, you will
see that the state of the volume is always attaching.
The state of the volume should not be used to determine
whether or not the cinder is called.
Steps to reproduce
==================
cinder type-create multiattach-type
cinder type-key multiattach-type set "multiattach=<is> True"
cinder create --name multiattach-disk --volume-type multiattach-type --allow-multiattach 1
nova volume-attach instance-id-1 volume-id
nova volume-attach instance-id-2 volume-id
Expected result
===============
volume status is in-use
Actual result
=============
volume status is attaching
code
====
https:/
if volume[
Changed in nova: | |
status: | New → In Progress |
https:/ /review. openstack. org/#/c/ 525540/