[virt-tools-list] xen virt-install problem

Cole Robinson crobinso at redhat.com
Fri Oct 23 17:27:29 UTC 2015


On 10/23/2015 12:15 PM, Clair Grant wrote:
>  internal error: Process exited while reading console log output: 
> 
> I am using the same virt-install that works for kvm.
> 
> virt-install \
> --debug \
> --autostart \
> --desc="CentOS-7-1503-01" \
> --name vm \
> --os-type=linux \
> --vcpus 8 \
> --ram 1024 \
> --disk path=/root/vm.img,size=2,sparse=true,cache=none \
> --cdrom=/home/xyz/xen/CentOS-7-x86_64-DVD-1503-01.iso \
> --graphics vnc \
> —force
> 
> This type of problem seems to have been reported many times in the past but
> none of the answers seems to fit my case.
> 
> Thanks for any help
> 
> <devices>
>     <emulator>/usr/libexec/qemu-kvm</emulator>
>     <disk type='file' device='disk'>
>       <driver name='qemu' cache='none'/>
>       <source file='/home/grant/xen/vm.img'/>
>       <target dev='hda' bus='ide'/>
>     </disk>
>     <disk type='block' device='cdrom'>
>       <target dev='hdc' bus='ide'/>
>       <readonly/>
>     </disk>
>     <controller type='usb' index='0' model='ich9-ehci1'>
>     </controller>
>     <controller type='usb' index='0' model='ich9-uhci1'>
>         <master startport='0'/>
>     </controller>
>     <controller type='usb' index='0' model='ich9-uhci2'>
>         <master startport='2'/>
>     </controller>
>     <controller type='usb' index='0' model='ich9-uhci3'>
>         <master startport='4'/>
>     </controller>
>     <interface type='user'>
>       <mac address='52:54:00:ec:cc:43'/>
>     </interface>
>     <input type='mouse' bus='ps2'/>
>     <graphics type='vnc' port='-1'/>
>     <console type='pty'/>
>     <video>
>       <model type='cirrus'/>
>     </video>
>   </devices>
> 
> Fri, 23 Oct 2015 10:42:51 ERROR    internal error: Process exited while
> reading console log output: 
> Fri, 23 Oct 2015 10:42:51 DEBUG    Traceback (most recent call last):
>   File "/usr/bin/virt-install", line 631, in start_install
>     noboot=options.noreboot)
>   File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1229, in
> start_install
>     noboot)
>   File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1297, in
> _create_guest
>     dom = self.conn.createLinux(start_xml or final_xml, 0)
>   File "/usr/lib64/python2.6/site-packages/libvirt.py", line 3488, in createLinux
>     if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
> libvirtError: internal error: Process exited while reading console log output:
> 

You'll need to check xen logs, since xen/libvirt aren't reporting any useful
error.

What host distro is this? xen version? libvirt version?

- Cole




More information about the virt-tools-list mailing list