Closed jay7x closed 3 years ago
JFYI, it works fine while in playbook too.
Called this way:
$res = choria::run_playbook('choria::tasks::run',
nodes => $nodes,
task => 'spd::query_exporter',
silent => $silent,
inputs => {
url => 'http://127.0.0.1:9080',
metrics => [
'kafka_server_replicamanager_underreplicatedpartitions',
'kafka_controller_kafkacontroller_activecontrollercount',
],
}
)
Related output:
Info: Scope(<module>/choria/plans/tasks/download_files.pp, 12): Downloading files for task 'spd::query_exporter' onto 5 nodes
Notice: Scope(<module>/choria/plans/tasks/download_files.pp, 14): About to run task: mcollective task
Notice: Scope(<module>/choria/plans/tasks/download_files.pp, 14): Starting request for bolt_tasks#download against 5 nodes
Notice: Scope(<module>/choria/plans/tasks/download_files.pp, 14): Successful request 8ec906097c195e4dbceb9c845e9d0d1e for bolt_tasks#download in 2.11s against 5 node(s)
I cant reproduce this, I think something was transiently failing or something, does this happen every time?
% mco tasks run mcollective_agent_bolt_tasks::ping --message=foo -C apache
above works for me
closing this, cant reproduce
When trying to run bolt task with
-C
filter for discovery mco is timed out:Though when doing the same on same nodes but with
-I
filter it works fine:Task details:
P.S. May be related to this: https://github.com/choria-io/mcollective-choria/issues/457