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

Jim Fehlig jfehlig at suse.com
Mon Oct 26 14:28:07 UTC 2015


On 10/23/2015 10:15 AM, 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>

I'd be surprised if that emulator would work with Xen. Along with answering the 
questions Cole already asked, check the log files in /var/log/libvirt/libxl/ and 
/var/log/xen.

Regards,
Jim

>     <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:
>
>
>
>
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list




More information about the virt-tools-list mailing list