[virt-tools-list] unable to install ubuntu xen guest with virtinst 0.500.6

Cole Robinson crobinso at redhat.com
Thu Apr 7 15:27:19 UTC 2011


On 04/07/2011 09:55 AM, Cole Robinson wrote:
> On 04/07/2011 08:56 AM, Tomas Lund wrote:
>> I am running a Debian 6.0 box where I am trying to install an Ubuntu
>> XEN-guest using virtinst. I have the debian package version 0.500.6-1 
>> of virt-install.
>>
>> This is how I try to do the install:
>>
>> # export DOMU=ubuntu
>>
>> # export URL=http://fi.archive.ubuntu.com/ubuntu/dists/maverick/main/installer-amd64/
>>
>> # virt-install --name=${DOMU} --ram=256 --disk path=/dev/vg1/${DOMU} \
>>    --network bridge:vlan100 --nographics --paravirt --os-type=linux \
>>    --os-variant=ubuntumaverick --location ${URL}
>>
>> ..but it failes after downloading the MANIFEST file, I assume it is 
>> looking for the kernel and initird in the wrong place on the FTP-server:
>>
>> Starting install...
>> Retrieving file MANIFEST...                | 2.1 kB     00:00 ...
>> ERROR    Could not find a kernel path for virt type 'xen'
>> Domain installation does not appear to have been successful.
>> If it was, you can restart your domain by running:
>>    virsh --connect xen:/// start ubuntu
>> otherwise, please restart your installation.
> 
> Please provide the full output when running that command with --debug
> 

Nevermind, I reproduced. Older ubuntu distros didn't have xen kernels,
which was an assumption we hardcoded. Fixed upstream now:

http://git.fedorahosted.org/git?p=python-virtinst.git;a=commit;h=a207c6a136ff7b4df8f5438864558a05d666cb9c

Thanks,
Cole




More information about the virt-tools-list mailing list