[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wg-openstack] Oracle VM with Nova/libvirtd/libguestfs



On 01/13/2016 12:42 PM, Anthony PERARD wrote:
> Hi Mark,
> 
> On Tue, Jan 12, 2016 at 05:45:11PM +0000, Mark Duggan wrote:
>> The system I'm using the following xen pkg versions:
>> xen-4.4.4-65.el6.x86_64
>>
>> With the following libvirt pkg versions:
>> libvirt-1.2.14-4.el6.x86_64
> 
> Those packages might missing a few patches, but I think are for stability.
> List is here: 
> http://wiki.xen.org/wiki?title=OpenStack_CI_Loop_for_Xen-Libvirt&oldid=15162#Baseline
> Or those patches might already be included in the package.
Those patches are included already in package.

>> I'm running a Kilo nova_compute as a docker container, directly on my
>> my OVM/Xen instance.  Libvirtd is running natively on OVM.
>>
>> So, what I'm seeing is that when I  try to create a VM from nova
>> with something like:
>>
>> "docker-ostk nova boot --image cirros1 --flavor m1small manual20"
>>
>> The process  gets as far as a libvirt talking to libguestfs but
>> it seems to get into trouble before requesting xl to instantiate the vm.
>> Here's a snip from the nova_compute logs:
> 
> [...]
>> {"log":"Original error from libvirt: Cannot access storage file
>> '/tmp/libguestfsBgj7ba/overlay2' (as uid:107, gid:107): No such file or
>> directory [code=38 domain=18]). Cannot
>> resize.\n","stream":"stderr","time":"2016-01-12T12:25:51.400006722Z"}
> 
> That might be the issue. Do nova_compute and libvirtd share the same
> filesystem? I guest not due to one been in a container and the other one
> outside.
> 
Indeed some of the directories weren't shared between the nova_compute container
and libvirtd and that caused first the complain below and after that the image
backing file as non existent. But it was fixed a while back, having the right
bind mounts on the container. Thanks for the feedback!

> [...]
>> 2016-01-12 12:21:24.154+0000: 8605: error :
>> virStorageFileGetMetadataRecurse:2836 : Cannot access storage file
>> '/tmp/libguestfseSpFZD/overlay2' (as uid:107, gid:107): No such file or
>> directory
> 

_______________________________________________
Wg-openstack mailing list
Wg-openstack@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/wg-openstack


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.