[Openstack] [Nova] Getting error when injecting data into an image

Patrick Petit patrick.michel.petit at gmail.com
Thu May 24 13:49:43 UTC 2012


2012/5/24 Pádraig Brady <P at draigbrady.com>

> On 05/24/2012 01:26 PM, Patrick Petit wrote:
> > Hi Pádraig,
> >
> > Thank you for your reply.
> >
> > I applied the suggested  libvirt_inject_partition = -1
> >
> > It does change things because it's not complaining about mount error any
> more but generates further errors down the path in libvirt.py"
>
> > 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
> a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]   File
> "/usr/lib64/python2.7/site-packages/libvirt.py", line 540, in
> createWithFlags
> > 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
> a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31]     if ret == -1: raise libvirtError
> ('virDomainCreateWithFlags() failed', dom=self)
> > 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
> a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] libvirtError: internal error Process
> exited while reading console log output: char device redirected to
> /dev/pts/2
> > 2012-05-24 14:11:54 TRACE nova.compute.manager [instance:
> a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] Could not allocate dynamic translator
> buffer
>
> That's libvirt specific.
>
> Do you have "Virtual Machine" support enabled in your BIOS?
> If not the fallback mode is currently disallowed by SELinux,
> and you can enable with: setsebool -P virt_use_execmem=on
>
> https://bugzilla.redhat.com/show_bug.cgi?id=753589#c36
>
> It's quite a non specific error so it could be something else.
>
I am running the all OpenStack in a virtual machine under VBox.
nova.conf has libvirt_type = qemu

Disabling SELinux solved the problem.
Shouldn't that be reported as a bug?
Thanks a thousand times.
Patrick



>
> cheers,
> Pádraig.
>



-- 
*"Give me a place to stand, and I shall move the earth with a lever"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120524/ed8ca877/attachment.html>


More information about the Openstack mailing list