-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
False
-
None
-
False
-
-
Release Notes
-
No
-
-
-
-
-
-
No
-
-
Documented as Resolved Issue
-
Yes
-
Pending
-
None
-
Critical
Description of problem:
After triggering the GPU addon installation, JH starts showing this error:
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- install RHODS
- Launch JupyterHub
- check you can see the images in JH spawner page
- trigger GPU Addon installation
- go back to JH spawner page (maybe wait some minutes and/or refresh the page)
Actual results:
JH spawner page does not show notebook images but an error message saying "Unable to load notebook server configuration options"
Expected results:
JH spawner page lets users spawn images
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
RHODS v1.14
OSD 4.11
Workaround:
None
Additional info:
[2022-08-03 16:27:41,262] ERROR in app: Exception on /services/jsp-api/api/ui/config [GET] Traceback (most recent call last): File "/opt/app-root/lib64/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "/opt/app-root/lib64/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "/opt/app-root/lib64/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File "/opt/app-root/lib64/python3.8/site-packages/flask/_compat.py", line 39, in reraise raise value File "/opt/app-root/lib64/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/opt/app-root/lib64/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/opt/app-root/lib64/python3.8/site-packages/connexion/decorators/decorator.py", line 68, in wrapper response = function(request) File "/opt/app-root/lib64/python3.8/site-packages/connexion/decorators/uri_parsing.py", line 149, in wrapper response = function(request) File "/opt/app-root/lib64/python3.8/site-packages/connexion/decorators/parameter.py", line 115, in wrapper return function(**kwargs) File "/opt/app-root/lib64/python3.8/site-packages/jupyterhub_singleuser_profiles/api/api.py", line 54, in decorated return f(user=user, *args, **kwargs) File "/opt/app-root/lib64/python3.8/site-packages/jupyterhub_singleuser_profiles/api/api.py", line 91, in get_ui_config cm = _PROFILES.get_ui_configuration() File "/opt/app-root/lib64/python3.8/site-packages/jupyterhub_singleuser_profiles/profiles.py", line 144, in get_ui_configuration return ui.validate_ui_cm() File "/opt/app-root/lib64/python3.8/site-packages/jupyterhub_singleuser_profiles/ui_config.py", line 128, in validate_ui_cm self.ui_cfg['gpuConfig']['clusterGpuCount'] = self.openshift.get_gpu_number() File "/opt/app-root/lib64/python3.8/site-packages/jupyterhub_singleuser_profiles/openshift.py", line 206, in get_gpu_number headers={"Authorization": "Bearer " + self.get_openshift_prometheus_token()}, File "/opt/app-root/lib64/python3.8/site-packages/jupyterhub_singleuser_profiles/openshift.py", line 170, in get_openshift_prometheus_token token_secret_name = [s for s in service_account.secrets if 'token' in s.name][0].name IndexError: list index out of range
- is duplicated by
-
RHODS-4820 GPU Addon installation makes JH unable to spawn images
- Closed