The Subscription will disappear and config of EventService restore initial value after reboot

Jun-Lin Chen (陳俊霖) Jun-Lin.Chen at quantatw.com
Tue Nov 17 21:38:24 AEDT 2020


Hi,
I have an issue about EventService: after reboot, Subscription disappear and config of EventService restore initial value.
I look up the codes in event_service_manager.hpp and found Subscription and EventService config will store in /var/lib/bmcweb/eventservice_config.json.
But If BMC has no bmcweb folder in /var/lib/ , It not save eventservice_config.json.

I try create bmcweb folder manually and POST a new Subscription then reboot, the Subscription will be saved and not disappear this time.
This performance seems to be inconsistent with the design concept if there is no bmcweb folder at the beginning. Does need to add to the code that detect the path is valid?

Jim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20201117/803c7239/attachment-0001.htm>


More information about the openbmc mailing list