cea-hpc/clustershell — Issue #105: clush: uncaught NodeSetParseRangeError exception
Author: thiell
Created: 2012-03-03 16:47:32+00:00
State: open
Labels: Scripts

Uncaught exception encountered in 1.3 RC1 :

{{{
[root@fortoy1 ~]# clush -w fortoy[2-3,36-40-44] -b cat /sys/class/infiniband/mlx4_0/ports/1/pkeys/1
Traceback (most recent call last):
File "/usr/bin/clush", line 1000, in
clush_main(sys.argv)
File "/usr/bin/clush", line 828, in clush_main
nodeset_base = NodeSet.fromlist(options.nodes)
File "/usr/lib/python2.6/site-packages/ClusterShell/NodeSet.py", line 1385, in fromlist
inst.update(node)
File "/usr/lib/python2.6/site-packages/ClusterShell/NodeSet.py", line 1574, in update
ns = self._parser.parse(other, self._autostep)
File "/usr/lib/python2.6/site-packages/ClusterShell/NodeSet.py", line 1178, in parse
return self.parse_string(str(nsobj), autostep)
File "/usr/lib/python2.6/site-packages/ClusterShell/NodeSet.py", line 1190, in parse_string
for opc, pat, rangeset in self._scan_string(nsstr, autostep):
File "/usr/lib/python2.6/site-packages/ClusterShell/NodeSet.py", line 1288, in _scan_string
raise NodeSetParseRangeError(e)
ClusterShell.NodeSet.NodeSetParseRangeError: bad range : "cannot convert string to integer : "36-40-44""
}}}