<div dir="ltr">What about adding:<br><br><span style="font-family:arial,sans-serif;font-size:10px">Defaults:ALL !requiretty</span><div><font face="arial, sans-serif" size="1"><br></font></div><div><font face="arial, sans-serif" size="1">in /etc/sudoers?<br>
<br>Just to check<br><br>Cheers<br></font><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 20, 2013 at 3:54 PM, Martinx - $B%8%'!<%`%:(B <span dir="ltr"><<a 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">Leandro!<div><br></div><div><br></div><div>My /etc/sudoers:</div><div>---</div><div><div>#</div><div># This file MUST be edited with the 'visudo' command as root.</div>
<div>#</div><div>

# Please consider adding local content in /etc/sudoers.d/ instead of</div><div># directly modifying this file.</div><div>#</div><div># See the man page for details on how to write a sudoers file.</div><div>#</div><div>Defaults<span style="white-space:pre-wrap">       </span>env_reset</div>


<div>Defaults<span style="white-space:pre-wrap">  </span>secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"</div><div><br></div><div># Host alias specification</div><div><br></div><div>

# User alias specification</div><div><br></div><div># Cmnd alias specification</div><div><br></div><div># User privilege specification</div><div>root<span style="white-space:pre-wrap">        </span>ALL=(ALL:ALL) ALL</div><div>


<br></div><div># Members of the admin group may gain root privileges</div><div>%admin ALL=(ALL) ALL</div><div><br></div><div># Allow members of group sudo to execute any command</div><div>%sudo<span style="white-space:pre-wrap">    </span>ALL=(ALL:ALL) ALL</div>


<div><br></div><div># See sudoers(5) for more information on "#include" directives:</div><div><br></div><div>#includedir /etc/sudoers.d</div></div><div>---</div><div><br></div><div><br></div><div>

My /etc/sudoers.d/cinder_sudoers</div><div>---</div><div><div>Defaults:cinder !requiretty</div><div><br></div><div>cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap </div></div><div>---</div><div>

<br></div><div><br></div><div>My /etc/sudoers.d/nova_sudoers</div><div>---</div><div><div class="im"><div>Defaults:nova !requiretty</div><div><br></div><div>nova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap </div>

</div><div>---</div></div><div><br></div><div><br></div><div>My /etc/sudoers.d/quantum_sudoers</div><div class="im"><div>---</div><div><div>Defaults:quantum !requiretty</div><div><br></div><div>quantum ALL = (root) NOPASSWD: /usr/bin/quantum-rootwrap</div>


<div>---</div></div><div><br></div></div><div>Tks,</div><div>Thiago</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 20 March 2013 15:41, Leandro Reox <span dir="ltr"><<a href="mailto:leandro.reox@mercadolibre.com" target="_blank">leandro.reox@mercadolibre.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">Please paste all your sudoers files</div><div class="gmail_extra"><br clear="all"><div><div><b><font face="arial, helvetica, sans-serif"></font></b></div>


<div><img width="96" height="58"><span><font color="#888888"><b><font face="arial, helvetica, sans-serif"><br>
</font></b></font></span></div><span><font color="#888888"><div><b><font face="arial, helvetica, sans-serif">Leandro Reox </font></b><br></div><div><b><font face="arial, helvetica, sans-serif">#melicloud CloudBuilders</font></b></div>


<div><b><font size="1" face="arial, helvetica, sans-serif" color="#999999">Arias 3751, Piso 7 (C1430CRG) </font></b></div>
<div><b><font size="1" face="arial, helvetica, sans-serif" color="#999999">Ciudad de Buenos Aires - Argentina</font></b></div><div><b><font size="1" face="arial, helvetica, sans-serif" color="#999999">Cel: +549(11) <a href="tel:15-3770-1938" value="+551537701938" target="_blank">15-3770-1938</a></font></b></div>



<div><b><font size="1" face="arial, helvetica, sans-serif" color="#999999">Tel : <a href="tel:%2B54%2811%29%204640-8726" value="+541146408726" target="_blank">+54(11) 4640-8726</a></font></b></div></font></span></div>
<br><br><div class="gmail_quote"><div><div class="h5"><div><div>On Wed, Mar 20, 2013 at 3:35 PM, Martinx - $B%8%'!<%`%:(B <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br>


</div></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><div>
<div dir="ltr">Guys,<div><br></div><div> This problem still persist... I tried everything...</div><div><br></div><div> Here is more error message from dhcp-agent.log:</div><div><br></div><div> <a href="http://paste.openstack.org/show/34167/" target="_blank">http://paste.openstack.org/show/34167/</a><br>





