-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
Open Data Hub Sprint 12, Open Data Hub Sprint 13
allocatable: cpu: "94" ephemeral-storage: "1519561896383" hugepages-1Gi: "0" hugepages-2Mi: "0" memory: "381935474387" pods: "250"
JupyterHub fails when attempting to spawn a new notebook if one of the nodes does not have a unit attached to the memory. In the above code snippet, you can see "memory" is just an int.
This function fails: https://github.com/red-hat-data-services/jupyterhub-singleuser-profiles/blob/master/jupyterhub_singleuser_profiles/openshift.py#L150
12:34
Specifically, line 157 - memory isn’t set
The JSP code needs to be updated to have a case for when there isn't a unit
cc maros.roman