← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1085984] Re: glance-manage --version is broken

 

** Changed in: oslo/grizzly
   Importance: Undecided => Medium

** Changed in: oslo/grizzly
       Status: New => Fix Released

** Changed in: oslo/grizzly
    Milestone: None => 2013.1

** Changed in: oslo/grizzly
     Assignee: (unassigned) => Davanum Srinivas (DIMS) (dims-v)

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

Title:
  glance-manage --version is broken

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in Glance grizzly series:
  Fix Released
Status in Oslo - a Library of Common OpenStack Code:
  Fix Released
Status in oslo grizzly series:
  Fix Released

Bug description:
  With glance grizzly-1-35-g8b0b9f3, I'm seeing this:

   $ glance-manage --version
   Traceback (most recent call last):
    File "/usr/bin/glance-manage", line 7, in <module>
      execfile(__file__)
      ..
    File "/usr/lib64/python2.7/optparse.py", line 1565, in expand_prog_name
      return s.replace("%prog", self.get_prog_name())
   AttributeError: '_deferred_version_string' object has no attribute 'replace'

  
  The issue is with our  _deferred_version_string helper class which tries to defer actually creating a version string until later.

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