On 8/26/19 7:15 AM, Graham Hayes wrote:
On 20/08/2019 19:05, Matt Riedemann wrote:
On 8/20/2019 7:02 AM, Mohammed Naser wrote:
Flexible: openstack-admin supports the fuzzy search for any important field(e.g. display_name/uuid/ip_address/project_name of an instance), which enables users to locate a particular object in no time. This is really useful to be honest, but we probably can work around it by using the filtering that APIs provide.
Isn't this what searchlight integration into horizon was for?
Yes - AFAIK, there was even an idea of integrating searchlight into the OSC / nova CLI for list / search operations.
I really liked the idea of searchlight for fuzzy search, being able to search for an IP and finding the floating IP, server, and DNS Record seemed like a great tool.
I third the suggestion to investigate using searchlight for this tool. Going direct to the individual project databases is not a good design decision (just my opinion, man, but of course I think I'm correct). Additionally, there are features handled at the API layer (e.g., Glance property protections) that are not visible in the database, so you'll have to figure out how to handle those, whereas they're already figured out in searchlight. Plus, you get all the cross-project resource searching that Graham mentioned. The searchlight project is small, but Trinh Nguye has done a great job keeping it active and updated with respect to elasticsearch (ES 5.x support was added in Stein).