thiell/test — Issue #195: clush: ctrl-C and "stdout_msgtree not set" raised with -bL
Author: thiell
Created: 2012-03-03 16:36:16+00:00
State: open
Labels: Scripts

Got the following when doing CTRL-C during a -bL command:

{{{
$ ./clush.py -bL -w node33 sleep 3
^CError in sys.excepthook:
Traceback (most recent call last):
File "/clustershell/branches/1.4/lib/ClusterShell/CLI/Clush.py", line 591, in clush_excepthook
raise extype, value
ClusterShell.Task.TaskMsgTreeError: stdout_msgtree not set

Original exception was:
Traceback (most recent call last):
File "./clush.py", line 11, in
main()
File "/clustershell/branches/1.4/lib/ClusterShell/CLI/Clush.py", line 801, in main
ttyloop(task, nodeset_base, timeout, display)
File "/clustershell/branches/1.4/lib/ClusterShell/CLI/Clush.py", line 389, in ttyloop
for buf, nodeset in sorted(map(nodesetify, task.iter_buffers()),
File "/clustershell/branches/1.4/lib/ClusterShell/Task.py", line 1069, in iter_buffers
return self._call_tree_matcher(self._msgtree.walk, match_keys)
File "/clustershell/branches/1.4/lib/ClusterShell/Task.py", line 116, in __getattr__
raise TaskMsgTreeError("%s not set" % self._keyword)
ClusterShell.Task.TaskMsgTreeError: stdout_msgtree not set
}}}