← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1437904] Re: generate_sample.sh uses MODULEPATH environment variable, conflicts with environment-modules

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => kilo-rc1

-- 
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/1437904

Title:
  generate_sample.sh uses MODULEPATH environment variable, conflicts
  with environment-modules

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The generate_sample.sh script refers to a MODULEPATH variable without
  clearing it first.  On a system using the environment-modules package,
  MODULEPATH is a PATH-like environment variable, which leads
  generate_sample.sh to fail like this:

      No module named
  /etc/scl/modulefiles:/etc/scl/modulefiles:/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles

  The solution is to either explicitly clear this variable at the start
  of the script, or use a different name if this is something that is
  expected to be set externally.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1437904/+subscriptions


References