-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description Improvements to KES expiration information calculation/display on cntools launch, as well as pool -> list and pool -> show pages. ## Where should the reviewer start? <!--- Describe where reviewer should start testing --> ## Motivation and context <!--- Why is this change required? What problem does it solve? --> ## Which issue it fixes? <!--- Link to issue: Closes #issue-number --> ## How has this been tested? <!--- Describe how you tested changes --> --------- Co-authored-by: Ola <ola.ahlman@gmail.com> Co-authored-by: Greg B <hodlonaut@github.com>
- Loading branch information
1 parent
3360a8c
commit 4853494
Showing
3 changed files
with
35 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4853494
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello,
It looks like there might be something wrong with what's been done here i.e. cntools.sh L240.
I am running cntools.sh on my on my online node (no cold keys here) and gets an ALERT KES EXPIRED though it's not (GLV says it's all OK and is right I can tell).
Indeed in this code you modified, you don't run anymore getNodeMetrics.
And only use kes.start file. But on an online node this file contains the copy of the first import, that means more or less the kes start when we first created/registered the pool.
I have tried to remove this file to check whether you have a fallback but then I get a KES calculation error in POOL >> SHOW
Here are some useful data taken from my env
After updating
kes.start
with the number seen in metric, i.e. 1093, it's all back to normal as usual.4853494
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will check if we can re-add the online check when in LOCAL mode.
But the idea is that when rotating KES offline, to also move over the kes.start file updated on the offline machine. You can also in cntools.sh file in User Variables section at the top set
CHECK_KES=false
to disable the KES check on startup (just remove the#
in front of the line).4853494
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.