[Openstack] Error mounting disk with libguestfs (child process died unexpectedly)

Arindam Choudhury arindam at live.com
Thu Mar 6 10:42:29 UTC 2014


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?

From: parthipan at hp.com
To: arindam at live.com; lilinguo8212 at gmail.com; openstack at lists.openstack.org
Subject: RE: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)
Date: Thu, 6 Mar 2014 10:19:56 +0000









Arindam,
 
If you don’t want to see the error in the logs you can configure /etc/nova/nova.conf to
 
[libvirt]
inject_partition = -2
 
The guest can then inject files and metadata after it starts up, which is more preferable.
 
~parthi
 



From: Arindam Choudhury [mailto:arindam at live.com]


Sent: 06 March 2014 09:48

To: 黎林果; openstack at lists.openstack.org

Subject: Re: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)


 

Hi,



It will be very helpful if you can share your procedure. My libguestfs version is libguestfs-1.16.34-2.el6.x86_64




Date: Thu, 6 Mar 2014 09:24:51 +0800

Subject: Re: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)

From: lilinguo8212 at gmail.com

To: arindam at live.com


I've been done. The guestfs's python file has a bug.

Bug I forget what is version of the guestfs. If you can't deal the problem, I can find out what I have done.


 

2014-03-05 23:30 GMT+08:00 Arindam Choudhury <arindam at live.com>:




Thanking a lot for helping me. 





From: 
parthipan at hp.com

To: arindam at live.com

CC: 
openstack at lists.openstack.org



Subject: RE: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)

Date: Wed, 5 Mar 2014 15:16:25 +0000

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.

 

Glad the VM booted
J

 

 



From: Arindam Choudhury [mailto:arindam at live.com]


Sent: 05 March 2014 15:10



To: Parthipan, Loganathan

Subject: RE: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)

 


 

changing /etc/libvirt/qemu.conf helped
.
clear_emulator_capabilities=0 was already set.



VM boots up, but it still has the same error in log.



log 



instance-log



ls -alh /var/lib/nova/instances/7d79e021-72a9-4e5c-b2e5-312e16355dcd/

total 52M

drwxr-xr-x 2 nova nova 4.0K Mar  5 15:50 .

drwxr-xr-x 5 nova nova 4.0K Mar  5 15:50 ..

-rw-rw---- 1 root root  25K Mar  5 15:51 console.log

-rw-r--r-- 1 root root  52M Mar  5 15:51 disk

-rw-r--r-- 1 nova nova 1.6K Mar  5 15:50 libvirt.xml








 

From: 
parthipan at hp.com

To: arindam at live.com; 
openstack at lists.openstack.org

Subject: RE: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)

Date: Wed, 5 Mar 2014 13:53:25 +0000


If that doesn’t work try setting clear_emulator_capabilities=0

 



From: Parthipan, Loganathan


Sent: 05 March 2014 13:37

To: 'Arindam Choudhury'; 
openstack at lists.openstack.org

Subject: RE: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)


 

Try setting user and group to root in /etc/libvirt/qemu.conf

 



From: Arindam Choudhury [mailto:arindam at live.com]


Sent: 05 March 2014 13:36

To: Parthipan, Loganathan; 
openstack at lists.openstack.org

Subject: RE: [Openstack] Error mounting disk with libguestfs (child process died unexpectedly)


 



./configure --enable-trace-backend=ftrace --enable-kvm --enable-vhost-net --enable-virtfs --target-list=x86_64-linux-user,x86_64-softmmu












...



[邮件部分隐藏]  

_______________________________________________

Mailing list: 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Post to     : openstack at lists.openstack.org

Unsubscribe : 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

 




 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140306/e68c1bfb/attachment.html>


More information about the Openstack mailing list