← 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

 

** Also affects: cinder
   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/1437904

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

Status in Cinder:
  New
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/cinder/+bug/1437904/+subscriptions


References