Glance images not searchable after update notification
Bug #1486781 reported by
Travis Tripp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Searchlight |
Fix Released
|
Critical
|
Travis Tripp |
Bug Description
After an update notification, Glance images do not seem to be searchable. If you filter by the name of the updated image it will not show up. However, if you re-index, it will be searchable.
If I change the code to be the same as what was done in this patch, it works:
https:/
However, when going back to the follow on patch (current master) it doesn't work:
https:/
It appears the index function is not making the document immediately searchable.
Changed in searchlight: | |
assignee: | Steve McLellan (sjmc7) → Travis Tripp (travis-tripp) |
Changed in searchlight: | |
status: | New → In Progress |
Changed in searchlight: | |
milestone: | none → liberty-rc1 |
Changed in searchlight: | |
status: | Fix Committed → Fix Released |
Changed in searchlight: | |
milestone: | liberty-rc1 → 0.1.0.0 |
To post a comment you must log in.
A bit more details:
10:31 TravT: lakhsmiS: I see them in match all, but not in filters. image"
10:31 lakshmiS: no. just listing all results. any specific filter your tried?
10:31 TravT: let me give example.
10:31 TravT: i created an image with a name of listener-image
10:32 TravT: notification received
10:32 TravT: and is in unfiltered results
10:32 TravT: If I do a query like this:
10:32 TravT: {
10:32 TravT: "index": "glance",
10:32 TravT: "type": "image",
10:32 TravT: "query": {
10:32 TravT: "query_string": {
10:32 TravT: "fuzziness": "AUTO",
10:32 TravT: "query": "name:listener-
10:32 TravT: }
10:32 TravT: }
10:32 TravT: }
10:32 TravT: no results
10:32 TravT: if i re-run searchlight-manage index sync
10:32 lakshmiS: ok let me try that
10:32 TravT: and re-execute above, i get the result