<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<pre style="margin: 0em;"><br style="font-weight: bold;"><span style="font-weight: bold;">#qemu-img info /var/lib/libvirt/images/g2</span><br>image: /var/lib/libvirt/images/g2<br>file format: qcow2<br>virtual size: 8.0G (8589934592 bytes)<br>disk size: 136K<br>cluster_size: 65536<br><br><span style="font-weight: bold;">[root@localhost libvirt-0.9.11]# ifconfig | grep br0</span><br>br0 Link encap:Ethernet HWaddr 00:1A:4B:B9:E2:50 <br>virbr0 Link encap:Ethernet HWaddr C6:F4:2E:7A:4C:25 <br><br><span style="font-weight: bold;">I tried prompt option but it does'nt work</span><br><br><span style="font-weight: bold;"># /usr/sbin/virt-install --accelerate --hvm --connect qemu:///system --name g3 --vcpu=1 --ram 1024 --os-type=linux --os-variant=rhel6 --network bridge:br0 --disk /var/lib/libvirt/images/g2 --disk=/opt/SL-62-x86_64-2012-02-06-Install-DVD.iso,device=cdrom,perms=ro --location=/mnt/ --nographics --serial pty --extra-args=console=ttyS0,115200n8 --keymap=en --force --prompt</span><br><br>Starting install...<br>Retrieving file .treeinfo... | 768 B 00:00 ... <br>Retrieving file vmlinuz... | 7.5 MB 00:00 ... <br>Retrieving file initrd.img... | 59 MB 00:00 ... <br>ERROR internal error Process exited while reading console log output: <br>Domain installation does not appear to have been successful.<br>If it was, you can restart your domain by running:<br> virsh --connect qemu:///system start g3<br>otherwise, please restart your installation.<br><br><br>On 06/12/2012 05:55 PM, Pankaj Rawat wrote:
</pre>
<blockquote style="border-left: 0.2em solid rgb(85, 85, 238); margin: 0em; padding-left: 0.85em;">
<pre style="margin: 0em;">
Ok I am attaching the file.
</pre>
</blockquote>
<tt>Please check your guest image size by qemu-img info or ll -h, for </tt><tt>example: qemu-img info /var/lib/libvirt/images/g2,
</tt>
<pre style="margin: 0em;">and run 'ifconfig | grep br0' then paste output in here, thanks.
</pre>
<tt>In addition, you may also use interactive virt-install to install a </tt><tt>guest with --prompt option then step by step.
</tt>
<pre style="margin: 0em;">Regards
Pankaj Rawat
-----Original Message-----
From: Alex Jia [<a rel="nofollow" href="mailto:a...@redhat.com">mailto:a...@redhat.com</a>]
Sent: Tuesday, June 12, 2012 11:38 AM
To: Pankaj Rawat
Cc: libvir-list@redhat.com
Subject: Re: [libvirt] Error while installing a guest
Hi Pankaj,
Could you attach your virt-install.log as an attachment?
it locals in ~/.virtinst/virt-install.log.
Or Is it okay if you also upgrade your python-virtinst?
Thanks,
Alex
----- Original Message -----
From: "Pankaj Rawat" <pankaj.ra...@nechclst.in>
To: libvir-list@redhat.com
Sent: Tuesday, June 12, 2012 1:56:05 PM
Subject: [libvirt] Error while installing a guest
Hi all ,
I have SL6.2 x86_64 Installed on my system
</pre>
<tt>I updated libvirt version from 0.9.4 to 0.9.11, I had removed previous </tt><tt>libvirt via yum
</tt>
<pre style="margin: 0em;">I done this by compiling the source.
I started libvirt daemon created by compiling source :
# ./root/libvirt_0.9.11/build/daomen/libvirtd
Now I tried to create a guest:-
</pre>
<tt>[root@localhost libvirt-0.9.11]# /usr/sbin/virt-install --accelerate </tt><tt>--hvm --connect qemu:///system --name g3 --vcpu=1 --ram 1024
</tt><tt>--os-type=linux --os-variant=rhel6 --network bridge:br0 --disk </tt><tt>/var/lib/libvirt/images/g2
</tt><tt>--disk=/opt/SL-62-x86_64-2012-02-06-Install-DVD.iso,device=cdrom,perms=ro
</tt><tt>--location=/mnt/ --nographics --serial pty </tt><tt>--extra-args=console=ttyS0,115200n8 --keymap=en --force
</tt>
<pre style="margin: 0em;">
</pre>
<tt>The command line above normally works fine (I have created many vm by </tt><tt>using same above command)
</tt>
<pre style="margin: 0em;">
But here Following error comes
Starting install...
Retrieving file .treeinfo... | 768 B 00:00 ...
Retrieving file vmlinuz... | 7.5 MB 00:00 ...
</pre>
<tt>Retrieving file initrd.img... 100% </tt><tt>[=====================================================] 11 MB/s | 29
</tt><tt>MB --:-- ETA </tt>
<pre style="margin: 0em;">Retrieving file initrd.img... | 59 MB 00:09 ...
ERROR internal error Process exited while reading console log output:
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start g3
otherwise, please restart your installation.
at libvirtd console following output comes:
</pre>
<tt>2012-06-12 13:58:55.239+0000: 17800: error : </tt><tt>qemuProcessReadLogOutput:1298 : internal error Process exited while
</tt><tt>reading console log output: </tt><tt>2012-06-12 14:04:12.120+0000: 17802: warning : qemuDomainObjTaint:1227
</tt><tt>: Domain id=3 name='g3' uuid=fec6cb5a-d4ea-d2c9-505c-611227fb4f4c is </tt>
<tt>tainted: high-privileges </tt><tt>2012-06-12 13:58:55.239+0000: 17800: error :
</tt><tt>qemuProcessReadLogOutput:1298 : internal error Process exited while </tt>
<tt>reading console lo </tt>
<pre style="margin: 0em;">
I dont know how to resolve this .
Regards
Pankaj Rawat
DISCLAIMER:
</pre>
<tt>-----------------------------------------------------------------------------------------------------------------------
</tt><tt></tt>
<pre style="margin: 0em;">The contents of this e-mail and any attachment(s) are confidential and
intended
for the named recipient(s) only.
It shall not attach any liability on the originator or NECHCL or its
affiliates. Any views or opinions presented in
</pre>
<tt>this email are solely those of the author and may not necessarily </tt><tt>reflect the
</tt>
<pre style="margin: 0em;">opinions of NECHCL or its affiliates.
</pre>
<tt>Any form of reproduction, dissemination, copying, disclosure, </tt><tt>modification,
</tt>
<pre style="margin: 0em;">distribution and / or publication of
</pre>
<tt>this message without the prior written consent of the author of this </tt><tt>e-mail is
</tt>
<pre style="margin: 0em;">strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. .
</pre>
<tt>-----------------------------------------------------------------------------------------------------------------------
</tt><tt></tt>
<pre style="margin: 0em;">--
libvir-list mailing list
libvir-list@redhat.com
<a rel="nofollow" href="https://www.redhat.com/mailman/listinfo/libvir-list">https://www.redhat.com/mailman/listinfo/libvir-list</a>
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended
for the named recipient(s) only.
It shall not attach any liability on the originator or NECHCL or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of NECHCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. .
</pre>
</div>
</body>
</html>
<pre>
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended
for the named recipient(s) only.
It shall not attach any liability on the originator or NECHCL or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of NECHCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. .
-----------------------------------------------------------------------------------------------------------------------</pre>