[Users] Cannot create build slave
Erik Schnetter
schnetter at cct.lsu.edu
Mon Oct 20 12:41:22 CDT 2014
Ian
Thanks; this worked.
-erik
On Mon, Oct 20, 2014 at 1:33 PM, Ian Hinder <ian.hinder at aei.mpg.de> wrote:
>
> On 20 Oct 2014, at 19:19, Erik Schnetter <schnetter at cct.lsu.edu> wrote:
>
>> I don't know. I'm using Ian's script. to create the slave. Ian?
>
> Hi Erik,
>
> We discussed this before, the last time you tried this. I include my reply from then:
>
>> Hi Erik,
>>
>> Did you do a full reinstall rather than an upgrade? The VM definition should have survived an upgrade.
>>
>> The create-build-slave-vm script has never been tested on 14.04, and it looks like libvirt now only supports the more sophisticated "storage pool" method when using non-raw disk formats. The long-term solution would be to switch to using storage pools; there is a "local directory" pool type, and it is probably a small change, but I don't have a 14.04 machine to test on currently, nor the time. I think the easiest solution would be to use a raw disk image instead of a qcow2 image, which the error message suggests should still work. Since you don't need to back up this VM, there aren't so many advantages to qcow2 anyway. I think you should be able to do this by modifying the relevant part of the create-build-slave-vm script from
>>
>> --disk path=$vmdir/root.qcow2,format=qcow2,bus=virtio,size=50
>>
>> to
>>
>> --disk path=$vmdir/root.img,bus=virtio,size=50
>>
>> The only change should be that the image will now take 50 GB of real disk space, rather than only taking that space when it is actually used.
>>
>
>
> Can you try this change to the script?
>
> --
> Ian Hinder
> http://numrel.aei.mpg.de/people/hinder
>
--
Erik Schnetter <schnetter at cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/
More information about the Users
mailing list