stack@openstack:~/devstack$ cinder --os-volume-api-version 3.44 attachment-list
+--------------------------------------+--------------------------------------+----------+--------------------------------------+
| ID | Volume ID | Status | Server ID |
+--------------------------------------+--------------------------------------+----------+--------------------------------------+
| 66824067-5b10-49fc-b3fa-84aa56ff0d55 | e6ed1a54-a57e-438d-8e0c-0289367a2a97 | attached | d0c23f72-50cc-4fcb-ba6d-c37a6d139e96 |
| 7001e8eb-b12d-4e5c-bfa5-2aeda7fbbb9b | 87b8bfd0-1470-4ebf-a13c-50df99ffed80 | attached | d0c23f72-50cc-4fcb-ba6d-c37a6d139e96 |
+--------------------------------------+--------------------------------------+----------+--------------------------------------+
stack@openstack:~/devstack$ cinder --os-volume-api-version 3.44 list
+--------------------------------------+--------+-------------+------+-------------+----------+--------------------------------------+
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+--------+-------------+------+-------------+----------+--------------------------------------+
| 87b8bfd0-1470-4ebf-a13c-50df99ffed80 | in-use | | 10 | lvmdriver-1 | true | d0c23f72-50cc-4fcb-ba6d-c37a6d139e96 |
| e6ed1a54-a57e-438d-8e0c-0289367a2a97 | in-use | demo-volume | 1 | lvmdriver-1 | false | d0c23f72-50cc-4fcb-ba6d-c37a6d139e96 |
+--------------------------------------+--------+-------------+------+-------------+----------+--------------------------------------+
stack@openstack:~/devstack$ cinder --os-volume-api-version 3.44 attachment-delete 66824067-5b10-49fc-b3fa-84aa56ff0d55
stack@openstack:~/devstack$ cinder --os-volume-api-version 3.44 attachment-list
+--------------------------------------+--------------------------------------+----------+--------------------------------------+
| ID | Volume ID | Status | Server ID |
+--------------------------------------+--------------------------------------+----------+--------------------------------------+
| 7001e8eb-b12d-4e5c-bfa5-2aeda7fbbb9b | 87b8bfd0-1470-4ebf-a13c-50df99ffed80 | attached | d0c23f72-50cc-4fcb-ba6d-c37a6d139e96 |
+--------------------------------------+--------------------------------------+----------+--------------------------------------+
stack@openstack:~/devstack$ cinder --os-volume-api-version 3.44 list
+--------------------------------------+-----------+-------------+------+-------------+----------+--------------------------------------+
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+-------------+------+-------------+----------+--------------------------------------+
| 87b8bfd0-1470-4ebf-a13c-50df99ffed80 | in-use | | 10 | lvmdriver-1 | true | d0c23f72-50cc-4fcb-ba6d-c37a6d139e96 |
| e6ed1a54-a57e-438d-8e0c-0289367a2a97 | available | demo-volume | 1 | lvmdriver-1 | false | |
+--------------------------------------+-----------+-------------+------+-------------+----------+--------------------------------------+
stack@openstack:~/devstack$ nova list
nova CLI is deprecated and will be a removed in a future release
+--------------------------------------+------+--------+------------+-------------+-----------------------------------------------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+-----------------------------------------------------------------------+
| d0c23f72-50cc-4fcb-ba6d-c37a6d139e96 | demo | ACTIVE | - | Running | private=10.0.0.33, fdf9:5223:5eb6:0:f816:3eff:fe7e:c053, 172.24.4.181 |
+--------------------------------------+------+--------+------------+-------------+-----------------------------------------------------------------------+
stack@openstack:~/devstack$ cinder list
+--------------------------------------+-----------+-------------+------+-------------+----------+--------------------------------------+
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+-------------+------+-------------+----------+--------------------------------------+
| 87b8bfd0-1470-4ebf-a13c-50df99ffed80 | in-use | | 10 | lvmdriver-1 | true | d0c23f72-50cc-4fcb-ba6d-c37a6d139e96 |
| e6ed1a54-a57e-438d-8e0c-0289367a2a97 | available | demo-volume | 1 | lvmdriver-1 | false | |
+--------------------------------------+-----------+-------------+------+-------------+----------+--------------------------------------+
stack@openstack:~/devstack$ nova volume-detach d0c23f72-50cc-4fcb-ba6d-c37a6d139e96 e6ed1a54-a57e-438d-8e0c-0289367a2a97
nova CLI is deprecated and will be a removed in a future release
ERROR (BadRequest): Invalid volume: Invalid input received: Invalid volume: Unable to detach volume. Volume status must be 'in-use' and attach_status must be 'attached' to detach. (HTTP 400) (Request-ID: req-bd2c8b9e-b7e9-4a93-adef-28c866282be0) (HTTP 400) (Request-ID: req-a48405c0-5612-475b-b40d-cc68551846a1)
stack@openstack :~/devstack$ cinder --os-volume- api-version 3.44 attachment-list ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+----- -----+- ------- ------- ------- ------- ------- --+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+----- -----+- ------- ------- ------- ------- ------- --+ 5b10-49fc- b3fa-84aa56ff0d 55 | e6ed1a54- a57e-438d- 8e0c-0289367a2a 97 | attached | d0c23f72- 50cc-4fcb- ba6d-c37a6d139e 96 | b12d-4e5c- bfa5-2aeda7fbbb 9b | 87b8bfd0- 1470-4ebf- a13c-50df99ffed 80 | attached | d0c23f72- 50cc-4fcb- ba6d-c37a6d139e 96 | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+----- -----+- ------- ------- ------- ------- ------- --+
+------
| ID | Volume ID | Status | Server ID |
+------
| 66824067-
| 7001e8eb-
+------
stack@openstack :~/devstack$ cinder --os-volume- api-version 3.44 list ------- ------- ------- ------- ----+-- ------+ ------- ------+ ------+ ------- ------+ ------- ---+--- ------- ------- ------- ------- ------- + ------- ------- ------- ------- ----+-- ------+ ------- ------+ ------+ ------- ------+ ------- ---+--- ------- ------- ------- ------- ------- + 1470-4ebf- a13c-50df99ffed 80 | in-use | | 10 | lvmdriver-1 | true | d0c23f72- 50cc-4fcb- ba6d-c37a6d139e 96 | a57e-438d- 8e0c-0289367a2a 97 | in-use | demo-volume | 1 | lvmdriver-1 | false | d0c23f72- 50cc-4fcb- ba6d-c37a6d139e 96 | ------- ------- ------- ------- ----+-- ------+ ------- ------+ ------+ ------- ------+ ------- ---+--- ------- ------- ------- ------- ------- +
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| 87b8bfd0-
| e6ed1a54-
+------
stack@openstack :~/devstack$ cinder --os-volume- api-version 3.44 attachment-delete 66824067- 5b10-49fc- b3fa-84aa56ff0d 55 :~/devstack$ cinder --os-volume- api-version 3.44 attachment-list ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+----- -----+- ------- ------- ------- ------- ------- --+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+----- -----+- ------- ------- ------- ------- ------- --+ b12d-4e5c- bfa5-2aeda7fbbb 9b | 87b8bfd0- 1470-4ebf- a13c-50df99ffed 80 | attached | d0c23f72- 50cc-4fcb- ba6d-c37a6d139e 96 | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+----- -----+- ------- ------- ------- ------- ------- --+
stack@openstack
+------
| ID | Volume ID | Status | Server ID |
+------
| 7001e8eb-
+------
stack@openstack :~/devstack$ cinder --os-volume- api-version 3.44 list ------- ------- ------- ------- ----+-- ------- --+---- ------- --+---- --+---- ------- --+---- ------+ ------- ------- ------- ------- ------- ---+ ------- ------- ------- ------- ----+-- ------- --+---- ------- --+---- --+---- ------- --+---- ------+ ------- ------- ------- ------- ------- ---+ 1470-4ebf- a13c-50df99ffed 80 | in-use | | 10 | lvmdriver-1 | true | d0c23f72- 50cc-4fcb- ba6d-c37a6d139e 96 | a57e-438d- 8e0c-0289367a2a 97 | available | demo-volume | 1 | lvmdriver-1 | false | | ------- ------- ------- ------- ----+-- ------- --+---- ------- --+---- --+---- ------- --+---- ------+ ------- ------- ------- ------- ------- ---+
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| 87b8bfd0-
| e6ed1a54-
+------
stack@openstack :~/devstack$ nova list ------- ------- ------- ------- ----+-- ----+-- ------+ ------- -----+- ------- -----+- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- + ------- ------- ------- ------- ----+-- ----+-- ------+ ------- -----+- ------- -----+- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- + 50cc-4fcb- ba6d-c37a6d139e 96 | demo | ACTIVE | - | Running | private=10.0.0.33, fdf9:5223: 5eb6:0: f816:3eff: fe7e:c053, 172.24.4.181 | ------- ------- ------- ------- ----+-- ----+-- ------+ ------- -----+- ------- -----+- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- +
nova CLI is deprecated and will be a removed in a future release
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| d0c23f72-
+------
stack@openstack :~/devstack$ cinder list ------- ------- ------- ------- ----+-- ------- --+---- ------- --+---- --+---- ------- --+---- ------+ ------- ------- ------- ------- ------- ---+ ------- ------- ------- ------- ----+-- ------- --+---- ------- --+---- --+---- ------- --+---- ------+ ------- ------- ------- ------- ------- ---+ 1470-4ebf- a13c-50df99ffed 80 | in-use | | 10 | lvmdriver-1 | true | d0c23f72- 50cc-4fcb- ba6d-c37a6d139e 96 | a57e-438d- 8e0c-0289367a2a 97 | available | demo-volume | 1 | lvmdriver-1 | false | | ------- ------- ------- ------- ----+-- ------- --+---- ------- --+---- --+---- ------- --+---- ------+ ------- ------- ------- ------- ------- ---+ :~/devstack$ nova volume-detach d0c23f72- 50cc-4fcb- ba6d-c37a6d139e 96 e6ed1a54- a57e-438d- 8e0c-0289367a2a 97 b7e9-4a93- adef-28c866282b e0) (HTTP 400) (Request-ID: req-a48405c0- 5612-475b- b40d-cc68551846 a1)
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| 87b8bfd0-
| e6ed1a54-
+------
stack@openstack
nova CLI is deprecated and will be a removed in a future release
ERROR (BadRequest): Invalid volume: Invalid input received: Invalid volume: Unable to detach volume. Volume status must be 'in-use' and attach_status must be 'attached' to detach. (HTTP 400) (Request-ID: req-bd2c8b9e-