Simultaneous volume creation with the same image in multi-attach mode returns error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Low
|
Unassigned | ||
glance_store |
Fix Released
|
Undecided
|
Rajat Dhasmana | ||
Xena |
Fix Released
|
Undecided
|
Unassigned | ||
Yoga |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Glance backend is Cinder.
Multi-attachment is enabled.
1. launch two commands one after another and don’t wait responses (in 2 terminal tabs)
$ openstack volume create --size 50 --image Ubuntu-18.04 volume_1
$ openstack volume create --size 50 --image Ubuntu-18.04 volume_2
2.see volumes statuses
$ openstack volume list
+------
| ID | Name | Status | Size | Attached to |
+------
| f1cbfc3c-
| 5bbb5dab-
+------
3. see cinder logs
ERROR cinder.volume.api [req-41b9c765-
or similar error message, but the status in detaching.
expected behavior:
two volumes created successfully
actual behavior:
the second volume was not created because the first volume creation task reserved volume.
Changed in glance-store: | |
assignee: | nobody → Rajat Dhasmana (whoami-rajat) |
Changed in cinder: | |
status: | New → In Progress |
importance: | Undecided → Medium |
tags: | added: glance-store image multiattach |
Changed in cinder: | |
importance: | Medium → Low |
Fix proposed to branch: master /review. opendev. org/c/openstack /glance_ store/+ /838326
Review: https:/