Delete A Volume In Creating State , Using the Following Command "nova volume-delete<volume>"

asked 2012-02-07 10:30:10 -0600

harika-vakadi gravatar image

In Volumes Extension , I have created volume and they are in "Creating" status. How to Make Them as "Available". And The Error Says That Status should Be "Available"

I have Created the following:

harika_vakadi@pshys0248:~$ nova volume-list +----+----------+--------------+------+-------------+ | ID | Status | Display Name | Size | Attached to | +----+----------+--------------+------+-------------+ | 1 | creating | None | 1 | None | | 2 | creating | None | 1 | None | | 3 | creating | first | 1 | None | | 4 | creating | None | 1 | None | | 5 | creating | None | 1 | None | | 6 | creating | None | 1 | None | | 7 | creating | None | 1 | None | | 8 | creating | None | 1 | None | +----+----------+--------------+------+-------------+ And While Deleting as Follows

harika_vakadi@pshys0248:~$ nova volume-delete 8 Volume status must be available (HTTP 500)

Also, I am not able to proceed as the volume quota has been exceeded

Any suggestion will be much appreciated

Bye

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2012-02-16 15:11:17 -0600

harika-vakadi gravatar image

Hi Ripal,

I have not used devstack environment. Yes you are solution was correct. I got it solved. :)

Thanks, Harika

edit flag offensive delete link more
0

answered 2012-02-16 15:11:32 -0600

harika-vakadi gravatar image

Hi Ripal,

I have not used devstack environment. Yes you are solution was correct. I got it solved. :)

Thanks, Harika

edit flag offensive delete link more
0

answered 2012-02-16 06:25:10 -0600

Hi Harika,

Are you running on devstack using a non-root account? If so, your problem could be your user does not have passwordless sudo privileges. That would explain why your create-volumes hang in the creating state.

Thanks, Ripal

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-02-07 10:30:10 -0600

Seen: 102 times

Last updated: Feb 16 '12