<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello Thiago,<br>
<br>
I think it's better to use rootwrap in sudoers :<br>
<br>
nova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap
/etc/nova/rootwrap.conf *<br>
cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap
/etc/cinder/rootwrap.conf *<br>
quantum ALL = (root) NOPASSWD: /usr/bin/quantum-rootwrap
/etc/quantum/rootwrap.conf *<br>
<br>
NOTE : with quantum (l3, dhcp, etc ..) you can encounter issue
with rootwrap, especially with namespaces (i don't know if this is
still the case)<br>
To fix that, just add 'root_helper = sudo
/usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf' in the .ini
file of each quantum service.<br>
<br>
I don't know why root_helper isn't in each quantum service sample
files if it must be configured ... is it normal or not ?<br>
If this addition (to add root_helper in each ini file) should not
be necessary, I think i identified the root problem.<br>
In the dhcp_agent for example, just need to replace each
occurrences of 'self.conf.root_helper' by 'self.root_helper'<br>
<br>
If someone has the answer, let me know if I should open a bug or
not.<br>
<br>
Regards,<br>
<br>
<br>
jbr_<br>
<br>
<br>
On 03/21/2013 01:19 AM, Martinx - ジェームズ wrote:<br>
</div>
<blockquote
cite="mid:CAJSM8J3w3J5qASaGWBsBKVahkqT2azoXnCFJrob4_=g5ZxsZpw@mail.gmail.com"
type="cite">
<div dir="ltr">1 problem fixed with:
<div><br>
</div>
<div>
<div>visudo</div>
<div><br>
</div>
<div>---</div>
<div>quantum ALL=NOPASSWD: ALL</div>
<div>cinder ALL=NOPASSWD: ALL</div>
<div>nova ALL=NOPASSWD: ALL</div>
<div>---</div>
</div>
<div><br>
</div>
<div style="">Guide updated...</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 20 March 2013 19:51, Martinx - ジェームズ
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hi!</div>
<div><br>
</div>
<div> I'm working with Grizzly G3+RC1 on top of Ubuntu
12.04.2 and here is the guide I wrote:</div>
<div><br>
</div>
<div> <a moz-do-not-send="true"
href="https://gist.github.com/tmartinx/d36536b7b62a48f859c2"
target="_blank">Ultimate OpenStack Grizzly Guide</a></div>
<div><br>
</div>
<div> It covers:</div>
<div><br>
</div>
<div> * Ubuntu 12.04.2</div>
<div> * Basic Ubuntu setup</div>
<div> * KVM</div>
<div> * OpenvSwitch</div>
<div> * Name Resolution for OpenStack components;</div>
<div> * LVM for Instances</div>
<div> * Keystone</div>
<div> * Glance</div>
<div> * Quantum - Single Flat, Super Green!!</div>
<div> * Nova</div>
<div> * Cinder / tgt</div>
<div> * Dashboard</div>
<div><br>
</div>
<div> It is still a draft but, every time I deploy Ubuntu
and Grizzly, I follow this little guide...</div>
<div><br>
</div>
<div> I would like some help to improve this guide... If
I'm doing something wrong, tell me! Please!</div>
<div><br>
</div>
<div> Probably I'm doing something wrong, I don't know
yet, but I'm seeing some errors on the logs, already
reported here on this list. Like for example:
nova-novncproxy conflicts with novnc (no VNC console for
now), dhcp-agent.log / auth.log points to some problems
with `sudo' or the `rootwarp' subsystem when dealing
with metadata (so it isn't working)...</div>
<div><br>
</div>
<div> But in general, it works great!!</div>
<div><br>
</div>
<div>Best!</div>
<div>Thiago</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
</blockquote>
<br>
</body>
</html>