<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Add --root_helper=sudo nova-rootwrap to your nova.conf file.. 
<div><br>
</div>
<div>this will allow it to work without needing to specify each command by hand or ALL. Also the 12.04 packages are shipping a /etc/sudoers.d/nova file that has the required sudo access for nova-rootwrap
<div><br>
</div>
<div>--shep<br>
<div>
<div>On Mar 6, 2012, at 7:59 AM, Leandro Reox wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Its not , its a requirement actually, and we ask to add this to the docs, the same happens with nova-volumes<br>
<br>
Regards<br>
<br>
<div class="gmail_quote">On Tue, Mar 6, 2012 at 10:58 AM, Roman Sokolkov <span dir="ltr">
<<a href="mailto:rsokolkov@gmail.com">rsokolkov@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi!
<div><br>
</div>
<div>I ve trying nova packages on ubuntu 12.04. And have an issue with nova-network: when I try to "start nova-network", it failed. Trace in nova-network.log <a href="http://paste.openstack.org/show/6812/" style="font-size:12px;line-height:18px;font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;text-align:left" target="_blank">http://paste.openstack.org/show/6812/</a></div>
<div><br>
</div>
<div>
<div>(nova): TRACE: Command: sudo iptables-save -t filter</div>
<div>(nova): TRACE: Exit code: 1</div>
<div>(nova): TRACE: Stdout: ''</div>
<div>(nova): TRACE: 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>(nova): TRACE: </div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>If I try to add in sudoers something like this "<span style="line-height:18px;text-align:left;color:rgb(51,51,51);font-size:12px;font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif">nova ALL=(ALL) NOPASSWD:ALL". All works good, but
 I think it is bad practise</span></div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>-- <br>
Regards, Roman Sokolkov<br>
</div>
</font></span><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>
_______________________________________________<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>
</div>
</body>
</html>