You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a security vulnerability or a crashing bug
This is not a question about how to use OpenBMC
This is not a bug in an OpenBMC fork or a bug in code still under code review.
This is not a request for a new feature.
Bug Description
EventServiceManager is initialized at construct time to read persistent data from EventServiceStore. But the data in EventServiceStore is written by persistent_data::ConfigFile at initialization time.
So I think persistent_data::ConfigFile should be initialized earlier than EventServiceManager.
bmcweb initializes EventServiceManager very early in the run() function. but I didn't find code to explicitly initialize persistent_data::ConfigFile before EventServiceManager initialization, which would cause bmcweb to lose the event configuration. (maybe I didn't find the relevant code)
Could you help confirm this? Thanks.
Version
4c8c12d2a699641ec24a2605583686a03a8484cb
Additional Information
No response
The text was updated successfully, but these errors were encountered:
In short, I think I need to call persistent_data::getConfig(); explicitly after loadOldBehavior(); to initialize EventServiceStore, otherwise it will lead to loss of subscription information after restarting bmcweb.
Is this the right place to submit this?
Bug Description
EventServiceManager is initialized at construct time to read persistent data from EventServiceStore. But the data in EventServiceStore is written by persistent_data::ConfigFile at initialization time.
So I think persistent_data::ConfigFile should be initialized earlier than EventServiceManager.
bmcweb initializes EventServiceManager very early in the run() function. but I didn't find code to explicitly initialize persistent_data::ConfigFile before EventServiceManager initialization, which would cause bmcweb to lose the event configuration. (maybe I didn't find the relevant code)
Could you help confirm this? Thanks.
Version
Additional Information
No response
The text was updated successfully, but these errors were encountered: