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

Scheduler: AttributeError: time_to_orphanage #2

Open
elyrtan opened this issue Jan 2, 2014 · 0 comments
Open

Scheduler: AttributeError: time_to_orphanage #2

elyrtan opened this issue Jan 2, 2014 · 0 comments

Comments

@elyrtan
Copy link

elyrtan commented Jan 2, 2014

Issue number 913 on main repo

Hi evryone, I am currently testing failover in conjunction with mongodbretention replicaset.
When failing over to the secondary shinken server, scheduler goes down almost immediately with the following error:
2013-06-28 16:50:58,305 [1372431058] Critical : Back trace of it: Traceback (most recent call last):
File "/usr/local/shinken/shinken/daemons/schedulerdaemon.py", line 388, in main
self.do_mainloop()
File "/usr/local/shinken/shinken/daemon.py", line 244, in do_mainloop
self.do_loop_turn()
File "/usr/local/shinken/shinken/daemons/schedulerdaemon.py", line 251, in do_loop_turn
self.sched.run()
File "/usr/local/shinken/shinken/scheduler.py", line 1491, in run
f()
File "/usr/local/shinken/shinken/scheduler.py", line 1377, in check_orphaned
time_to_orphanage = c.ref.get_time_to_orphanage()
File "/usr/local/shinken/shinken/objects/schedulingitem.py", line 1322, in get_time_to_orphanage
if self.time_to_orphanage <= 0:
AttributeError: time_to_orphanage

Has anyone ever faced this before ?

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

1 participant