Skip to content
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

Enhance checks on LCM in SystemValidator #26

Closed
phfriedrich opened this issue Apr 29, 2024 · 0 comments
Closed

Enhance checks on LCM in SystemValidator #26

phfriedrich opened this issue Apr 29, 2024 · 0 comments

Comments

@phfriedrich
Copy link
Collaborator

As discussed with @TuemmlerKelch, we should improve checks on the LCM state.
Currently we check for LCMStateDetail -ne "" , when trying to figure out, if the LCM is busy.

However, there is also LCMState, that we could use. It informs us about the current state of the LCM immediately.
We should then wait until the state is Idle. The following states are possible:

  • Idle (as soon as configuration, reboot, checks, etc. have been finished)
  • Busy (Checks currently running, configurations are being applied)
  • PendingReboot (configurations have been applied, but reboot is required)
  • PendingConfiguration (configuration has been rolled out, but must still be applied)

Also, we can reduce the timeout after checking for the state of LCM to five seconds (currently 20 seconds).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants