When a volume is copied to another storage pool, if the template does not exist in the destination storage pool yet, it should be copied. The API migrateVirtualMachineWithVolume already does it; however, when migrating the volume with migrateVolume (VM stopped), the template is not copied, which causes inconsistencies in the database and primary storage systems.
When a volume is copied to another storage pool, if the template does not exist in the destination storage pool yet, it should be copied. The API
migrateVirtualMachineWithVolumealready does it; however, when migrating the volume withmigrateVolume(VM stopped), the template is not copied, which causes inconsistencies in the database and primary storage systems.