Actions
Feature #8287
closedAdd a new option to wait until Controller will initiate its state
Start date:
07/11/2017
Due date:
% Done:
0%
Estimated time:
Published in build:
Description
If one tries to launch, say, Native Scheduler just after Controller, most likely Native Scheduler fails with such the exception:
2017-07-11 08:55:46,932 (__init__.py:128) root ERROR> Uncaught exception Traceback (most recent call last): File "/home/debian/klever/scheduler/bin/native-scheduler", line 37, in <module> scheduler_impl = native.Scheduler(conf, "scheduler/") File "/home/debian/klever/scheduler/bin/../schedulers/native.py", line 87, in __init__ self.init_scheduler() File "/home/debian/klever/scheduler/bin/../schedulers/native.py", line 123, in init_scheduler self.update_nodes() File "/home/debian/klever/scheduler/bin/../schedulers/native.py", line 290, in update_nodes cacnel_jobs, cancel_tasks = self.__manager.update_system_status(self.__kv_url) File "/home/debian/klever/scheduler/bin/../schedulers/resource_scheduler.py", line 72, in update_system_status string = session.kv["states/" + node] File "/usr/local/lib/python3.4/dist-packages/consulate/api/kv.py", line 61, in __getitem__ raise KeyError('Key not found ({0})'.format(item)) KeyError: 'Key not found (states/joker-klever-dev)'
This issue exists very long and always very complicated automatic deployments.
Actions