volume extend is not catch exception when in some status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Tushar Trambak Gite |
Bug Description
[stack@localhost devstack]$ cinder create --name test 1
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2015-09-
| description | None |
| encrypted | False |
| id | d8789ef9-
| metadata | {} |
| migration_status | None |
| multiattach | False |
| name | test |
| os-vol-
| os-vol-
| os-vol-
| os-vol-
| os-volume-
| os-volume-
| replication_status | disabled |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| user_id | 89ba6206a112484
| volume_type | lvmdriver-1 |
+------
[stack@localhost devstack]$ cinder list
+------
| ID | Status | Migration Status | Name | Size | Volume Type | Bootable | Multiattach | Attached to |
+------
| d8789ef9-
+------
[stack@localhost devstack]$ cinder reset-state --state error test
[stack@localhost devstack]$ cinder list
+------
| ID | Status | Migration Status | Name | Size | Volume Type | Bootable | Multiattach | Attached to |
+------
| d8789ef9-
+------
[stack@localhost devstack]$ cinder extend test 2
ERROR: Invalid volume: Volume d8789ef9-
In this scene, cinder-api log is not any log or exception.
Changed in cinder: | |
assignee: | nobody → zhangjinnan (zhang-jinnan) |
Changed in cinder: | |
status: | New → In Progress |
Changed in cinder: | |
status: | Incomplete → In Progress |
Changed in cinder: | |
status: | In Progress → New |
Changed in cinder: | |
assignee: | nobody → Tushar Trambak Gite (tushargite96) |
What's the expected state? From cinder client output, it looks fine to me.