Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluesd will crash / won't start if node is set to offline #10

Closed
tkald opened this issue Nov 1, 2016 · 1 comment
Closed

Cluesd will crash / won't start if node is set to offline #10

tkald opened this issue Nov 1, 2016 · 1 comment

Comments

@tkald
Copy link

tkald commented Nov 1, 2016

In Opennebula 5.2 if I set node state to offline, cluesd will crash and won't start again (until host is offline).
If I set node online or disabled, it can be started again.

Here's relevant error in log:

Traceback (most recent call last):
File "/usr/bin/cluesserver", line 569, in
main_loop()
File "/usr/bin/cluesserver", line 566, in main_loop
CLUES_DAEMON.loop(options.RT_MODE)
File "/usr/local/lib/python2.7/dist-packages/clueslib/cluesd.py", line 557, in loop
cpyutils.eventloop.get_eventloop().loop()
File "build/bdist.linux-x86_64/egg/cpyutils/eventloop.py", line 299, in loop
File "build/bdist.linux-x86_64/egg/cpyutils/eventloop.py", line 138, in call
File "build/bdist.linux-x86_64/egg/cpyutils/eventloop.py", line 101, in call
File "/usr/local/lib/python2.7/dist-packages/clueslib/cluesd.py", line 226, in _monitor_lrms_nodes
lrms_nodelist = self._platform.get_nodeinfolist()
File "/usr/local/lib/python2.7/dist-packages/clueslib/platform.py", line 45, in get_nodeinfolist
return self._lrms.get_nodeinfolist()
File "/usr/local/lib/python2.7/dist-packages/cluesplugins/one.py", line 323, in get_nodeinfolist
hosts = self._one.get_hosts()
File "build/bdist.linux-x86_64/egg/cpyutils/oneconnect.py", line 224, in get_hosts
File "build/bdist.linux-x86_64/egg/cpyutils/xmlobject.py", line 111, in init
File "build/bdist.linux-x86_64/egg/cpyutils/xmlobject.py", line 81, in _parse
File "build/bdist.linux-x86_64/egg/cpyutils/oneconnect.py", line 72, in init
KeyError: 8
cluesd.service: Main process exited, code=exited, status=1/FAILURE

@dealfonso
Copy link
Member

Hi @tkald

it was an error in cpyutils. In version 0.26 of cpyutils it has been solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants