emc-xchallenge / cinder

http://openstack.org
Apache License 2.0
0 stars 4 forks source link

volume is kept in "error_extending" even if it is available #21

Open david-wang-emc opened 8 years ago

david-wang-emc commented 8 years ago

Description:

Development env setup's default option for "usage site packages" does not work with latest virtualenv.

Project:

OpenStack

Project Area:

OpenStack develop enviorment

Release:

OpenStack 

Severity:

S2

Full Details:

  1. Create a volume
  2. extend it to a large size which can not be satisfied by cinder.
  3. the volume would be stuck in "error_extending" state Suggestion: The first state query could return "error_extending" state , but other queries should return a "available" state because the volume can be used.
openstack@test-server-1:~$ cinder extend bdc1ea9c-6d8f-4651-afe0-0b3fea9da1f9 500
openstack@test-server-1:~$ cinder list
+--------------------------------------+-----------------+----------+------+-------------+----------+-------------+--------------------------------------+
|                  ID                  |      Status     |   Name   | Size | Volume Type | Bootable | Multiattach |             Attached to              |
+--------------------------------------+-----------------+----------+------+-------------+----------+-------------+--------------------------------------+
| 6336b61f-60bb-4fee-abea-2bb9a0fad9c7 |    available    |    *     |  1   |      -      |  false   |    False    |                                      |
| 734e306f-cea2-4b88-9d11-2a6d0745614b |      in-use     | myvolume |  2   |      -      |  false   |     True    | 49e3192a-782d-4cba-83e2-ce599a9deab4 |
| 9662e841-575f-4c54-8062-5074fdf44673 |    available    |    *     |  1   |      -      |  false   |    False    |                                      |
| bdc1ea9c-6d8f-4651-afe0-0b3fea9da1f9 | error_extending |    _     |  1   |      -      |  false   |    False    |                                      |
+--------------------------------------+-----------------+----------+------+-------------+----------+-------------+--------------------------------------+