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

console: Rework power on/off retry mechanism #1955

Merged
merged 1 commit into from
Jun 17, 2024
Merged

console: Rework power on/off retry mechanism #1955

merged 1 commit into from
Jun 17, 2024

Conversation

zmc
Copy link
Member

@zmc zmc commented Jun 11, 2024

We were only ever issuing the inital request once; Now, after five unsuccessful checks to see that the node is in the desired state, we re-issue the request but do not reset the clock.
We were also checking the power state immediately after sending the request, which is unhelpful as the operation will never complete that quickly. Now, we sleep at least once.

@zmc
Copy link
Member Author

zmc commented Jun 11, 2024

@zmc zmc marked this pull request as ready for review June 12, 2024 00:30
We were only ever issuing the inital request once; Now, after five unsuccessful
checks to see that the node is in the desired state, we re-issue the request but
do not reset the clock.
We were also checking the power state immediately after sending the request,
which is unhelpful as the operation will never complete that quickly. Now, we
sleep at least once.

Signed-off-by: Zack Cerza <[email protected]>
Copy link
Contributor

@amathuria amathuria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zmc zmc merged commit ec61749 into main Jun 17, 2024
8 checks passed
@zmc zmc deleted the ipmi branch June 17, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants