Describe the bug
Local renku docker session fails to start - apparently an issue with requesting too many 'nano_cpus', not sure what this is.
Renku version: 1.8.1
OS: Linux (#1 SMP PREEMPT_DYNAMIC Wed Oct 26 15:55:21 UTC 2022)
Python: 3.10.7
Traceback
Traceback (most recent call last):
File "[...]/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "[...]/renku/ui/cli/session.py", line 222, in start
session_start_command()
File "[...]/renku/command/command_builder/command.py", line 252, in execute
output = self._operation(*args, **kwargs) # type: ignore
File "[...]/renku/core/session/session.py", line 107, in session_start
session_name = provider_api.session_start(
File "[...]/renku/core/session/docker.py", line 150, in session_start
resource_requests["nano_cpus"] = int(cpu_request * 10**9)
ValueError: Exceeds the limit (4300) for integer string conversion: value has 1000000000 digits
Additional context
If you go to line 150 in docker.py and change:
resource_requests["nano_cpus"] = int(cpu_request * 10**9)
for
resource_requests["nano_cpus"] = int(4300)
The container will start up fine and seems to work no issue - obviously this hack is not a long-term solution though.
Describe the bug
Local renku docker session fails to start - apparently an issue with requesting too many 'nano_cpus', not sure what this is.
Renku version: 1.8.1
OS: Linux (#1 SMP PREEMPT_DYNAMIC Wed Oct 26 15:55:21 UTC 2022)
Python: 3.10.7
Traceback
Additional context
If you go to line 150 in docker.py and change:
resource_requests["nano_cpus"] = int(cpu_request * 10**9)for
resource_requests["nano_cpus"] = int(4300)The container will start up fine and seems to work no issue - obviously this hack is not a long-term solution though.