Actions
Bug #8364
closedInternal Server Error when requesting list of connected nodes
Start date:
08/17/2017
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
Sometimes I got the following exception:
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 128, in init_scheduler self.update_nodes(wc) File "/home/debian/klever/scheduler/bin/../schedulers/native.py", line 296, in update_nodes cacnel_jobs, cancel_tasks = self.__manager.update_system_status(self.__kv_url, wait_controller) File "/home/debian/klever/scheduler/bin/../schedulers/resource_scheduler.py", line 80, in update_system_status nodes, session = request(url) File "/home/debian/klever/scheduler/bin/../schedulers/resource_scheduler.py", line 64, in request format(kv_url, r.status_code, r.reason)) ValueError: Cannot get list of connected nodes requesting http://localhost:8500/v1/catalog/nodes (got status code: 500 due to: Internal Server Error)
when starting Native Scheduler just after Controller.
Actions