Skip to content

[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
kibanamachine:backport/9.1/pr-227067
Jul 9, 2025
Merged

[9.1] [Security Soluton][Endpoint] Fix run_sentinelone_host dev script to retry when checking S1 agent status on VM (#227067)#227242
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-227067

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

… 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)
@kibanamachine kibanamachine merged commit 17f6388 into elastic:9.1 Jul 9, 2025
16 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @paul-tavares

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants