Open lnlrbr opened 7 years ago
In the service template table view, it's not possible to go to the service template detail view by clicking on its Service Name nor accessing its base templates detail views by clicking on the Templates column. alignak-webui.log gives :
[2017-10-26 10:10:13,287] INFO: [alignak_webui] client: 109.69.197.247, session: 3680966cb6dc4cd0b4c7d2d98f22701a / 2017-10-26 09:55:03 / {'_creation_time': 1509004503.102801, 'current_user': <Authenticated user, id: 59f19421cdd22d2e8fe9f2b5, name: admin, role: administrator, level: 2, token: 1509004321209-6900df89-93c6-474a-a1b7-7010ed075f9a>, '_accessed_time': 1509005413.285515, 'login_message': None, 'edition_mode': False, 'user_message': {'status': 'ko', 'message': "Service 'YYYY/dev_XXXX' not found"}, 'current_realm': <realm, id: 59f19421cdd22d2e8fe9f2ac, name: All, status: unknown>} [2017-10-26 10:10:13,287] INFO: [alignak_webui.backend.datamanager] user_login, connection requested: 1509004321209-6900df89-93c6-474a-a1b7-7010ed075f9a, load: False [2017-10-26 10:10:13,287] INFO: [alignak_webui.backend.alignak_ws_client] login, connection requested, login: 1509004321209-6900df89-93c6-474a-a1b7-7010ed075f9a [2017-10-26 10:10:13,319] INFO: [alignak_webui.backend.datamanager] user_login, connection message: True / Access granted [2017-10-26 10:10:13,319] INFO: [alignak_webui.backend.datamanager] Load, start, objects in cache: 16 [2017-10-26 10:10:13,319] INFO: [alignak_webui.backend.datamanager] get_realm, search: {'sort': '_level', 'max_results': 1} [2017-10-26 10:10:13,319] INFO: [alignak_webui.backend.datamanager] get_realms, search: {'sort': '_level', 'max_results': 1, 'embedded': {'_parent': 1}} [2017-10-26 10:10:13,327] INFO: [alignak_webui.backend.datamanager] get_realms, items: [<realm, id: 59f19421cdd22d2e8fe9f2ac, name: All, status: unknown>] [2017-10-26 10:10:13,327] INFO: [alignak_webui.backend.datamanager] user's default higher level realm: <realm, id: 59f19421cdd22d2e8fe9f2ac, name: All, status: unknown> [2017-10-26 10:10:13,335] INFO: [alignak_webui.backend.datamanager] user's concatenated live synthesis: 59f19421cdd22d2e8fe9f2b7 [2017-10-26 10:10:13,336] INFO: [alignak_webui.backend.datamanager] Data manager load (False), new objects: 1, duration: 0.0167379379272 [2017-10-26 10:10:13,336] WARNING: [alignak_webui] request.app.datamgr: <DM, id: 402, objects count: 17, user: admin, updated: 2017-10-26 08:10:13.335876> [2017-10-26 10:10:13,339] ERROR: [alignak_backend_client.client] Backend HTTP error, error: 401 Client Error: UNAUTHORIZED for url: http://127.0.0.1:5000/host?sort=-ls_state_id%2C+-ls_last_state_changed&max_results=50&where=%7B%22ls_state_id%22%3A+%7B%22%24nin%22%3A+%5B0%2C+4%5D%7D%2C+%22ls_state_type%22%3A+%22HARD%22%2C+%22_is_template%22%3A+false%2C+%22ls_acknowledged%22%3A+false%2C+%22ls_downtimed%22%3A+false%7D&page=0 [2017-10-26 10:10:13,339] WARNING: [alignak_webui.backend.backend] get, backend exception for host: Backend error code 1003: Backend HTTPError: <class 'requests.exceptions.HTTPError'> / 401 Client Error: UNAUTHORIZED for url: http://127.0.0.1:5000/host?sort=-ls_state_id%2C+-ls_last_state_changed&max_results=50&where=%7B%22ls_state_id%22%3A+%7B%22%24nin%22%3A+%5B0%2C+4%5D%7D%2C+%22ls_state_type%22%3A+%22HARD%22%2C+%22_is_template%22%3A+false%2C+%22ls_acknowledged%22%3A+false%2C+%22ls_downtimed%22%3A+false%7D&page=0, response: None [2017-10-26 10:10:13,339] ERROR: [alignak_webui.backend.datamanager] find_object, exception: Backend error code 1003: Backend HTTPError: <class 'requests.exceptions.HTTPError'> / 401 Client Error: UNAUTHORIZED for url: http://127.0.0.1:5000/host?sort=-ls_state_id%2C+-ls_last_state_changed&max_results=50&where=%7B%22ls_state_id%22%3A+%7B%22%24nin%22%3A+%5B0%2C+4%5D%7D%2C+%22ls_state_type%22%3A+%22HARD%22%2C+%22_is_template%22%3A+false%2C+%22ls_acknowledged%22%3A+false%2C+%22ls_downtimed%22%3A+false%7D&page=0, response: None Traceback (most recent call last): File "/root/git/alignak-webui/alignak_webui/backend/datamanager.py", line 259, in find_object result = self.my_backend.get(object_type, params, all_elements) File "/root/git/alignak-webui/alignak_webui/backend/backend.py", line 207, in get raise BackendException(code=e.code, message=e.message) BackendException: Backend error code 1003: Backend HTTPError: <class 'requests.exceptions.HTTPError'> / 401 Client Error: UNAUTHORIZED for url: http://127.0.0.1:5000/host?sort=-ls_state_id%2C+-ls_last_state_changed&max_results=50&where=%7B%22ls_state_id%22%3A+%7B%22%24nin%22%3A+%5B0%2C+4%5D%7D%2C+%22ls_state_type%22%3A+%22HARD%22%2C+%22_is_template%22%3A+false%2C+%22ls_acknowledged%22%3A+false%2C+%22ls_downtimed%22%3A+false%7D&page=0, response: None [2017-10-26 10:10:13,342] ERROR: [alignak_backend_client.client] Backend HTTP error, error: 401 Client Error: UNAUTHORIZED for url: http://127.0.0.1:5000/service?sort=-ls_state_id%2C+-ls_last_state_changed&max_results=50&where=%7B%22ls_state_id%22%3A+%7B%22%24nin%22%3A+%5B0%2C+4%5D%7D%2C+%22ls_state_type%22%3A+%22HARD%22%2C+%22_is_template%22%3A+false%2C+%22ls_acknowledged%22%3A+false%2C+%22ls_downtimed%22%3A+false%7D&page=0&embedded=%7B%22host%22%3A+1%7D [2017-10-26 10:10:13,343] WARNING: [alignak_webui.backend.backend] get, backend exception for service: Backend error code 1003: Backend HTTPError: <class 'requests.exceptions.HTTPError'> / 401 Client Error: UNAUTHORIZED for url: http://127.0.0.1:5000/service?sort=-ls_state_id%2C+-ls_last_state_changed&max_results=50&where=%7B%22ls_state_id%22%3A+%7B%22%24nin%22%3A+%5B0%2C+4%5D%7D%2C+%22ls_state_type%22%3A+%22HARD%22%2C+%22_is_template%22%3A+false%2C+%22ls_acknowledged%22%3A+false%2C+%22ls_downtimed%22%3A+false%7D&page=0&embedded=%7B%22host%22%3A+1%7D, response: None [2017-10-26 10:10:13,343] ERROR: [alignak_webui.backend.datamanager] find_object, exception: Backend error code 1003: Backend HTTPError: <class 'requests.exceptions.HTTPError'> / 401 Client Error: UNAUTHORIZED for url: http://127.0.0.1:5000/service?sort=-ls_state_id%2C+-ls_last_state_changed&max_results=50&where=%7B%22ls_state_id%22%3A+%7B%22%24nin%22%3A+%5B0%2C+4%5D%7D%2C+%22ls_state_type%22%3A+%22HARD%22%2C+%22_is_template%22%3A+false%2C+%22ls_acknowledged%22%3A+false%2C+%22ls_downtimed%22%3A+false%7D&page=0&embedded=%7B%22host%22%3A+1%7D, response: None Traceback (most recent call last): File "/root/git/alignak-webui/alignak_webui/backend/datamanager.py", line 259, in find_object result = self.my_backend.get(object_type, params, all_elements) File "/root/git/alignak-webui/alignak_webui/backend/backend.py", line 207, in get raise BackendException(code=e.code, message=e.message) BackendException: Backend error code 1003: Backend HTTPError: <class 'requests.exceptions.HTTPError'> / 401 Client Error: UNAUTHORIZED for url: http://127.0.0.1:5000/service?sort=-ls_state_id%2C+-ls_last_state_changed&max_results=50&where=%7B%22ls_state_id%22%3A+%7B%22%24nin%22%3A+%5B0%2C+4%5D%7D%2C+%22ls_state_type%22%3A+%22HARD%22%2C+%22_is_template%22%3A+false%2C+%22ls_acknowledged%22%3A+false%2C+%22ls_downtimed%22%3A+false%7D&page=0&embedded=%7B%22host%22%3A+1%7D, response: None [2017-10-26 10:10:13,343] ERROR: [alignak_webui.backend.datamanager] get_services, none found
In the service template table view, it's not possible to go to the service template detail view by clicking on its Service Name nor accessing its base templates detail views by clicking on the Templates column. alignak-webui.log gives :