Cinder volume stuck in swap_volume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Undecided
|
Takashi Natsume | ||
OpenStack Compute (nova) |
In Progress
|
High
|
Takashi Natsume |
Bug Description
Cinder volumes are stuck in 'attaching'
A cinder volume is attached to a VM instance.
Then the cinder volume is swapped for a new volume by 'swap volume'.
Concretely the following API is called.
PUT /v2/{tenant_
After the API is called, the attached volume(old volume) becomes stuck in 'detaching' state
and the new volume becomes stuck in 'attaching' state.
[How to reproduce]
stack@devstack-
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| c3aff356-
| da251e5b-
+------
stack@devstack-
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | active |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | True |
| created | 2015-07-
| flavor | m1.tiny (1) |
| hostId | ea09a5e13b086e7
| id | adc00700-
| image | cirros-
| key_name | - |
| metadata | {} |
| name | server1 |
| os-extended-
| progress | 0 |
| public network | 10.0.2.195 |
| security_groups | default |
| status | ACTIVE |
| tenant_id | 252be0c183fa42f
| updated | 2015-07-
| user_id | 4f870a0e7b4a420
+------
stack@devstack-
HTTP/1.1 202 Accepted
Content-Type: text/html; charset=UTF-8
Content-Length: 0
X-Compute-
Date: Thu, 02 Jul 2015 00:59:16 GMT
stack@devstack-
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| c3aff356-
| da251e5b-
+------
stack@devstack-
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | active |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | True |
| created | 2015-07-
| flavor | m1.tiny (1) |
| hostId | ea09a5e13b086e7
| id | adc00700-
| image | cirros-
| key_name | - |
| metadata | {} |
| name | server1 |
| os-extended-
| progress | 0 |
| public network | 10.0.2.195 |
| security_groups | default |
| status | ACTIVE |
| tenant_id | 252be0c183fa42f
| updated | 2015-07-
| user_id | 4f870a0e7b4a420
+------
[Environment]
OS: Ubuntu 14.04 LTS
nova: stable/kilo(commit d22167e08388f6f
cinder: stable/kilo(commit 6c055943e706755
Changed in nova: | |
assignee: | nobody → Takashi NATSUME (natsume-takashi) |
tags: | added: swapping volumes |
Changed in cinder: | |
status: | In Progress → Invalid |
Changed in nova: | |
importance: | Undecided → High |
tags: | added: liberty-rc-potential |
@Takashi NATSUME:
Since you are set as assignee, I switch the status to 'In Progress'.