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.
Reviewed: https:/ /review. openstack. org/190823 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=4a932b0d4b2 c8083917ba3fa03 21971e55f30389
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4a932b0d4b2c808 3917ba3fa032197 1e55f30389
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 f53584c2688244f 4f5b706aadac187 5109a463c5 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: Ia300d9647f372a 677dc536e750dd2 ff064601c29