Working perfect with if we remove one node if we try 2 or 3.It shows a error..
clb remove-nodes loadbalancer2 '10.179.50.46:80,10.179.38.92:80'
Traceback (most recent call last):
File "/usr/local/bin/clb", line 5, in
pkg_resources.run_script('clb==0.0.1', 'clb')
File "build/bdist.linux-i686/egg/pkg_resources.py", line 489, in run_script
yield ep
File "build/bdist.linux-i686/egg/pkg_resources.py", line 1207, in run_script
File "/usr/local/lib/python2.7/dist-packages/clb-0.0.1-py2.7.egg/EGG-INFO/scripts/clb", line 919, in
CloudloadbalancersShell().main(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/clb-0.0.1-py2.7.egg/EGG-INFO/scripts/clb", line 196, in main
args.func(args)
File "/usr/local/lib/python2.7/dist-packages/clb-0.0.1-py2.7.egg/EGG-INFO/scripts/clb", line 563, in do_remove_nodes
lb = self._remove_nodes(lb, ns)
File "/usr/local/lib/python2.7/dist-packages/clb-0.0.1-py2.7.egg/EGG-INFO/scripts/clb", line 572, in _remove_nodes
n.delete()
File "/usr/local/lib/python2.7/dist-packages/python_cloudlb-0.5.1-py2.7.egg/cloudlb/node.py", line 82, in delete
self._parent.nodes.delete(self.id)
File "/usr/local/lib/python2.7/dist-packages/python_cloudlb-0.5.1-py2.7.egg/cloudlb/node.py", line 46, in delete
if self.dico[x].id == nid:
IndexError: list index out of range
Working perfect with if we remove one node if we try 2 or 3.It shows a error..
clb remove-nodes loadbalancer2 '10.179.50.46:80,10.179.38.92:80' Traceback (most recent call last): File "/usr/local/bin/clb", line 5, in
pkg_resources.run_script('clb==0.0.1', 'clb')
File "build/bdist.linux-i686/egg/pkg_resources.py", line 489, in run_script
yield ep
File "build/bdist.linux-i686/egg/pkg_resources.py", line 1207, in run_script
File "/usr/local/lib/python2.7/dist-packages/clb-0.0.1-py2.7.egg/EGG-INFO/scripts/clb", line 919, in
CloudloadbalancersShell().main(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/clb-0.0.1-py2.7.egg/EGG-INFO/scripts/clb", line 196, in main
args.func(args)
File "/usr/local/lib/python2.7/dist-packages/clb-0.0.1-py2.7.egg/EGG-INFO/scripts/clb", line 563, in do_remove_nodes
lb = self._remove_nodes(lb, ns)
File "/usr/local/lib/python2.7/dist-packages/clb-0.0.1-py2.7.egg/EGG-INFO/scripts/clb", line 572, in _remove_nodes
n.delete()
File "/usr/local/lib/python2.7/dist-packages/python_cloudlb-0.5.1-py2.7.egg/cloudlb/node.py", line 82, in delete
self._parent.nodes.delete(self.id)
File "/usr/local/lib/python2.7/dist-packages/python_cloudlb-0.5.1-py2.7.egg/cloudlb/node.py", line 46, in delete
if self.dico[x].id == nid:
IndexError: list index out of range