<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thanks, I used a really bad way of linking qemu-kvm to qemu-system-x86_64, is there any better way or I should change nova-compute codes?<br><br><div><hr id="stopSpelling">From: parthipan@hp.com<br>To: arindam@live.com; lilinguo8212@gmail.com; openstack@lists.openstack.org<br>Subject: RE: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)<br>Date: Thu, 6 Mar 2014 10:19:56 +0000<br><br>
<style><!--
.ExternalClass .ecxshape {
}
--></style><style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:SimSun;
}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}
.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}
.ExternalClass p {
font-size:12.0pt;
font-family:SimSun;
}
.ExternalClass span.ecxEmailStyle18 {
font-family:"Calibri","sans-serif";
color:#1F497D;
}
.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}
.ExternalClass div.ecxWordSection1 {
}
--></style>
<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Arindam,</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">If you don’t want to see the error in the logs you can configure /etc/nova/nova.conf to</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">[libvirt]</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">inject_partition = -2</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">The guest can then inject files and metadata after it starts up, which is more preferable.</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">~parthi</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt;">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> Arindam Choudhury [mailto:arindam@live.com]
<br>
<b>Sent:</b> 06 March 2014 09:48<br>
<b>To:</b> </span><span style="font-size:10.0pt;" lang="ZH-CN">黎林果</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">; openstack@lists.openstack.org<br>
<b>Subject:</b> Re: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)</span></p>
</div>
</div>
<p class="ecxMsoNormal"> </p>
<div>
<p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";">Hi,<br>
<br>
It will be very helpful if you can share your procedure. My libguestfs version is libguestfs-1.16.34-2.el6.x86_64</span></p>
<div>
<div class="ecxMsoNormal" style="text-align:center;" align="center"><span style="font-family:"Calibri","sans-serif";">
<hr id="ecxstopSpelling" size="2" width="100%" align="center">
</span></div>
<p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";">Date: Thu, 6 Mar 2014 09:24:51 +0800<br>
Subject: Re: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)<br>
From: lilinguo8212@gmail.com<br>
To: arindam@live.com</span></p>
<div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I've been done. The guestfs's python file has a bug.</span></p>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Bug I forget what is version of the guestfs. If you can't deal the problem, I can find out what I have done.</span></p>
</div>
<div>
<p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";"> </span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">2014-03-05 23:30 GMT+08:00 Arindam Choudhury <<a href="mailto:arindam@live.com" target="_blank">arindam@live.com</a>>:</span></p>
<div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><br>
Thanking a lot for helping me. </span></p>
<div>
<div>
<div class="ecxMsoNormal" style="text-align:center;" align="center"><span style="font-family:"Calibri","sans-serif";">
<hr size="2" width="100%" align="center">
</span></div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">From: <a href="mailto:parthipan@hp.com" target="_blank">
parthipan@hp.com</a><br>
To: <a href="mailto:arindam@live.com" target="_blank">arindam@live.com</a></span></p>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">CC: <a href="mailto:openstack@lists.openstack.org" target="_blank">
openstack@lists.openstack.org</a></span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><br>
Subject: RE: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)</span></p>
</div>
<p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";">Date: Wed, 5 Mar 2014 15:16:25 +0000</span></p>
<div>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">The guestfs error is due to a misconfiguration of guestfs and will only result in not having files injected before booting. Usually this is harmless as cloud-init
like software will fix it after booting.</span><span style="font-family:"Calibri","sans-serif";"><br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"><br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Glad the VM booted
</span><span style="font-size:11.0pt;font-family:Wingdings;color:#1F497D;">J</span><span style="font-family:"Calibri","sans-serif";"><br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"><br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt;">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> Arindam Choudhury [mailto:<a href="mailto:arindam@live.com" target="_blank">arindam@live.com</a>]
<br>
<b>Sent:</b> 05 March 2014 15:10</span><span style="font-family:"Calibri","sans-serif";"></span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><br>
<b>To:</b> Parthipan, Loganathan<br>
<b>Subject:</b> RE: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)</span></p>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
</div>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<div>
<p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";">changing /etc/libvirt/qemu.conf helped
<span style="border:solid windowtext 1.0pt;padding:0cm;"><img id="ecx_x0000_i1027" src="http://~WRD000.jpg" alt="Image removed by sender. Image removed by sender. Emoji" height="100" width="100" border="0"></span>.
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";">clear_emulator_capabilities=0 was already set.<br>
<br>
VM boots up, but it still has the same error in log.<br>
<br>
<a href="http://paste.openstack.org/raw/72621/" target="_blank">log </a><br>
<br>
<a href="http://paste.openstack.org/raw/72622/" target="_blank">instance-log</a><br>
<br>
ls -alh /var/lib/nova/instances/7d79e021-72a9-4e5c-b2e5-312e16355dcd/<br>
total 52M<br>
drwxr-xr-x 2 nova nova 4.0K Mar 5 15:50 .<br>
drwxr-xr-x 5 nova nova 4.0K Mar 5 15:50 ..<br>
-rw-rw---- 1 root root 25K Mar 5 15:51 console.log<br>
-rw-r--r-- 1 root root 52M Mar 5 15:51 disk<br>
-rw-r--r-- 1 nova nova 1.6K Mar 5 15:50 libvirt.xml<br>
<br>
</span><span style="font-family:"Calibri","sans-serif";"></span></p>
<div>
<div class="ecxMsoNormal" style="text-align:center;" align="center"><span style="font-family:"Calibri","sans-serif";">
<hr size="2" width="100%" align="center">
</span></div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">From: <a href="mailto:parthipan@hp.com" target="_blank">
parthipan@hp.com</a><br>
To: <a href="mailto:arindam@live.com" target="_blank">arindam@live.com</a>; <a href="mailto:openstack@lists.openstack.org" target="_blank">
openstack@lists.openstack.org</a><br>
Subject: RE: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)</span></p>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Date: Wed, 5 Mar 2014 13:53:25 +0000</span></p>
<div>
<div>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">If that doesn’t work try setting clear_emulator_capabilities=0</span><span style="font-family:"Calibri","sans-serif";"><br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt;">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> Parthipan, Loganathan
<br>
<b>Sent:</b> 05 March 2014 13:37<br>
<b>To:</b> 'Arindam Choudhury'; <a href="mailto:openstack@lists.openstack.org" target="_blank">
openstack@lists.openstack.org</a><br>
<b>Subject:</b> RE: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)</span><span style="font-family:"Calibri","sans-serif";"></span></p>
</div>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> <br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Try setting user and group to root in /etc/libvirt/qemu.conf</span><span style="font-family:"Calibri","sans-serif";"><br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt;">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> Arindam Choudhury [mailto:<a href="mailto:arindam@live.com" target="_blank">arindam@live.com</a>]
<br>
<b>Sent:</b> 05 March 2014 13:36<br>
<b>To:</b> Parthipan, Loganathan; <a href="mailto:openstack@lists.openstack.org" target="_blank">
openstack@lists.openstack.org</a><br>
<b>Subject:</b> RE: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)</span><span style="font-family:"Calibri","sans-serif";"></span></p>
</div>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><br>
./configure --enable-trace-backend=ftrace --enable-kvm --enable-vhost-net --enable-virtfs --target-list=x86_64-linux-user,x86_64-softmmu</span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";">...<br>
<br>
[</span><span lang="ZH-CN">邮件部分隐藏</span><span style="font-family:"Calibri","sans-serif";">] <br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></span></p>
</div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
</div>
</div>
</div>
</div>
</div></div> </div></body>
</html>