Sorry Patrick,<div><br></div><div>I did not understand you question about bug.</div><div>As I understood If you want to use selinux you will need to have policies  to configure it for you application.</div><div>or do customization by <meta http-equiv="content-type" content="text/html; charset=utf-8">setsebool</div>
<div><br></div><div>I'm using OpenStack on CentOS and I know only two way 1) disable selinux 2) or customize it</div><div><br><br><div class="gmail_quote">On Thu, May 24, 2012 at 5:49 PM, Patrick Petit <span dir="ltr"><<a href="mailto:patrick.michel.petit@gmail.com" target="_blank">patrick.michel.petit@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div class="im">2012/5/24 Pádraig Brady <span dir="ltr"><<a href="mailto:P@draigbrady.com" target="_blank">P@draigbrady.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 05/24/2012 01:26 PM, Patrick Petit wrote:<br>
> Hi Pádraig,<br>
><br>
> Thank you for your reply.<br>
><br>
</div><div>> I applied the suggested  libvirt_inject_partition = -1<br>
><br>
</div><div>> It does change things because it's not complaining about mount error any more but generates further errors down the path in libvirt.py"<br>
<br>
</div><div>> 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<br>

> 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)<br>
> 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<br>
> 2012-05-24 14:11:54 TRACE nova.compute.manager [instance: a5d5b5c7-093a-4eb4-9d70-d6cfa2b30a31] Could not allocate dynamic translator buffer<br>
<br>
</div>That's libvirt specific.<br>
<br>
Do you have "Virtual Machine" support enabled in your BIOS?<br>
If not the fallback mode is currently disallowed by SELinux,<br>
and you can enable with: setsebool -P virt_use_execmem=on<br>
<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=753589#c36" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=753589#c36</a><br>
<br>
It's quite a non specific error so it could be something else.<br></blockquote></div><div>I am running the all OpenStack in a virtual machine under VBox.</div><div>nova.conf has libvirt_type = qemu</div><div><br></div>
<div>
Disabling SELinux solved the problem.</div><div>Shouldn't that be reported as a bug?</div><div>Thanks a thousand times.</div><div>Patrick</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
cheers,<br>
Pádraig.<br>
</blockquote></div><div class="HOEnZb"><div class="h5"><br><br clear="all"><div><br></div>-- <br><i>"Give me a place to stand, and I shall move the earth with a lever"</i><br>
</div></div><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>