[AAP-88364] Add awx-manage CLI command to enable/disable indirect node counting (#16634)

* feat(cli): add indirect node counting toggle

Assisted by gpt-5.6-terra

* test(cli): cover indirect node counting toggle command

* fix(controller): handle disabled indirect node counting jobs
This commit is contained in:
Paul Flanagan
2026-09-03 20:16:10 +02:00
committed by GitHub
parent 7c9ac61e2d
commit df97f07284
19 changed files with 222 additions and 86 deletions
+21
View File
@@ -68,6 +68,27 @@ Cluster management
Do not run other ``awx-manage`` commands unless instructed by Red Hat Ansible personnel.
Indirect node counting
~~~~~~~~~~~~~~~~~~~~~~
Red Hat Support can temporarily disable indirect node counting when diagnosing
Controller performance issues. Indirect node counting is enabled by default.
::
awx-manage set_indirect_node_counting --disable
To resume processing indirect managed nodes, run:
::
awx-manage set_indirect_node_counting --enable
The command updates the controller setting and clears the setting cache across
the cluster. Allow the change to propagate to workers before launching a job
that must use the new value. A service restart is not required.
.. _ag_token_utility:
Session management