Alignak-monitoring-contrib / alignak-module-backend

Alignak modules (arbiter, broker, scheduler) for the backend
GNU Affero General Public License v3.0
0 stars 2 forks source link

Scheduler module exception #69

Closed mohierf closed 7 years ago

mohierf commented 7 years ago

On the demo server:

[2017-03-11 13:50:56 CET] ERROR: [alignak.module.backend_scheduler] Backend exception: Backend error code 1003: Backend HTTPError: <class 'requests.exceptions.HTTPError'> / 404 Client Error: NOT FOUND for url: http://127.0.0.1:5000/retentionservice/58c3ec59a032845e8bfd478e
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/alignak_module_backend/scheduler/module.py", line 199, in hook_save_retention
    headers=delheaders)
  File "/usr/local/lib/python2.7/site-packages/alignak_backend_client/client.py", line 698, in delete
    raise BackendException(1003, "Backend HTTPError: %s / %s" % (type(e), str(e)))
BackendException: Backend error code 1003: Backend HTTPError: <class 'requests.exceptions.HTTPError'> / 404 Client Error: NOT FOUND for url: http://127.0.0.1:5000/retentionservice/58c3ec59a032845e8bfd478e
[2017-03-11 13:50:56 CET] ERROR: [alignak.module.backend_scheduler] Backend exception: Backend error code 1003: Backend HTTPError: <class 'requests.exceptions.HTTPError'> / 404 Client Error: NOT FOUND for url: http://127.0.0.1:5000/retentionservice/58c3ec59a032845e8afb25d9
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/alignak_module_backend/scheduler/module.py", line 199, in hook_save_retention
    headers=delheaders)
  File "/usr/local/lib/python2.7/site-packages/alignak_backend_client/client.py", line 698, in delete
    raise BackendException(1003, "Backend HTTPError: %s / %s" % (type(e), str(e)))
BackendException: Backend error code 1003: Backend HTTPError: <class 'requests.exceptions.HTTPError'> / 404 Client Error: NOT FOUND for url: http://127.0.0.1:5000/retentionservice/58c3ec59a032845e8afb25d9
[2017-03-11 13:50:56 CET] ERROR: [alignak.module.backend_scheduler] Backend exception: Backend error code 1003: Backend HTTPError: <class 'requests.exceptions.HTTPError'> / 404 Client Error: NOT FOUND for url: http://127.0.0.1:5000/retentionservice/58c3ec59a032845e8afb25dd
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/alignak_module_backend/scheduler/module.py", line 199, in hook_save_retention
    headers=delheaders)
  File "/usr/local/lib/python2.7/site-packages/alignak_backend_client/client.py", line 698, in delete
    raise BackendException(1003, "Backend HTTPError: %s / %s" % (type(e), str(e)))
BackendException: Backend error code 1003: Backend HTTPError: <class 'requests.exceptions.HTTPError'> / 404 Client Error: NOT FOUND for url: http://127.0.0.1:5000/retentionservice/58c3ec59a032845e8afb25dd
[2017-03-11 13:51:01 CET] INFO: [alignak.module.backend_scheduler] 136 services saved in retention
mohierf commented 7 years ago

Should be catched and logged as of now