[root@pike ~]# cd /var/lib/nova/instances/c32f8edc-cb33-4f0a-a0f2-553b338d9a4d/
[root@pike c32f8edc-cb33-4f0a-a0f2-553b338d9a4d]# ls -l
total 2760
-rw------- 1 root root 0 Jan 23 13:58 console.log
-rw-r--r-- 1 root root 2818048 Feb 7 16:10 disk
-rw-r--r-- 1 nova nova 79 Jan 5 13:47 disk.info
[root@pike c32f8edc-cb33-4f0a-a0f2-553b338d9a4d]# qemu-img info disk
image: disk
file format: qcow2
virtual size: 1.0G (1073741824 bytes)
disk size: 2.7M
cluster_size: 65536
backing file: /var/lib/nova/instances/_base/c33e0050502ac68c2f6cd5b3435db1993a7dfa7b
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
[root@pike c32f8edc-cb33-4f0a-a0f2-553b338d9a4d]# cd ..
[root@pike instances]# cd efd030ba-4304-4f1c-b95b-bb16a361ae9a/
[root@pike efd030ba-4304-4f1c-b95b-bb16a361ae9a]# ls -l
total 2788
-rw------- 1 root root 25067 Jan 5 13:56 console.log
-rw-r--r-- 1 root root 2818048 Feb 7 16:09 disk
-rw-r--r-- 1 nova nova 79 Jan 5 13:55 disk.info
[root@pike efd030ba-4304-4f1c-b95b-bb16a361ae9a]# qemu-img info disk
image: disk
file format: qcow2
virtual size: 1.0G (1073741824 bytes)
disk size: 2.7M
cluster_size: 65536
backing file: /var/lib/nova/instances/_base/c33e0050502ac68c2f6cd5b3435db1993a7dfa7b
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
I use pike environment and use cirros image
(1)create a vm
(2) not find your question.
[root@pike ~]# vim /usr/lib/ python2. 7/site- packages/ nova/conf/ compute. py ------- ------- ------- ------- ----+-- ------- ------- + ------- ------- ------- ------- ----+-- ------- ------- + b1dc-41ac- 9d9a-7b74cb385c 75 | cirros | b07f-4728- b1c9-fa1559a651 fe | download-image | ------- ------- ------- ------- ----+-- ------- ------- + b1dc-41ac- 9d9a-7b74cb385c 75 ------- -----+- ------- ------- ------- ------- ------- --+ ------- -----+- ------- ------- ------- ------- ------- --+ b884d80c9dc9c72 90 | 05T03:42: 06Z | b1dc-41ac- 9d9a-7b74cb385c 75 | d874d319e0e6000 85 | 05T03:42: 06Z |
[root@pike ~]# glance image-list
+------
| ID | Name |
+------
| c780a38b-
| 40f93d8a-
+------
[root@pike ~]# glance image-show c780a38b-
+------
| Property | Value |
+------
| checksum | f8ab98ff5e73eba
| container_format | bare |
| created_at | 2018-01-
| disk_format | qcow2 |
| id | c780a38b-
| min_disk | 0 |
| min_ram | 0 |
| name | cirros |
| owner | 5f15a3fa2c4a4ee
| protected | False |
| size | 13267968 |
| status | active |
| tags | [] |
| updated_at | 2018-01-
| virtual_size | None |
| visibility | public |
[root@pike ~]# cd /var/lib/ nova/instances/ c32f8edc- cb33-4f0a- a0f2-553b338d9a 4d/ cb33-4f0a- a0f2-553b338d9a 4d]# ls -l cb33-4f0a- a0f2-553b338d9a 4d]# qemu-img info disk nova/instances/ _base/c33e00505 02ac68c2f6cd5b3 435db1993a7dfa7 b cb33-4f0a- a0f2-553b338d9a 4d]# cd .. 4304-4f1c- b95b-bb16a361ae 9a/ 4304-4f1c- b95b-bb16a361ae 9a]# ls -l 4304-4f1c- b95b-bb16a361ae 9a]# qemu-img info disk nova/instances/ _base/c33e00505 02ac68c2f6cd5b3 435db1993a7dfa7 b
[root@pike c32f8edc-
total 2760
-rw------- 1 root root 0 Jan 23 13:58 console.log
-rw-r--r-- 1 root root 2818048 Feb 7 16:10 disk
-rw-r--r-- 1 nova nova 79 Jan 5 13:47 disk.info
[root@pike c32f8edc-
image: disk
file format: qcow2
virtual size: 1.0G (1073741824 bytes)
disk size: 2.7M
cluster_size: 65536
backing file: /var/lib/
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
[root@pike c32f8edc-
[root@pike instances]# cd efd030ba-
[root@pike efd030ba-
total 2788
-rw------- 1 root root 25067 Jan 5 13:56 console.log
-rw-r--r-- 1 root root 2818048 Feb 7 16:09 disk
-rw-r--r-- 1 nova nova 79 Jan 5 13:55 disk.info
[root@pike efd030ba-
image: disk
file format: qcow2
virtual size: 1.0G (1073741824 bytes)
disk size: 2.7M
cluster_size: 65536
backing file: /var/lib/
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false