awx icon indicating copy to clipboard operation
awx copied to clipboard

Allow running `awx-manage run_dispatcher` utility methods against other nodes

Open AlanCoding opened this issue 3 years ago • 0 comments

Please confirm the following

  • [X] I agree to follow this project's code of conduct.
  • [X] I have checked the current issues for duplicates.
  • [X] I understand that AWX is open source software provided for free and that I might not receive a timely response.

Feature type

Enhancement to Existing Feature

Feature Summary

We are seeing extremely common use of commands like awx-manage run_dispatcher --status, but this only works for the current node. Yet the mechanism of control-and-reply should allow this to work fine for any node, ran from any other control or hybrid node. The options this should apply for are

  • --status
  • --running
  • --cancel as of https://github.com/ansible/awx/pull/11745

So my proposal here is that we add something like --hostname, and then that will get the data for that particular host.

Select the relevant components

  • [ ] UI
  • [X] API
  • [ ] Docs
  • [ ] Collection
  • [ ] CLI
  • [ ] Other

Steps to reproduce

Check the status command in a cluster?

Current results

Just get the data for the local node.

Sugested feature result

I can get data for other nodes.

The expectation is certainly that this will be leveraged to get the status data across the entire cluster quickly.

Additional information

No response

AlanCoding avatar Sep 02 '22 18:09 AlanCoding