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

CLI command to return the agent status #442

Open
fginther opened this issue Jan 10, 2025 · 1 comment
Open

CLI command to return the agent status #442

fginther opened this issue Jan 10, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@fginther
Copy link

Our workflow has us allocating jobs to a pool of queues (all maas servers with their own agent), with the ability to failover to the next device in the pool if one can't be provisioned. However, this doesn't work when the agent is in an offline state. We can't tell from the testflinger output if the agent is offline or just busy servicing an existing job. The outcome is that we end up waiting for hours before timing out.

In this case, it would be helpful to know the status of the agent (offline, waiting, etc), so that we can skip it when offline.

For example:

# testflinger agent-status
usage: testflinger agent-status [-h] agent
# testflinger agent-status lubba
offline
Copy link

Thank you for reporting your feedback to us!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CERTTF-476.

This message was autogenerated

@pedro-avalos pedro-avalos added the enhancement New feature or request label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants