← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Added openstack-manuals to find/fix anywhere where we talk about nova
runtime requirements.

Wonderful docs people:  Nova needs to be run with /sbin in PATH, so it
can find sysctl.  Presumably at least one other OpenStack service makes
the same assumption, so it might be reasonable/easier to describe it as
a requirement for all OpenStack services.  If we talk about that
anywhere, it should be updated to ensure operators are aware of this.

** Also affects: openstack-manuals
   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 OpenStack Compute (Nova):
  In Progress
Status in OpenStack Manuals:
  New

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/nova/+bug/1300800/+subscriptions


References