openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Power state change watch in ControlStore.js
@ 2021-03-30  0:10 Patrick Voelker
  0 siblings, 0 replies; only message in thread
From: Patrick Voelker @ 2021-03-30  0:10 UTC (permalink / raw)
  To: OpenBMC (openbmc@lists.ozlabs.org)

[-- Attachment #1: Type: text/plain, Size: 731 bytes --]

I'm trying to debug an issue I'm having with checkForHostStatus in webui-vue/src/store/modules/Control/ControlStore.js.

I always seem to have to wait the full 5 minutes to see my power state change even though I know that it's happening on the server.  I'm not very familiar with vue so I'm not sure how to trace back the calls that would update state.global.hostStatus from the BMC.  There's no other usage of "state.global.*" in the webui so I'm not even sure if that syntax is correct.

As far as I can tell, the changes to the global hostStatus should happen in getHostStatus() in GlobalStore.js but I can't see where getHostStatus() is called for the watch in the context of the ServerPowerOperations page.

Any tips?

[-- Attachment #2: Type: text/html, Size: 797 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-30  0:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30  0:10 Power state change watch in ControlStore.js Patrick Voelker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).