docker-credential-gcloud + gcloud 298.0.0 + ubuntu-18.04: "OPENSSL_1_1_1 not found" error
See original GitHub issueTL;DR
Using GoogleCloudPlatform/github-actions/setup-gcloud@master
with ubuntu-latest
. Builds suddenly started failing overnight due to docker-credential-gcloud
throwing a version OPENSSL_1_1_1' not found
error.
Expected behavior
docker-credentials-gcloud should allow me to pull an image from my gcp repo
Observed behavior
docker-credentials-gcloud fails complaining about version OPENSSL_1_1_1' not found
and build fails.
https://github.com/austinpray/kaori/pull/134/checks?check_run_id=814820107#step:6:90
ERROR: gcloud failed to load: /tmp/_MEIhQjalI/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so)
👉 Reverting to version 297.0.1
as in https://github.com/austinpray/kaori/pull/133 makes the build pass again.
Reproduction
Here is me fixing it by pinning the gcloud version to an older one: https://github.com/austinpray/kaori/pull/133
Here is me reproducing the issue by unpinning the version: https://github.com/austinpray/kaori/pull/134 (https://github.com/austinpray/kaori/pull/134/checks?check_run_id=814820107#step:6:90)
Current runner version: '2.263.0'
Operating System
Ubuntu
18.04.4
LTS
Virtual Environment
Environment: ubuntu-18.04
Version: 20200621.1
Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20200621.1/images/linux/Ubuntu1804-README.md
Action YAML
name: CI
on:
push:
branches: [ master ]
paths-ignore:
- workloads/**
- fluxcd/**
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
with:
project_id: ${{ secrets.GCLOUD_PROJECT_ID }}
service_account_key: ${{secrets.GOOGLE_APPLICATION_CREDENTIALS}}
export_default_credentials: true
- run: gcloud auth configure-docker
- name: Create a .env file
env:
SLACK_API_TOKEN: ${{secrets.SLACK_API_TOKEN}}
SLACK_SIGNING_SECRET: ${{secrets.SLACK_SIGNING_SECRET}}
SLACK_VERIFICATION_TOKEN: ${{secrets.SLACK_VERIFICATION_TOKEN}}
GCLOUD_SERVICE_ACCOUNT_INFO: ${{secrets.GCLOUD_SERVICE_ACCOUNT_INFO}}
IMAGES_BUCKET_GCLOUD: ${{secrets.IMAGES_BUCKET_GCLOUD}}
run: ./scripts/create-dotenv-from.py .env.example > .env
- name: Build the Docker image
run: |
docker pull $CACHE_FROM_IMAGE || true
make
env:
CACHE_FROM_IMAGE: us.gcr.io/${{secrets.GCLOUD_PROJECT_ID}}/kaori/kaori:master
- name: Run the tests
run: ./tests/run.sh
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run the card sim
run: make test-sims
- name: Push to GCR
if: github.ref == 'refs/heads/master'
run: |
docker tag austinpray/kaori/kaori us.gcr.io/${{secrets.GCLOUD_PROJECT_ID}}/kaori/kaori:master-${{github.sha}}
docker tag austinpray/kaori/kaori us.gcr.io/${{secrets.GCLOUD_PROJECT_ID}}/kaori/kaori:master
docker push us.gcr.io/${{secrets.GCLOUD_PROJECT_ID}}/kaori/kaori:master
docker push us.gcr.io/${{secrets.GCLOUD_PROJECT_ID}}/kaori/kaori:master-${{github.sha}}
Repository
https://github.com/austinpray/kaori/pull/133
If you want temporary access to this repo for debugging and such: I can give it to you. This is just a silly side project.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:46
- Comments:54 (7 by maintainers)
Confirming that this issue also exists in Ubuntu 20.04 with gcloud version 301.0.0.
To fix:
The magical incantation
as described above, worked for me.