Uploaded image for project: 'Apache DataLab (Retired)'
  1. Apache DataLab (Retired)
  2. DATALAB-2411

[Azure][GCP]: Endpoint creation fails on command apt-get install -y docker-ce=5:20.10.6~3-0~ubuntu-bionic

ResolvedReopenedClosedVerifiedBlockedon hold
    XMLWordPrintableJSON

Details

    Description

      Preconditions:

      1. SSN is created

      Steps to reproduce:

      1. Deploy Endpoint on Azure/GCP via Jenkins Job

      Actual result:

      1. 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:

      1. Endpoint creation is successfully

      Attachments

        Issue Links

          Activity

            People

              lfrolov Leonid Frolov
              vvitanska Vira Vitanska
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: