mirror of
https://github.com/ansible/awx.git
synced 2026-02-13 11:05:18 -03:30
AAP-60470 Add dispatcherctl and dispatcherd commands as updated interface to dispatcherd lib (#16206)
* Add dispatcherctl command * Add tests for dispatcherctl command * Exit early if sqlite3 * Switch to dispatcherd mgmt cmd * Move unwanted command options to run_dispatcher * Add test for new stuff * Update the SOS report status command * make docs always reference new command * Consistently error if given config file
This commit is contained in:
@@ -10,7 +10,7 @@ pidfile = /var/run/supervisor/supervisor.task.pid
|
||||
command = make dispatcher
|
||||
directory = /awx_devel
|
||||
{% else %}
|
||||
command = awx-manage run_dispatcher
|
||||
command = awx-manage dispatcherd
|
||||
directory = /var/lib/awx
|
||||
{% endif %}
|
||||
autorestart = true
|
||||
|
||||
@@ -4,7 +4,7 @@ minfds = 4096
|
||||
nodaemon=true
|
||||
|
||||
[program:awx-dispatcher]
|
||||
command = awx-manage run_dispatcher
|
||||
command = awx-manage dispatcherd
|
||||
autorestart = true
|
||||
stopasgroup=true
|
||||
killasgroup=true
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
"-b",
|
||||
"provision_instance",
|
||||
"run_callback_receiver",
|
||||
"run_dispatcher",
|
||||
"dispatcherd",
|
||||
"run_rsyslog_configurer",
|
||||
"run_ws_heartbeat",
|
||||
"run_wsrelay",
|
||||
@@ -112,7 +112,7 @@
|
||||
"-b",
|
||||
"provision_instance",
|
||||
"run_callback_receiver",
|
||||
"run_dispatcher",
|
||||
"dispatcherd",
|
||||
"run_rsyslog_configurer",
|
||||
"run_ws_heartbeat",
|
||||
"run_wsrelay",
|
||||
|
||||
@@ -9,7 +9,7 @@ except ImportError:
|
||||
SOSREPORT_CONTROLLER_COMMANDS = [
|
||||
"awx-manage --version", # controller version
|
||||
"awx-manage list_instances", # controller cluster configuration
|
||||
"awx-manage run_dispatcher --status", # controller dispatch worker status
|
||||
"awx-manage dispatcherctl status", # controller dispatch comprehensive status
|
||||
"awx-manage run_callback_receiver --status", # controller callback worker status
|
||||
"awx-manage check_license --data", # controller license status
|
||||
"awx-manage run_wsrelay --status", # controller websocket relay status
|
||||
|
||||
Reference in New Issue
Block a user