root@controller:~# cinder create --display-name="cepp-demo1" 10
+---------------------------------------+--------------------------------------+
| Property | Value |
+---------------------------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2015-12-08T05:33:52.000000 |
| description | None |
| encrypted | False |
| id | 51ce73cf-1353-4d4f-90b9-b1c0e8c2befa |
| metadata | {} |
| multiattach | False |
| name | cepp-demo1 |
| os-vol-tenant-attr:tenant_id | 2f67526a0fc74c2d80feb35c4f94be37 |
| os-volume-replication:driver_data | None |
| os-volume-replication:extended_status | None |
| replication_status | disabled |
| size | 10 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| user_id | 0ef4b78171064b42bc017cf173c73e67 |
| volume_type | None |
+---------------------------------------+--------------------------------------+
root@controller:~# nova list
+--------------------------------------+---------------+--------+------------+-------------+--------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+---------------+--------+------------+-------------+--------------------------+
| bc383269-a972-43b5-8294-ac31b62a8b33 | DEMO_CEPH_VM1 | ACTIVE | - | Running | demo_private=172.16.1.18 |
+--------------------------------------+---------------+--------+------------+-------------+--------------------------+
root@controller:~# nova volume-attach bc383269-a972-43b5-8294-ac31b62a8b33 51ce73cf-1353-4d4f-90b9-b1c0e8c2befa
+----------+--------------------------------------+
| Property | Value |
+----------+--------------------------------------+
| device | /dev/vdb |
| id | 51ce73cf-1353-4d4f-90b9-b1c0e8c2befa |
| serverId | bc383269-a972-43b5-8294-ac31b62a8b33 |
| volumeId | 51ce73cf-1353-4d4f-90b9-b1c0e8c2befa |
+----------+--------------------------------------+
root@controller:~# nova volume-detach bc383269-a972-43b5-8294-ac31b62a8b33 51ce73cf-1353-4d4f-90b9-b1c0e8c2befa
¡Ø ciner transfer-create <Volume_id>
root@controller:~# cinder transfer-create 51ce73cf-1353-4d4f-90b9-b1c0e8c2befa
+------------+--------------------------------------+
| Property | Value |
+------------+--------------------------------------+
| auth_key | 7829e7a6cc2f8b56 |
| created_at | 2015-12-08T05:40:57.765346 |
| id | 63f03635-32be-47b2-a452-75dbeb91f33d |
| name | None |
| volume_id | 51ce73cf-1353-4d4f-90b9-b1c0e8c2befa |
+------------+--------------------------------------+
root@controller:~# cinder list
+----+--------+------------------+------+------+-------------+----------+-------------+-------------+
| ID | Status | Migration Status | Name | Size | Volume Type | Bootable | Multiattach | Attached to |
+----+--------+------------------+------+------+-------------+----------+-------------+-------------+
| 51ce73cf-1353-4d4f-90b9-b1c0e8c2befa | awaiting-transfer | cepp-demo1 | 10 | - | false | False | |
+----+--------+------------------+------+------+-------------+----------+-------------+-------------+