← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1300800] Re: Nova boot fails if sbin not in path

 

** Also affects: devstack
   Importance: Undecided
       Status: New

-- 
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:
  New
Status in OpenStack Compute (Nova):
  Invalid
Status in OpenStack Manuals:
  Confirmed

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


References