Comment 2 for bug 1398588

Revision history for this message
jichenjc (jichenjc) wrote :

hi , could you please let me know which version are you using? I am having a env setup about 1 month before
I tried but can't reproduce the issue you are having

+--------------------------------------+---------+---------+------------+-------------+-------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+---------+---------+------------+-------------+-------------------+
| 7a2242e6-95f6-481c-927c-c944d9b7e02c | j5 | ACTIVE | - | Shutdown | private=10.0.0.14 |
| 36d101fd-6f43-4ad6-840f-e1208c0dfc7c | jichen4 | ACTIVE | - | Running | private=10.0.0.13 |
+--------------------------------------+---------+---------+------------+-------------+-------------------+

+--------------------------------------+-----------+------+------+-------------+----------+--------------------------------------+
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+------+------+-------------+----------+--------------------------------------+
| 33327b41-7f89-4c33-a80d-4fd345bf8901 | available | None | 1 | lvmdriver-1 | false | |

[jichen@compute1 ~]$ nova volume-attach 7a2242e6-95f6-481c-927c-c944d9b7e02c 33327b41-7f89-4c33-a80d-4fd345bf8901 /dev/vdc
ERROR (Conflict): The supplied device path (/dev/vdc) is in use. (HTTP 409) (Request-ID: req-6cbd65d8-90fa-4dd7-a410-a0d8ee805a22)
[jichen@compute1 ~]$ nova volume-attach 7a2242e6-95f6-481c-927c-c944d9b7e02c 33327b41-7f89-4c33-a80d-4fd345bf8901 /dev/vdd
ERROR (BadRequest): Invalid volume: status must be 'available' (HTTP 400) (Request-ID: req-95482b33-51d6-4bc3-9479-c8825b047ed9)
[jichen@compute1 ~]$ nova volume-attach 7a2242e6-95f6-481c-927c-c944d9b7e02c 33327b41-7f89-4c33-a80d-4fd345bf8901 /dev/vdd
ERROR (BadRequest): Invalid volume: status must be 'available' (HTTP 400) (Request-ID: req-369dccca-ecb3-4dc6-84e7-a10a6292f909)