← 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: cinder
       Status: Fix Committed => 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/1437904

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

Status in Cinder:
  Fix Released
Status in Ironic:
  Fix Released
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