Open adathatri opened 3 years ago
Possibly related to this: https://github.com/openbmc/bmcweb/issues/165
It's not clear all the version information and other things were handled on the evenservice persistent file. It just needs rolled into the main one.
@edtanous This issue is for https subscription only. On BMC reboot, the exisiting subscription does not persist. Issue #165 talks about being unable to subscribe to event notification itself using http.
Is this still an issue? The eventservice code has changed significantly in the last few years.
@edtanous @ratagupt
Step to recreate:
-bash-4.2$ curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${BMC_IP}/redfish/v1/EventService/Subscriptions/ { "@odata.id": "/redfish/v1/EventService/Subscriptions", "@odata.type": "#EventDestinationCollection.EventDestinationCollection", "Members": [ { "@odata.id": "/redfish/v1/EventService/Subscriptions/955021906" -- A subscription is created. } ], "Members@odata.count": 1, "Name": "Event Destination Collections"
}-bash-4.2$ curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${BMC_IP}/redfish/v1/EventService/Subscriptions { "@odata.id": "/redfish/v1/EventService/Subscriptions", "@odata.type": "#EventDestinationCollection.EventDestinationCollection", "Members": [], "Members@odata.count": 0, -- Subscription is deleted "Name": "Event Destination Collections" }-bash-4.2$