[katello-devel] Foreman integration and Elastic search

Bryan Kearney bkearney at redhat.com
Wed Nov 21 15:13:42 UTC 2012


On 11/20/2012 02:28 PM, Lukas Zapletal wrote:
> On Tue, Nov 20, 2012 at 05:04:54PM +0200, Ohad Levy wrote:
>> On 11/20/2012 04:05 PM, Dmitri Dolguikh wrote:
>>> We are about to start using Elastic search for lookups on Foreman data
>>> on Katello side. Up until this moment Katello didn't persist any
>>> Foreman-related data at all.
>>>
>>> This introduces what is essentially a long-term cache, but without any
>>> form of cache control or cache validation. Another issue is this breaks
>>> Foreman modularization, with Katello now being responsible for some of
>>> the Foreman data.
>>>
>>> I think this functionality should be moved to Foreman (or Foreman's
>>> existing functionality improved) and exposed via introduction of search
>>> functionality in Foreman's API.
>>>
>>>
>>> Thoughts?
>> If we introduce ES updates as callback filters would that work?
>>
>> if that works, it sounds like a plan for foreman rails engine /
>> plugin which adds more callbacks?
>
> I like this more than integrating ES with Foreman in Katello, but please
> let's do NOT use HTTP/REST for that and leverage messaging for this.
> This is typical case for fire-and-forget pattern which is much more
> reliable than playing around with http requests.
>
Dmitri, is the issue here that we have no object inthe katello db?
-- bk




More information about the katello-devel mailing list