[
https://issues.apache.org/jira/browse/VCL-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Thompson deleted VCL-1131:
-------------------------------
> kvm image copy/conversions failures not detected correctly
> ----------------------------------------------------------
>
> Key: VCL-1131
> URL: https://issues.apache.org/jira/browse/VCL-1131
> Project: VCL
> Issue Type: Bug
> Reporter: Josh Thompson
> Priority: Major
>
> When libvirt is used as the provisioning engine for a VM, and the qcow2 disk
> image file does not exist in the datastore for the reserved image, qemu-img
> is used to copy it from the repository. The command to copy it uses && to run
> both the qemu-img convert command and a follow up qemu-img info command. The
> return code of the info command is all that gets returned to the vcld
> process, masking a possible failed error code from qemu-img convert. If
> qemu-img convert fails part of the way through, qemu-img info still succeeds,
> and the VM is eventually provisioned, but with a broken backing file for its
> disk image.
> The qemu-img convert and qemu-img info commands need to be separated so that
> vcld can read the return code of each of them. The commands are in
> KVM.pm->copy_virtual_disk.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)