[Openstack] Problem nova-network failed on ubuntu 12.04

Justin Shepherd jshepher at rackspace.com
Thu Mar 8 04:38:18 UTC 2012


Add --root_helper=sudo nova-rootwrap to your nova.conf file..

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

--shep
On Mar 6, 2012, at 7:59 AM, Leandro Reox wrote:

Its not , its a requirement actually, and we ask to add this to the docs, the same happens with nova-volumes

Regards

On Tue, Mar 6, 2012 at 10:58 AM, Roman Sokolkov <rsokolkov at gmail.com<mailto:rsokolkov at gmail.com>> wrote:
Hi!

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 http://paste.openstack.org/show/6812/

(nova): TRACE: Command: sudo iptables-save -t filter
(nova): TRACE: Exit code: 1
(nova): TRACE: Stdout: ''
(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'
(nova): TRACE:


If I try to add in sudoers something like this "nova ALL=(ALL) NOPASSWD:ALL". All works good, but I think it is bad practise

--
Regards, Roman Sokolkov

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120308/347713ef/attachment.html>


More information about the Openstack mailing list