-
Notifications
You must be signed in to change notification settings - Fork 5
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
CRAYSAT-1706: To stop waiting if BOS session is deleted #255
CRAYSAT-1706: To stop waiting if BOS session is deleted #255
Conversation
b924862
to
55bf1c1
Compare
366b4f7
to
13ac003
Compare
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.
Approving with minor suggestions for improvement for you to consider.
Testing output looks good, but there appears to be some strange blank spaces introduced in the output. I assume that is due to a copy-paste issue. If you make further changes, I think it's acceptable to test with just one type of action (e.g. shutdown, boot, or reboot) rather than all three to save some time. I think the code path is essentially the same in SAT. It creates a session in BOS and then waits on the session to be done. |
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.
looks good, can address the suggested changes
c8b0a47
to
981cca1
Compare
Tested on drax with shutdown of managed nodes
|
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.
Approved with minor fixes suggested.
IM:CRAYSAT-1706 Reviewer:Ryan
981cca1
to
a8846c9
Compare
Summary and Scope
Stop waiting if BOS session is deleted
If a BOS session is deleted when sat bootsys is running, then the bootsys session should end early instead of repeatedly showing a 404 error message.
Issues and Related PRs
CRAYSAT-1706
Testing
List the environments in which these changes were tested.
Tested on:
drax
Test description:
Start the BOS session with
sat bootsys boot/shutdown/reboot --stage bos-operations
and then delete the BOS session while it's in progress.It should exit early instead of repeatedly showing a 404 error message.
Risks and Mitigations
Low risk
Pull Request Checklist