When running the latest master I get:
04:05 PM <cumin-python3> ~/Work/wikimedia/cumin (master|✔) dcaro@vulcanus$ cumin -c ~/.config/cumin/cumin-config.yaml 'D{localhost}' hostname 1 hosts will be targeted: localhost Ok to proceed on 1 hosts? Enter the number of affected hosts to confirm or "q" to quit 1 0.0% (0/1) success ratio (< 100.0% threshold) of nodes successfully executed all commands. Aborting. Caught AttributeError exception: 'str' object has no attribute 'command' PASS | | 0% (0/1) [00:00<?, ?hosts/s]Exception ignored in: <function tqdm.__del__ at 0x7f5c83beb280> | 0% (0/1) [00:00<?, ?hosts/s] Traceback (most recent call last): File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/tqdm/_tqdm.py", line 883, in __del__ self.close() File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/tqdm/_tqdm.py", line 1088, in close self._decr_instances(self) File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/tqdm/_tqdm.py", line 439, in _decr_instances cls._instances.remove(instance) File "/usr/lib/python3.9/_weakrefset.py", line 110, in remove self.data.remove(ref(item)) KeyError: <weakref at 0x7f5c832eeb30; to 'tqdm' at 0x7f5c832e4d60> Exception ignored in: <function tqdm.__del__ at 0x7f5c83beb280> Traceback (most recent call last): File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/tqdm/_tqdm.py", line 883, in __del__ self.close() File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/tqdm/_tqdm.py", line 1088, in close self._decr_instances(self) File "/home/dcaro/.virtualenvs/cumin-python3/lib/python3.9/site-packages/tqdm/_tqdm.py", line 439, in _decr_instances cls._instances.remove(instance) File "/usr/lib/python3.9/_weakrefset.py", line 110, in remove self.data.remove(ref(item)) KeyError: <weakref at 0x7f5c832ee860; to 'tqdm' at 0x7f5c832f11f0>
While the same run on tag v4.0.0 works (it's expected to fail ssh):
04:07 PM <cumin-python3> ~/Work/wikimedia/cumin (master|…1) dcaro@vulcanus$ cumin -c ~/.config/cumin/cumin-config.yaml 'D{localhost}' hostname 1 hosts will be targeted: localhost Confirm to continue [y/n]? y ----- OUTPUT of 'hostname' ----- ssh: connect to host localhost port 22: Connection refused ================ PASS | | 0% (0/1) [00:00<?, ?hosts/s] FAIL |████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 100% (1/1) [00:00<00:00, 72.75hosts/s] 100.0% (1/1) of nodes failed to execute command 'hostname': localhost 0.0% (0/1) success ratio (< 100.0% threshold) for command: 'hostname'. Aborting. 0.0% (0/1) success ratio (< 100.0% threshold) of nodes successfully executed all commands. Aborting.
Cumin logs:
https://phabricator.wikimedia.org/P14419
It seems that something changed an now there's a string getting passed to the transport instead of a Comand instance.
Relevant config options from the cumin.yaml config:
transport: clustershell log_file: cumin.log default_backend: direct environment: {}