Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
-
Security Level: Public (Regular Issues)
-
Apache DataLab release 2.5.1
Description
- Preconditions:
- Project is created on GCP
Steps to reproduce:
- Create Zeppelin/Rstudio/TensorFlow/Jupyter
Actual result:
- Instance creation fails
update-alternatives --query java | grep -o --color=never '/.*/java-8.*/jre' --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.8/datalab/fab.py", line 1020, in configure_jupyter java_home = conn.run("update-alternatives --query java | grep -o --color=never \'/.*/java-8.*/jre\'").stdout.splitlines()[0] File "<decorator-gen-3>", line 2, in run File "/usr/local/lib/python3.8/dist-packages/fabric/connection.py", line 30, in opens return method(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/fabric/connection.py", line 723, in run return self._run(self._remote_runner(), command, **kwargs) File "/usr/local/lib/python3.8/dist-packages/invoke/context.py", line 102, in _run return runner.run(command, **kwargs) File "/usr/local/lib/python3.8/dist-packages/invoke/runners.py", line 380, in run return self._run_body(command, **kwargs) File "/usr/local/lib/python3.8/dist-packages/invoke/runners.py", line 442, in _run_body return self.make_promise() if self._asynchronous else self._finish() File "/usr/local/lib/python3.8/dist-packages/invoke/runners.py", line 509, in _finish raise UnexpectedExit(result) invoke.exceptions.UnexpectedExit: Encountered a bad command exit code!
Expected result:
- Instance creation is successful