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

MacOS Agents Failing Tasks They Don't Have #2160

Open
1 of 3 tasks
conlan0 opened this issue Mar 5, 2025 · 3 comments
Open
1 of 3 tasks

MacOS Agents Failing Tasks They Don't Have #2160

conlan0 opened this issue Mar 5, 2025 · 3 comments

Comments

@conlan0
Copy link
Contributor

conlan0 commented Mar 5, 2025

Server Info (please complete the following information):

  • OS: Ubuntu 20.04
  • Browser: chrome
  • RMM Version (as shown in top left of web UI): v1.0.0

Installation Method:

  • Standard
  • Standard with --insecure flag at install
  • Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI): Agent v2.9.0
  • Agent OS: Darwin 15.3.1 arm64 24.3.0

Describe the bug
Right after updating multiple (10+) macos agents were reporting alerts for failed tasks
while they show no tasks assigned

Screenshots

Automation Policy Settings:

Image

Image

Image

Image

Failed Alert Image

Image

Agent Task Tab

Image

Additional Info:

The automation policy is enforced at the client level for all workstations.

@wh1te909
Copy link
Member

wh1te909 commented Mar 5, 2025

haven't been able to reproduce based on the screenshots provided, but might be because it was an existing task. can you try disabling the policy and then re-enabling it, so the tasks are recreated and then see if same problem?

@conlan0
Copy link
Contributor Author

conlan0 commented Mar 5, 2025

i have disabled the policy and confirmed there were no checks or tasks listed on the agent but when the policy was recreated and I ran the task from the automation manager the same error alert was created for the agents

@conlan0
Copy link
Contributor Author

conlan0 commented Mar 5, 2025

@wh1te909 Here is the debug entry from the agent when i run the task from automation manager

============================================================================== 2025/03/05 16:21:35.761164 DEBUG RESTY ============================================================================== ~~~ REQUEST ~~~ GET /api/v3/19/REDACTED/taskrunner/ HTTP/1.1 HOST : api.REDACTED.com HEADERS: Accept: application/json Authorization: Token REDACTED Content-Type: application/json User-Agent: go-resty/2.13.1 (https://github.com/go-resty/resty) BODY : ***** NO CONTENT ***** ------------------------------------------------------------------------------ ~~~ RESPONSE ~~~ STATUS : 200 OK PROTO : HTTP/1.1 RECEIVED AT : 2025-03-05T16:21:35.761088-05:00 TIME DURATION: 27.968898ms HEADERS : Allow: GET, PATCH, HEAD, OPTIONS Content-Length: 161 Content-Type: application/json Date: Wed, 05 Mar 2025 21:21:35 GMT Server: nginx Vary: origin X-Content-Type-Options: nosniff BODY : { "id": 19, "continue_on_error": true, "enabled": true, "task_actions": [ { "type": "cmd", "command": "dism /online /cleanup-image /checkhealth", "shell": "cmd", "timeout": 30 } ] } ============================================================================== 2025/03/05 16:21:35.896811 DEBUG RESTY ============================================================================== ~~~ REQUEST ~~~ PATCH /api/v3/19/REDACTED/taskrunner/ HTTP/1.1 HOST : api.REDACTED.com HEADERS: Accept: application/json Authorization: Token REDACTED Content-Type: application/json User-Agent: go-resty/2.13.1 (https://github.com/go-resty/resty) BODY : { "stdout": "", "stderr": "", "retcode": -1, "execution_time": 0.000315133 } ------------------------------------------------------------------------------ ~~~ RESPONSE ~~~ STATUS : 200 OK PROTO : HTTP/1.1 RECEIVED AT : 2025-03-05T16:21:35.896726-05:00 TIME DURATION: 135.059012ms HEADERS : Allow: GET, PATCH, HEAD, OPTIONS Content-Length: 4 Content-Type: application/json Date: Wed, 05 Mar 2025 21:21:35 GMT Server: nginx Vary: origin X-Content-Type-Options: nosniff BODY : "ok" ==============================================================================

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