<br><br><div class="gmail_quote">2012/5/25 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 class="im">On 05/25/2012 09:10 AM, Patrick Petit wrote:<br>
><br>
><br>
> 2012/5/24 Pádraig Brady <<a href="mailto:P@draigbrady.com">P@draigbrady.com</a> <mailto:<a href="mailto:P@draigbrady.com">P@draigbrady.com</a>>><br>
><br>
> On 05/24/2012 02:49 PM, Patrick Petit wrote:<br>
> ><br>
> ><br>
</div>> > 2012/5/24 Pádraig Brady <<a href="mailto:P@draigbrady.com">P@draigbrady.com</a> <mailto:<a href="mailto:P@draigbrady.com">P@draigbrady.com</a>> <mailto:<a href="mailto:P@draigbrady.com">P@draigbrady.com</a> <mailto:<a href="mailto:P@draigbrady.com">P@draigbrady.com</a>>>><br>
<div><div class="h5">> ><br>
> > On 05/24/2012 01:26 PM, Patrick Petit wrote:<br>
> > > Hi Pádraig,<br>
> > ><br>
> > > Thank you for your reply.<br>
> > ><br>
> > > I applied the suggested libvirt_inject_partition = -1<br>
> > ><br>
> > > 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>
> > > 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>
> > 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>
> ><br>
> > I am running the all OpenStack in a virtual machine under VBox.<br>
> > nova.conf has libvirt_type = qemu<br>
> ><br>
> > Disabling SELinux solved the problem.<br>
> > Shouldn't that be reported as a bug?<br>
><br>
> I think the bug referenced above captures the issue sufficiently.<br>
> What I've done is to document the specific SELinux setting above,<br>
> to enable this mode of operation, in the fedora/epel wiki where<br>
> you said you were following the instructions.<br>
><br>
><br>
> Pádraig,<br>
><br>
> Shouldn't the packages installation scripts take care of the SElinux configuration settings and make that transparent to end-users?<br>
> After all, we might expect that once the various packages are installed on that distribution OpenStack just works out-of-the-box.<br>
<br>
</div></div>As far as possible, yes.<br>
<br>
However I'd be wary about auto setting that parameter as the user<br>
could be using the VM for something else and so this security<br>
relaxation needs to be done explicitly at present.<br>
<br>
Also installing to a VM is not a production deployment scenario,<br>
so documenting the setting for testing/dev is OK for now I think.<br></blockquote><div><br></div><div>Sure. sounds good to me.</div><div>Thank you for fixing the documentation.</div><div>Cheers,</div><div>Patrick </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
We'll continue to monitor this issue and perhaps be able to work around it in future.<br>
<br>
cheers,<br>
Pádraig.<br>
</blockquote></div><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>