← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1223165] Re: duplicated class ImageDownloadModuleMetaDataError definition in exception.py

 

** Changed in: nova
       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/1223165

Title:
  duplicated class ImageDownloadModuleMetaDataError definition in
  exception.py

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The below commit had a mistake which added two same classes
  'ImageDownloadModuleMetaDataError':

  commit 6f9ed562d5f6df1dc16029dcaffd4d2e6601099d
  Author: John Bresnahan <jbresnah@xxxxxxxxxx>
  Date:   Thu Jul 18 10:39:33 2013 -1000

      Add plug-in modules for direct downloads of glance locations

      ......

  +class ImageDownloadModuleMetaDataError(ImageDownloadModuleError):   # here
  +    msg_fmt = _("The metadata for this location will not work with this "
  +                "module %(module)s.  %(reason)s.")
  +
  +
  +class ImageDownloadModuleNotImplementedError(ImageDownloadModuleError):
  +    msg_fmt = _("The method %(method_name)s is not implemented.")
  +
  +
  +class ImageDownloadModuleMetaDataError(ImageDownloadModuleError): # and here
  +    msg_fmt = _("The metadata for this location will not work with this "
  +                "module %(module)s.  %(reason)s.")
  +
  +
  +class ImageDownloadModuleConfigurationError(ImageDownloadModuleError):
  +    msg_fmt = _("The module %(module)s is misconfigured: %(reason)s.")

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