Simultaneous volume creation with the same image in multi-attach mode returns error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Wishlist
|
Mitya Eremeev |
Bug Description
environment:
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.
Bug in RHOSP: https:/
Changed in cinder: | |
assignee: | nobody → Mitya Eremeev (mitos) |
status: | New → In Progress |
description: | updated |
summary: |
- Simultaneous volume creation with the same image returns error "Volume - status must be available or in-use to reserve, but the status is - attaching" + Simultaneous volume creation with the same image in multiattach mode + returns error "Volume status must be available or in-use to reserve, but + the status is attaching" |
summary: |
- Simultaneous volume creation with the same image in multiattach mode - returns error "Volume status must be available or in-use to reserve, but - the status is attaching" + Simultaneous volume creation with the same image in multi-attach mode + returns error. |
description: | updated |
description: | updated |
tags: | added: documentation |
Fix proposed to branch: master /review. opendev. org/c/openstack /cinder/ +/805072
Review: https:/