Page MenuHomePhabricator
Paste P14419

(An Untitled Masterwork)
ActivePublic

Authored by dcaro on Feb 19 2021, 3:10 PM.
2021-02-19 16:05:45,160 [INFO 904771 cumin.cli.main] Cumin called by user 'dcaro' with args: Namespace(config='/home/dcaro/.config/cumin/cumin-config.yaml', global_timeout=None, timeout=None, mode='sync', success_percentage=100, batch_size={'value': None, 'ratio': None}, batch_sleep=None, ignore_exit_codes=False, output=None, interactive=False, no_colors=False, force=False, backend=None, transport=None, dry_run=False, debug=False, trace=False, hosts='D{localhost}', commands=['hostname'])
2021-02-19 16:05:46,317 [INFO 904771 cumin.transports.clustershell.ClusterShellWorker.execute] Executing commands [cumin.transports.Command('hostname')] on '1' hosts: localhost
2021-02-19 16:05:46,319 [CRITICAL 904771 cumin.transports.clustershell.Reporter.report_nodes_success] 0.0% (0/1) success ratio (< 100.0% threshold) of nodes successfully executed all commands. Aborting.
2021-02-19 16:05:46,320 [ERROR 904771 cumin.cli.main] Failed to execute
Traceback (most recent call last):
File "/home/dcaro/Work/wikimedia/cumin/cumin/cli.py", line 472, in main
exit_code = run(args, config)
File "/home/dcaro/Work/wikimedia/cumin/cumin/cli.py", line 404, in run
exit_code = worker.execute()
File "/home/dcaro/Work/wikimedia/cumin/cumin/transports/clustershell.py", line 79, in execute
self.task.run(timeout=self.timeout, stdin=False)
File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/ClusterShell/Task.py", line 849, in run
self.resume(timeout)
File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/ClusterShell/Task.py", line 803, in resume
self._resume()
File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/ClusterShell/Task.py", line 766, in _resume
self._run(self.timeout)
File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/ClusterShell/Task.py", line 400, in _run
self._engine.run(timeout)
File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/ClusterShell/Engine/Engine.py", line 721, in run
self.start_clients()
File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/ClusterShell/Engine/Engine.py", line 702, in start_clients
self.register(client._start())
File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/ClusterShell/Worker/Exec.py", line 114, in _start
self._on_nodeset_start(self.key)
File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/ClusterShell/Worker/Exec.py", line 150, in _on_nodeset_start
self.worker._on_start(nodes)
File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/ClusterShell/Worker/Worker.py", line 158, in _on_start
_eh_sigspec_invoke_compat(self.eh.ev_pickup, 2, self, key)
File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/ClusterShell/Worker/Worker.py", line 52, in _eh_sigspec_invoke_compat
return method(*args)
File "/home/dcaro/Work/wikimedia/cumin/cumin/transports/clustershell.py", line 471, in ev_pickup
self.reporter.report_single_command_output(worker.command)
File "/home/dcaro/Work/wikimedia/cumin/cumin/transports/clustershell.py", line 264, in report_single_command_output
command=self._get_short_command(command))
File "/home/dcaro/Work/wikimedia/cumin/cumin/transports/clustershell.py", line 223, in _get_short_command
cmd = command.command
AttributeError: 'str' object has no attribute 'command'
2021-02-19 16:07:26,152 [INFO 908414 cumin.cli.main] Cumin called by user 'dcaro' with args: Namespace(config='/home/dcaro/.config/cumin/cumin-config.yaml', global_timeout=None, timeout=None, mode='sync', success_percentage=100, batch_size={'value': None, 'ratio': None}, batch_sleep=None, ignore_exit_codes=False, output=None, interactive=False, force=False, backend=None, transport=None, dry_run=False, debug=False, trace=False, hosts='D{localhost}', commands=['hostname'])
2021-02-19 16:07:27,397 [INFO 908414 cumin.transports.clustershell.ClusterShellWorker.execute] Executing commands [cumin.transports.Command('hostname')] on '1' hosts: localhost
2021-02-19 16:07:27,410 [INFO 908414 cumin.transports.clustershell.SyncEventHandler.ev_timer] Completed command 'hostname'
2021-02-19 16:07:27,411 [ERROR 908414 cumin.transports.clustershell.SyncEventHandler._failed_commands_report] 100.0% (1/1) of nodes failed to execute command 'hostname': localhost
2021-02-19 16:07:27,411 [CRITICAL 908414 cumin.transports.clustershell.SyncEventHandler._success_nodes_report] 0.0% (0/1) success ratio (< 100.0% threshold) for command: 'hostname'. Aborting.
2021-02-19 16:07:27,411 [CRITICAL 908414 cumin.transports.clustershell.SyncEventHandler._success_nodes_report] 0.0% (0/1) success ratio (< 100.0% threshold) of nodes successfully executed all commands. Aborting.