Cleanup TODO in glance/gateway.py for elasticsearch being unavailable
Bug #1441764 reported by
Matt Riedemann
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:/
tags: | added: search |
Changed in glance: | |
milestone: | none → liberty-1 |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | liberty-1 → 11.0.0 |
To post a comment you must log in.
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