← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1194987] Re: glance-api depends on the calling programs name

 

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

** Changed in: glance
    Milestone: None => havana-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1194987

Title:
  glance-api depends on the calling programs name

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in “glance” package in Gentoo Linux:
  Fix Released

Bug description:
  In Gentoo we name the actual installed python scripts suffixed with
  the python version they are installed for.  glance-api becomes glance-
  api-python2.7.  This causes glance-api to fail to start with the
  following error.

  ERROR glance.common.config [-] Unable to load glance-api-python2.7
  from configuration file /etc/glance/glance-api-paste.ini.

  The fix for this is to not depend on the calling programs file name
  (the attached patch worksforme).  I would appreciate review on this as
  I do not know if this is the best way to fix this issue.

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