← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1263871] Re: Two different Exception didn't log seperately when get images information

 

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

** Changed in: glance
    Milestone: None => icehouse-2

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

Title:
  Two different Exception didn't log seperately when get images
  information

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  Two different Exceptions didn't log seperately when get images information.
   In glance/registry/api/v1/images.py file , Controls. _get_images:() include  codes as follows:
          try:
              return self.db_api.image_get_all(context, filters=filters,
                                               **params)
          except (exception.NotFound, exception.Forbidden) as e:
              msg = _("Invalid marker. Image could not be found.")
              raise exc.HTTPBadRequest(explanation=msg)

  see
  https://github.com/openstack/glance/blob/master/glance/registry/api/v1/images.py#L108

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


References