From: "Bills, Jason M" <jason.m.bills@linux.intel.com>
To: openbmc@lists.ozlabs.org
Subject: Re: Redfish EventService Implementation
Date: Mon, 29 Jun 2020 08:33:21 -0700 [thread overview]
Message-ID: <8e342c33-25c8-5586-cbd4-e8662fcac6b5@linux.intel.com> (raw)
In-Reply-To: <ee2b81be-0aff-022f-e5a7-9f0f874c1f20@linux.vnet.ibm.com>
On 6/29/2020 1:07 AM, Ratan Gupta wrote:
>
> On 6/26/20 12:25 AM, Bills, Jason M wrote:
>>
>>
>> On 6/25/2020 10:26 AM, Brad Bishop wrote:
>>> One idea floating around to address these is inventing a journal
>>> metadata scheme that is management interface agnostic. I understand the
>>> motivation behind that - it is much simpler for an application to slide
>>> a single journal entry into the journal with all the metadata needed to
>>> generate events, than it is for an application to snoop multiple signals
>>> off dbus and pull events out of that.
>>>
>>> But I wonder if inventing a management interface agnostic scheme for
>>> adding events to the journal is really just inventing a new data model
>>> for how we represent things in a server - e.g. are we just working
>>> around our dbus data model? Maybe we should fix it instead, so that it
>>> isn't so difficult for applications to use it? With that said I don't
>>> know how to do this and I could use more concrete details on which areas
>>> of the data model make it hard to consume signals. Does anyone have any
>>> ideas or examples?
>>>
>>
>> On this, I think we may want to separate logging vs. eventing both in
>> this feature discussion and in the tools we want to use.
>>
>> When we were talking about logging, I think the journal made sense
>> since it is designed for logging and has benefits around that usage.
>> However, I agree that it doesn't seem like the right tool for sending
>> and receiving events and signals and that D-Bus sounds like the right
>> tool for that.
>>
>> I think I'm still a little confused at the scope. My understanding
>> was that this initial design for EventService was only for monitoring
>> event messages and not resources in general. It seems like it may not
>> make sense to try to use the same tools and approach for both message
>> monitoring and resource monitoring? Do we need to treat them
>> separately for now to simplify the discussion?
> Jason, When you say event messages? What do you mean, Do you mean to say
> "/redfish/v1/Systems/system/Logservices/eventlog"? >
> If yes then this should also go as Resource Event, When ever any log
> entry gets created under System Log
> (/redfish/v1/Systems/system/Logservices/eventlog/entries), BMC would
> notify to the Redfish client saying that "ResourceCreated" with the URL
> of the Resource.
Yes, new entries under
"/redfish/v1/Systems/system/Logservices/eventlog", but I thought you
could register for specific MessageIDs, so it's not just a generic "new
resource" event like others would be.
>
> After receiving this event Redfish client will do a GET request on the
> URL(retrieved as part of event) to get the content of the log.
>
> This will become generic infra for all types of events.
What I'm saying is I don't know if there is a good generic solution to
cover both the EventLog and all other resources. I believe the current
EventService implementation was designed only for EventLog and may not
work well for generic resource events.
>
> I would be coming up with few design approaches and downside with each
> approach to take it to conclusion.
Thanks! What I'm proposing is that we clarify or possibly separate the
discussions about EventLog vs. generic resources to avoid confusion and
come up with the right solutions for each.
>
> Ratan
>
next prev parent reply other threads:[~2020-06-29 15:33 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-31 20:53 Redfish EventService Implementation RAJESWARAN THILLAIGOVINDAN
2020-02-09 20:22 ` RAJESWARAN THILLAIGOVINDAN
2020-02-17 20:11 ` RAJESWARAN THILLAIGOVINDAN
2020-02-19 19:19 ` Puli, Apparao
2020-02-24 6:37 ` Ratan Gupta
2020-02-25 14:06 ` Puli, Apparao
2020-05-05 11:43 ` RAJESWARAN THILLAIGOVINDAN
2020-05-26 12:20 ` RAJESWARAN THILLAIGOVINDAN
2020-05-27 3:48 ` Puli, Apparao
2020-05-27 11:50 ` RAJESWARAN THILLAIGOVINDAN
2020-05-27 18:58 ` Puli, Apparao
2020-05-28 13:26 ` Ratan Gupta
2020-05-29 15:45 ` Redfish event log for new local user addition Puli, Apparao
2020-06-02 6:30 ` Ratan Gupta
2020-06-08 21:08 ` Redfish EventService Implementation Brad Bishop
2020-06-09 0:58 ` James Feist
2020-06-15 12:50 ` Ratan Gupta
2020-06-15 21:42 ` James Feist
2020-06-16 15:24 ` Patrick Williams
2020-06-16 16:11 ` James Feist
2020-06-17 12:08 ` Ratan Gupta
2020-06-17 17:16 ` James Feist
2020-06-17 17:19 ` Bills, Jason M
2020-06-17 18:30 ` Andrew Geissler
2020-06-17 20:45 ` Patrick Williams
2020-06-19 13:26 ` Ratan Gupta
2020-06-19 22:19 ` Bills, Jason M
2020-06-23 7:27 ` Ratan Gupta
2020-06-24 16:24 ` James Feist
2020-06-24 20:39 ` Patrick Williams
2020-06-25 13:45 ` Brad Bishop
2020-06-25 16:42 ` James Feist
2020-06-25 15:49 ` Brad Bishop
2020-06-25 16:44 ` James Feist
2020-06-25 17:26 ` Brad Bishop
2020-06-25 18:55 ` Bills, Jason M
2020-06-29 8:00 ` Ratan Gupta
2020-06-29 8:07 ` Ratan Gupta
2020-06-29 15:33 ` Bills, Jason M [this message]
2020-07-03 10:15 ` Ratan Gupta
2020-07-06 21:30 ` Bills, Jason M
2020-07-13 6:32 ` Ratan Gupta
2020-07-14 21:08 ` James Feist
2020-07-30 9:10 ` Ratan Gupta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8e342c33-25c8-5586-cbd4-e8662fcac6b5@linux.intel.com \
--to=jason.m.bills@linux.intel.com \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.