How to take snapshot of VM which is booted from volume??
Hello All,
In my OpenStack cluster(Newton) I have VM's which are booted from volume(Ceph based). I have one more Openstack cluster(Queens) which is completely separated from the Newton based one. I want to take the snapshot of VM's running in Newton based cluster and upload the snapshots in my Queens based cluster and create VM's out of them. But when I took snapshot of VM's which are booted from volume the snapshot size is showing 0bytes. How can I take snapshot of VM booted from volume so that I can upload it in other cluster??
openstack image show e6b67bd5-aa38-4951-89ec-1fc964f892af
+------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum | d41d8cd98f00b204e9800998ecf8427e |
| container_format | bare |
| created_at | 2018-10-08T08:23:18Z |
| disk_format | qcow2 |
| file | /v2/images/e6b67bd5-aa38-4951-89ec-1fc964f892af/file |
| id | e6b67bd5-aa38-4951-89ec-1fc964f892af |
| min_disk | 0 |
| min_ram | 0 |
| name | TEST_Image_Master-2018-10-08-10-23 |
| owner | d160f4259e2e464ea3f9fb0c7ea39571 |
| properties | base_image_ref='', bdm_v2='True', block_device_mapping='[{"guest_format": null, "boot_index": 0, "delete_on_termination": false, "no_device": |
| | null, "snapshot_id": "39cfe636-18b8-48aa-be3d-f0e48e135fb8", "device_name": "/dev/vda", "disk_bus": "virtio", "image_id": null, "source_type": |
| | "snapshot", "tag": null, "device_type": "disk", "volume_id": null, "destination_type": "volume", "volume_size": 40}]', |
| | root_device_name='/dev/vda' |
| protected | False |
| schema | /v2/schemas/image |
| size | 0 |
| status | active |
| tags | |
| updated_at | 2018-10-08T08:23:19Z |
| virtual_size | None |
| visibility | private |
+------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
Can you share the output of
openstack image show SNAPSHOT
? As admin user, just in case.openstack image show SNAPSHOT is updated in the question