# glance image-create --name "ceph_virtio_scsi_206_Ubuntu_14_04_5G" --file /root/Ubuntu_14_5g.qcow2 --disk-format qcow2 --container-format bare --visibility public --progress --property hw_scsi_model=virtio-scsi --property hw_disk_bus=scsi
[=============================>] 100%
+------------------+----------------------------------------------------------------------------------+
| Property | Value |
+------------------+----------------------------------------------------------------------------------+
| checksum | fd1b19b7b4dd0d409bdc96fa0b7b94ce |
| container_format | bare |
| created_at | 2016-09-30T06:58:18Z |
| direct_url | rbd://cfed970e-9e1c-4004-8904-8bd0e37cbe4f/images/8e03f3f0-29aa- |
| | 41d4-99a1-bd431535c1f6/snap |
| disk_format | qcow2 |
| hw_disk_bus | scsi |
| hw_scsi_model | virtio-scsi |
| id | 8e03f3f0-29aa-41d4-99a1-bd431535c1f6 |
| min_disk | 0 |
| min_ram | 0 |
| name | ceph_virtio_scsi_206_Ubuntu_14_04_5G |
| owner | b97ada059f12423cb5a6ed85552c1bb9 |
| protected | False |
| size | 1840250880 |
| status | active |
| tags | [] |
| updated_at | 2016-09-30T06:58:45Z |
| virtual_size | None |
| visibility | public |
+------------------+----------------------------------------------------------------------------------+
# nova image-show 8e03f3f0-29aa-41d4-99a1-bd431535c1f6
+------------------------+--------------------------------------+
| Property | Value |
+------------------------+--------------------------------------+
| OS-EXT-IMG-SIZE:size | 1840250880 |
| created | 2016-09-30T06:58:18Z |
| id | 8e03f3f0-29aa-41d4-99a1-bd431535c1f6 |
| metadata hw_disk_bus | scsi |
| metadata hw_scsi_model | virtio-scsi |
| minDisk | 0 |
| minRam | 0 |
| name | ceph_virtio_scsi_206_Ubuntu_14_04_5G |
| progress | 100 |
| status | ACTIVE |
| updated | 2016-09-30T06:58:45Z |
+------------------------+--------------------------------------+
qemu.......
-device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4
-drive file=/var/lib/nova/instances/2e02c755-aaa1-44f1-a6a5-6fffadddd51c/disk,format=qcow2,if=none,id=drive-scsi0-0-0-0,cache=none
....................................
qemu.......
-drive file=/var/lib/nova/instances/e81a84c0-c91e-410d-acc4-e5cc7fbefa43/disk,format=qcow2,if=none,id=drive-virtio-disk0,cache=none
....................................