Cleanup TODO in glance/gateway.py for elasticsearch being unavailable

Bug #1441764 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Unassigned

Bug Description

This came up in this change https://review.openstack.org/#/c/171279/4/glance/gateway.py to fix bug 1441239. We are going to merge that change with a debug level log message to avoid a string freeze exception in kilo, but then we need to use this bug to close the TODO when liberty opens up.

Tags: search
Matt Riedemann (mriedem)
tags: added: search
Changed in glance:
milestone: none → liberty-1
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/190823
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=4a932b0d4b2c8083917ba3fa0321971e55f30389
Submitter: Jenkins
Branch: master

commit 4a932b0d4b2c8083917ba3fa0321971e55f30389
Author: Matt Riedemann <email address hidden>
Date: Thu Jun 11 12:46:56 2015 -0700

    Cleanup TODO in glance/gateway.py for elasticsearch being unavailable

    In commit f53584c2688244f4f5b706aadac1875109a463c5 we added a TODO to be
    more obvious about the error when elasticsearch isn't available if you
    try to start the search service (since elasticsearch is an optional
    dependency). We couldn't add new errors at the time because of
    StringFreeze.

    This resolves the TODO by adding the new SearchNotAvailable exception in
    place of the generic ServiceUnavailable exception.

    Closes-Bug: #1441764

    Change-Id: Ia300d9647f372a677dc536e750dd2ff064601c29

Changed in glance:
status: Triaged → Fix Committed
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: liberty-1 → 11.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.