</div><div> </div><div> I really need help to fix this... It is a fresh installation of Grizzly G3+RC1 from PPA, Ubuntu 12.04.2 64 bits...</div><div><br></div><div>Tks!</div><div>Thiago</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On 19 March 2013 20:09, Martinx - $B%8%'!<%`%:(B <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br>





</div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Guys,<div><br></div><div> My /var/log/quantum/dhcp-agent.log file shows:</div>
<div><br></div><div><div>
2013-03-19 20:04:48    DEBUG [quantum.agent.linux.utils] Running command: ['sudo', 'ip', 'netns', 'exec', 'qdhcp-21a39c11-03fd-4e2e-b7a0-94eee95f5f91', 'quantum-ns-metadata-proxy', '--pid_file=/var/lib/quantum/external/pids/21a39c11-03fd-4e2e-b7a0-94eee95f5f91.pid', '--network_id=21a39c11-03fd-4e2e-b7a0-94eee95f5f91', '--state_path=/var/lib/quantum', '--metadata_port=80', '--debug', '--verbose', '--log-file=quantum-ns-metadata-proxy21a39c11-03fd-4e2e-b7a0-94eee95f5f91.log', '--log-dir=/var/log/quantum']</div>






<div>2013-03-19 20:04:48    DEBUG [quantum.agent.linux.utils] </div><div>Command: ['sudo', 'ip', 'netns', 'exec', 'qdhcp-21a39c11-03fd-4e2e-b7a0-94eee95f5f91', 'quantum-ns-metadata-proxy', '--pid_file=/var/lib/quantum/external/pids/21a39c11-03fd-4e2e-b7a0-94eee95f5f91.pid', '--network_id=21a39c11-03fd-4e2e-b7a0-94eee95f5f91', '--state_path=/var/lib/quantum', '--metadata_port=80', '--debug', '--verbose', '--log-file=quantum-ns-metadata-proxy21a39c11-03fd-4e2e-b7a0-94eee95f5f91.log', '--log-dir=/var/log/quantum']</div>






<div>Exit code: 1</div><div>Stdout: ''</div><div>Stderr: 'sudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: 3 incorrect password attempts\n'</div>






<div>2013-03-19 20:04:48    ERROR [quantum.agent.dhcp_agent] Unable to sync network state.</div><div>Traceback (most recent call last):</div><div>  File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", line 154, in sync_state</div>






<div>    self.refresh_dhcp_helper(network_id)</div><div>  File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", line 208, in refresh_dhcp_helper</div><div>    return self.enable_dhcp_helper(network_id)</div>






<div>  File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", line 187, in enable_dhcp_helper</div><div>    self.enable_isolated_metadata_proxy(network)</div><div>  File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", line 321, in enable_isolated_metadata_proxy</div>






<div>    pm.enable(callback)</div><div>  File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/external_process.py", line 55, in enable</div><div>    ip_wrapper.netns.execute(cmd)</div><div>  File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py", line 407, in execute</div>






<div>    check_exit_code=check_exit_code)</div><div>  File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/utils.py", line 61, in execute</div><div>    raise RuntimeError(m)</div><div>RuntimeError: </div>





<div>
Command: ['sudo', 'ip', 'netns', 'exec', 'qdhcp-21a39c11-03fd-4e2e-b7a0-94eee95f5f91', 'quantum-ns-metadata-proxy', '--pid_file=/var/lib/quantum/external/pids/21a39c11-03fd-4e2e-b7a0-94eee95f5f91.pid', '--network_id=21a39c11-03fd-4e2e-b7a0-94eee95f5f91', '--state_path=/var/lib/quantum', '--metadata_port=80', '--debug', '--verbose', '--log-file=quantum-ns-metadata-proxy21a39c11-03fd-4e2e-b7a0-94eee95f5f91.log', '--log-dir=/var/log/quantum']</div>






<div>Exit code: 1</div><div>Stdout: ''</div><div>Stderr: 'sudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: no tty present and no askpass program specified\nSorry, try again.\nsudo: 3 incorrect password attempts\n'</div>






<div><br></div><div> Tips?</div><div><br></div><div> It is a fresh installation to test Grizzly...</div><div><br></div><div> I'm not using GRE or L3, only Quantum Single FLAT... With Folsom and previous Grizzly my Quantum was fine...</div>






<div><br></div><div> quantum-dhcp-agent               1:2013.1+git201303190501~precise-0ubuntu1 </div><div><br></div><div>Tks,</div><div>Thiago</div></div></div>
</blockquote></div></div></div><br></div>
<br></div></div></div></div><div class="im"><div>_______________________________________________<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" target="_blank">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></div></div></blockquote></div><br></div>
</blockquote></div><br></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></div></div></div>