If I want to call this api for a vm, I must add this vm into a protection domain, and take a snapshot for this protection domain. Then, I can get the vm’s disks’ snapshot file path , like this : /<storage_container_name>/.snapshot/<number>/<id>/.acropolis/vmdisk/<vm_disk_id>
I can use this file path to call this api successfully.
But, a protection domain maybe contain many vms, if I take a snapshot for a protection domain, all vms in it will take a snapshot, I just want to take a snapshot for one vm of them.
if I take a snapshot for a vm directly, I will get the vm’s disks’ snapshot file path, like this: /<storage_container_name>/.acropolis/snapshot/<snapshot_id>/vmdisk/<vm_disk_id>
.
But this filepath is invalid for this api. like this question:
I want to take a snapshot for one vm, and don’t affect other vms, and I can use this snapshot file to call this api succesffuly.
Is there any solution? Thanks.