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:[email protected]]
Sent: 06 March 2014 09:48
To: 黎林果; [email protected]
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: [email protected]
To: [email protected]
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 
<[email protected]<mailto:[email protected]>>:

Thanking a lot for helping me.
________________________________
From: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
CC: [email protected]<mailto:[email protected]>

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 :)


From: Arindam Choudhury [mailto:[email protected]<mailto:[email protected]>]
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 [Image removed by sender. Image removed 
by sender. Emoji] . clear_emulator_capabilities=0 was already set.

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

log <http://paste.openstack.org/raw/72621/>

instance-log<http://paste.openstack.org/raw/72622/>

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: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
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'; 
[email protected]<mailto:[email protected]>
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:[email protected]<mailto:[email protected]>]
Sent: 05 March 2014 13:36
To: Parthipan, Loganathan; 
[email protected]<mailto:[email protected]>
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     : 
[email protected]<mailto:[email protected]>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

<<inline: ~WRD000.jpg>>

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to