Reviewed: https://review.openstack.org/108274 Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=7df9d1be17162feabeaba35faa87baf09debe590 Submitter: Jenkins Branch: master
commit 7df9d1be17162feabeaba35faa87baf09debe590 Author: Angus Lees <[email protected]> Date: Mon Jul 21 15:35:34 2014 +1000 Ensure sbin is in PATH. Some distros (Debian) don't have sbin in PATH for non-root users. Nova (and possibly other services) assumes that it can invoke "sysctl" without sudo. Change-Id: Iced21fc1378af309fb49688f9b63f2cd8383e304 Closes-Bug: #1300800 ** Changed in: devstack Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1300800 Title: Nova boot fails if sbin not in path Status in devstack - openstack dev environments: Fix Released Status in OpenStack Compute (Nova): Invalid Status in OpenStack Manuals: Triaged Bug description: In a fresh install of devstack I see an error in the nova-compute log when I try to start an instance. I tracked this down to coming from nova/linux_net.py where sysctl is called in _enable_ipv4_forwarding(). If I add /sbin to my path the error goes away. However some distros, e.g.: debian, don't include sbin in the standard path rather they restrict it to root users only. I think the call to sysctl (and possibly other similar calls) should be moved to use rootwrap, along with preventing issues like this it would have the added benifit of making the code slightly more OS agnostic. To manage notifications about this bug go to: https://bugs.launchpad.net/devstack/+bug/1300800/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

