Vira Vitanska created DATALAB-2411:
--------------------------------------

             Summary: [Azure][GCP]: Endpoint creation fails on command apt-get 
install -y docker-ce=5:20.10.6~3-0~ubuntu-bionic
                 Key: DATALAB-2411
                 URL: https://issues.apache.org/jira/browse/DATALAB-2411
             Project: Apache DataLab
          Issue Type: Bug
      Security Level: Public (Regular Issues)
          Components: DataLab Main
            Reporter: Vira Vitanska
            Assignee: Leonid Frolov
             Fix For: v.2.5


*Preconditions:*
 # SSN is created

*Steps to reproduce:*
 # Deploy Endpoint on Azure/GCP via Jenkins Job

*Actual result:*
 # Endpoint creation fails

{code:java}
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"{code}
*Expected result:*
 # Endpoint creation is successfully



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to