<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">great guide, thanks a lot !<div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; border-collapse: separate; font-family: 'Lucida Grande'; border-spacing: 0px; -webkit-text-decorations-in-effect: none; "><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Razique Mahroua</b></span><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; color: rgb(19, 112, 138); "><b> - </b></span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Nuage & Co</b></span><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="font-weight: normal; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; "><font class="Apple-style-span" color="#13708a"><a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; "><font class="Apple-style-span" color="#13708a">Tel : +33 9 72 37 94 15</font></div></span></span></span></span></span><br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span><img height="125" width="125" id="ef6850dd-d676-4424-89ba-b74951ecf9ae" apple-width="yes" apple-height="yes" src="cid:0A2450C8-6A0D-42D0-8035-743CAD564432@fabrique.lan"></span>
</div>
<br><div><div>Le 21 mars 2013 à 15:26, Jean-Baptiste RANSY <<a href="mailto:jean-baptiste.ransy@alyseo.com">jean-baptiste.ransy@alyseo.com</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  
  <div 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>
  </div>

_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">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">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>