Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
Security Level: Public (Regular Issues)
-
Apache DataLab release 2.5
Description
Preconditions:
- SSN is created
Steps to reproduce:
- Deploy Endpoint on Azure/GCP via Jenkins Job
Actual result:
- Endpoint creation fails
eading state information... E: Version '5:20.10.6~3-0~ubuntu-bionic' for 'docker-ce' was not found --- Logging error --- Traceback (most recent call last): File "/var/lib/jenkins/workspace/DLAB-Azure-deploy-endpoint/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py", line 235, in ensure_docker_endpoint .format(args.docker_version)) File "<decorator-gen-4>", line 2, in sudo File "/var/lib/jenkins/workspace/DLAB-Azure-deploy-endpoint/venv/lib/python3.7/site-packages/fabric/connection.py", line 30, in opens return method(self, *args, **kwargs) File "/var/lib/jenkins/workspace/DLAB-Azure-deploy-endpoint/venv/lib/python3.7/site-packages/fabric/connection.py", line 716, in sudo return self._sudo(self._remote_runner(), command, **kwargs) File "/var/lib/jenkins/workspace/DLAB-Azure-deploy-endpoint/venv/lib/python3.7/site-packages/invoke/context.py", line 212, in _sudo return runner.run(cmd_str, watchers=watchers, **kwargs) File "/var/lib/jenkins/workspace/DLAB-Azure-deploy-endpoint/venv/lib/python3.7/site-packages/invoke/runners.py", line 271, in run return self._run_body(command, **kwargs) File "/var/lib/jenkins/workspace/DLAB-Azure-deploy-endpoint/venv/lib/python3.7/site-packages/invoke/runners.py", line 404, in _run_body raise UnexpectedExit(result) invoke.exceptions.UnexpectedExit: Encountered a bad command exit code! Command: "sudo -S -p '[sudo] password: ' apt-get install -y docker-ce=5:20.10.6~3-0~ubuntu-bionic"
Expected result:
- Endpoint creation is successfully
Attachments
Issue Links
- links to