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 | - | |
+--------------------------------------+-----------+--------------+------+-------------+-------------+
I can't reproduce the issue:
root@node-1:~# nova volume-attach cf1fce9b- 933f-455f- 94af-42a369d1ba 6c 3a5e7a11- 1a7b-4ed6- 9ad8-08e3099b4b 0d ----+-- ------- ------- ------- ------- ------- -+ ----+-- ------- ------- ------- ------- ------- -+ 1a7b-4ed6- 9ad8-08e3099b4b 0d | 933f-455f- 94af-42a369d1ba 6c | 1a7b-4ed6- 9ad8-08e3099b4b 0d | ----+-- ------- ------- ------- ------- ------- -+ ------- ------- ------- ------- ----+-- ------- --+---- ------- ---+--- ---+--- ------- ---+--- ------- ---+ ------- ------- ------- ------- ----+-- ------- --+---- ------- ---+--- ---+--- ------- ---+--- ------- ---+ 1a7b-4ed6- 9ad8-08e3099b4b 0d | attaching | | 1 | - | | ------- ------- ------- ------- ----+-- ------- --+---- ------- ---+--- ---+--- ------- ---+--- ------- ---+ ------- ------- ------- ------- ----+-- ------+ ------- ------- +------ +------ ------- +------ ------- ------- ------- ------- ----+ ------- ------- ------- ------- ----+-- ------+ ------- ------- +------ +------ ------- +------ ------- ------- ------- ------- ----+ 1a7b-4ed6- 9ad8-08e3099b4b 0d | in-use | | 1 | - | cf1fce9b- 933f-455f- 94af-42a369d1ba 6c | ------- ------- ------- ------- ----+-- ------+ ------- ------- +------ +------ ------- +------ ------- ------- ------- ------- ----+ 933f-455f- 94af-42a369d1ba 6c 3a5e7a11- 1a7b-4ed6- 9ad8-08e3099b4b 0d ------- ------- ------- ------- ----+-- ------- --+---- ------- ---+--- ---+--- ------- ---+--- ------- ---+ ------- ------- ------- ------- ----+-- ------- --+---- ------- ---+--- ---+--- ------- ---+--- ------- ---+ 1a7b-4ed6- 9ad8-08e3099b4b 0d | available | | 1 | - | | ------- ------- ------- ------- ----+-- ------- --+---- ------- ---+--- ---+--- ------- ---+--- ------- ---+
+------
| Property | Value |
+------
| device | /dev/vdb |
| id | 3a5e7a11-
| serverId | cf1fce9b-
| volumeId | 3a5e7a11-
+------
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-
+------
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-
+------
root@node-1:~#
root@node-1:~#
root@node-1:~# nova volume-detach cf1fce9b-
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-
+------