[9.1] [Security Soluton][Endpoint] Fix run_sentinelone_host dev script to retry when checking S1 agent status on VM (#227067)#227242
Merged
kibanamachine merged 1 commit intoelastic:9.1from Jul 9, 2025
Conversation
… retry when checking S1 agent status on VM (elastic#227067) ## Summary - Add retry attempts when getting a status of the SentinelOne agent running on the host VM - It seems that it now takes the S1 a bit of time to start up, which was causing the command to get its run status to fail (see error below) Error: ``` │ERROR Error: Command failed with exit code 1: multipass exec ptavares-sentinelone-support-3876 -- sudo /opt/sentinelone/bin/sentinelctl control status │ Agent must be running in order to execute this command ``` (cherry picked from commit d7eb4a2)
Contributor
💚 Build Succeeded
Metrics [docs]
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.1:run_sentinelone_hostdev script to retry when checking S1 agent status on VM (#227067)Questions ?
Please refer to the Backport tool documentation