Comment 6 for bug 1550180

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

I can't reproduce the issue:

root@node-1:~# nova volume-attach cf1fce9b-933f-455f-94af-42a369d1ba6c 3a5e7a11-1a7b-4ed6-9ad8-08e3099b4b0d
+----------+--------------------------------------+
| Property | Value |
+----------+--------------------------------------+
| device | /dev/vdb |
| id | 3a5e7a11-1a7b-4ed6-9ad8-08e3099b4b0d |
| serverId | cf1fce9b-933f-455f-94af-42a369d1ba6c |
| volumeId | 3a5e7a11-1a7b-4ed6-9ad8-08e3099b4b0d |
+----------+--------------------------------------+
root@node-1:~# nova volume-list
WARNING: Command volume-list is deprecated and will be removed after Nova 13.0.0 is released. Use python-cinderclient or openstackclient instead.
+--------------------------------------+-----------+--------------+------+-------------+-------------+
| ID | Status | Display Name | Size | Volume Type | Attached to |
+--------------------------------------+-----------+--------------+------+-------------+-------------+
| 3a5e7a11-1a7b-4ed6-9ad8-08e3099b4b0d | attaching | | 1 | - | |
+--------------------------------------+-----------+--------------+------+-------------+-------------+
root@node-1:~#
root@node-1:~#
root@node-1:~# nova volume-list
WARNING: Command volume-list is deprecated and will be removed after Nova 13.0.0 is released. Use python-cinderclient or openstackclient instead.
+--------------------------------------+--------+--------------+------+-------------+--------------------------------------+
| ID | Status | Display Name | Size | Volume Type | Attached to |
+--------------------------------------+--------+--------------+------+-------------+--------------------------------------+
| 3a5e7a11-1a7b-4ed6-9ad8-08e3099b4b0d | in-use | | 1 | - | cf1fce9b-933f-455f-94af-42a369d1ba6c |
+--------------------------------------+--------+--------------+------+-------------+--------------------------------------+
root@node-1:~#
root@node-1:~#
root@node-1:~# nova volume-detach cf1fce9b-933f-455f-94af-42a369d1ba6c 3a5e7a11-1a7b-4ed6-9ad8-08e3099b4b0d
root@node-1:~# nova volume-list
WARNING: Command volume-list is deprecated and will be removed after Nova 13.0.0 is released. Use python-cinderclient or openstackclient instead.
+--------------------------------------+-----------+--------------+------+-------------+-------------+
| ID | Status | Display Name | Size | Volume Type | Attached to |
+--------------------------------------+-----------+--------------+------+-------------+-------------+
| 3a5e7a11-1a7b-4ed6-9ad8-08e3099b4b0d | available | | 1 | - | |
+--------------------------------------+-----------+--------------+------+-------------+-------------+