cea-hpc/clustershell — Issue #36: Unhandled NodeSet parse error in clush
Author: thiell
Created: 2012-03-03 16:45:28+00:00
State: open
Labels: Scripts

{{{
[root@fortoy0 ~]# clush -w fortoy[45-33] ls
Traceback (most recent call last):
File "/usr/bin/clush", line 651, in ?
clush_main(sys.argv)
File "/usr/bin/clush", line 538, in clush_main
nodeset_base = NodeSet(options.nodes)
File "/usr/lib/python2.4/site-packages/ClusterShell/NodeSet.py", line 805, in __init__
self.update(pattern)
File "/usr/lib/python2.4/site-packages/ClusterShell/NodeSet.py", line 976, in update
for pat, rangeset in _NodeSetParse(other, self._autostep):
File "/usr/lib/python2.4/site-packages/ClusterShell/NodeSet.py", line 733, in _NodeSetParse
raise NodeSetParseRangeError(e)
ClusterShell.NodeSet.NodeSetParseRangeError: invalid values in range : "45-33"
}}}