nova volume-attach superfrobnicator 1 /dev/vdb ERROR: Invalid volume: status must be available (HTTP 400)

Asked by Thiruselvan

root@selvan:~# nova volume-attach superfrobnicator 1 /dev/vdb

ERROR: Invalid volume: status must be available (HTTP 400)

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thiruselvan (thirulic) said :
#1

Any solutions for above question

Revision history for this message
Elmer Rivera (erivera) said :
#2

looks like that volume does not exist?

Revision history for this message
Thiruselvan (thirulic) said :
#3

Volume is creating status for 4 days and

root@selvan:~# nova volume-list
+----+----------+--------------+------+-------------+-------------+
| ID | Status | Display Name | Size | Volume Type | Attached to |
+----+----------+--------------+------+-------------+-------------+
| 1 | creating | volume1 | 1 | None | |
| 2 | creating | voulme2 | 10 | None | |
| 3 | creating | volume1 | 1 | None | |
+----+----------+--------------+------+-------------+-------------+

and also ssh is not working

root@selvan:~# ssh -i id_rsa.pub selvan@192.168.10.35
ssh: connect to host 192.168.10.35 port 22: No route to host

Revision history for this message
Vish Ishaya (vishvananda) said :
#4

Your volume didn't create correctly. You should look in the volume log for an error. No idea why ssh to the instance is no longer working but it is likely unrelated.

Revision history for this message
anusha rayani (anusha-rayani-7) said :
#5

Hi Thiruselvan,

Please let me know how you are able to solve this issue?

I got the same issue replicated......

#nova volume-list
+--------------------------------------+--------+--------------+------+-------------+-------------+
| ID | Status | Display Name | Size | Volume Type | Attached to |
+--------------------------------------+--------+--------------+------+-------------+-------------+
| e82b4266-05bc-49f4-9ef3-06c12a3bf87b | error | test1 | 1 | None | |
| f09e1438-0883-41fd-adcd-75549f970d44 | error | test3 | 2 | None | |
| f0b0f67e-750e-466d-b24b-f5954f780e60 | error | test2 | 1 | None | |
+--------------------------------------+--------+--------------+------+-------------+-------------+
[root@localhost Downloads]# cinder list
+--------------------------------------+--------+--------------+------+-------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+--------+--------------+------+-------------+----------+-------------+
| e82b4266-05bc-49f4-9ef3-06c12a3bf87b | error | test1 | 1 | None | false | |
| f09e1438-0883-41fd-adcd-75549f970d44 | error | test3 | 2 | None | false | |
| f0b0f67e-750e-466d-b24b-f5954f780e60 | error | test2 | 1 | None | false | |
+--------------------------------------+--------+--------------+------+-------------+----------+-------------+

Revision history for this message
anusha rayani (anusha-rayani-7) said :
#6

Added volumes are in error state only.How can I get them to available state?

Solving this really helps me alot.Thanks.

Can you help with this problem?

Provide an answer of your own, or ask Thiruselvan for more information if necessary.

To post a message you must log in.