-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date and Time is not getting reflected immediately in redfish response when switching manual to NTP #9
Comments
After 3 to 4 seconds, the date and time value is getting updated with the new value. So added the setTimeout in webui-vue package and posted the PR. https://gerrit.openbmc.org/c/openbmc/webui-vue/+/60500 It looks like the delay is some problem from the backend, if we fixed it in the backend we can remove the timeout from the web. |
Perhaps one of these two patches might work for you, neither can be merged upstream. https://gerrit.openbmc.org/c/openbmc/phosphor-time-manager/+/56584 |
This issue is reported to time-manager but the suggested fix is in webui? Are you expecting that: A. the time manager call doesn’t return until the NTP is successful B. Once NTP is successful, somehow the webui knows to refresh the time display. I don’t think A is really possible. NTP sync can take longer than the dbus client timeouts. If B, we should reroute this issue to the webui repo. |
Redfish has tasks. Can we return a task, that webui-vue can monitor for completion? |
Is it already implemented. If not, I think that would make sense to monitor if the task is completed and then update in the webui-vue! |
Description:
When changing from manual time to NTP, the date and time page is not refreshing to the current time.
Testing steps:
Web UI is still showing the same old date and time after refreshing from the API response.
The text was updated successfully, but these errors were encountered: