primalmotion/Archipel — Issue #327: Clone does not set file name correctly. (image no such file)
Author: tightwork
Created: 2011-11-18 20:08:58+00:00
State: open

I am using the git from a few hours ago on November 18, 2011. Creating a clone sets the qcow2 image file name to the mother image yet, the xml has the new image name that was asked for.

The image name is not changed and is the name of the mother vm, while the xml is different.

Example:

Navigate to hypervisor virtual machines and select a machine "master-vm1", then select clone. Archipel asks for a new VM name, enter "master-vm2". Cloning will complete yet the image in /vm/drives will be master-vm1.qcow2 and the xml will contain master-vm2.qcow2. The vm will error on start, stating master-vm2.qcow2 does not exist. For a work around, renaming the image by; mv master-vm1.qcow2 master-vm2.qcow2 and the VM will start.

Ideally the image name should be set correctly.

Thank you,
Bryan