-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-credential-gcloud + gcloud 298.0.0 + ubuntu-18.04: "OPENSSL_1_1_1 not found" error #128
Comments
Same here. When running docker-compose with latest google SDK, showing the similiar message when pulling base image from gcr. |
Hi @austinpray |
I tried a minimal repro here based on actions/runner-images#1106 which seemed to work with |
* Initial Workflows integration * Add make init * Remove make init * Secret migration * Secret migration 2 * Secret migration 3 * Secret migration 4 * Secret migration 5 * Secret migration 6 * Secret migration 7 * Secret migration 8 * Add Docker client step * Add Docker client step 2 * Add Docker client step 3 * Add Docker client step 4 * Add Docker client step 5 * Add Docker client step 6 * Add Docker client step 7 * Add Docker client step 8 * Add Docker client step 9 * Add Docker client step 10 * Add Docker client step 11 * Add Docker client step 12 * Add Docker client step 13 * Add Docker client step 14 * Add Docker client step 15 * Add Docker client step 16 * Add Docker client step 17 * Add Docker client step 18 * Add Docker client step 19 * Add Docker client step 20 * Add Docker client step 21 * Add Docker client step 22 * Add Docker client step 23 * Add Docker client step 24 * Add Docker client step 25 * Add Docker client step 26 * Add Docker client step 27 * Add Docker client step 28 * Setup AWS tests 1 * Setup AWS tests 2 * Setup AWS tests 3 * Add AWS and Artifactory 3 * Add AWS and Artifactory 4 * Add AWS and Artifactory 5 * Add AWS and Artifactory 6 * Add AWS and Artifactory 7 * Add AWS and Artifactory 8 * Add AWS and Artifactory 9 * Add AWS and Artifactory 10 * Add AWS and Artifactory 11 * Add AWS and Artifactory 12 * Add AWS and Artifactory 13 * Add AWS and Artifactory final * Add AWS and Artifactory final * Add AWS and Artifactory - remove debug output * Address code review comments * Put GKE auth back * Pin gcloud tools version to fix an error See google-github-actions/setup-gcloud#128 * Disable GKE login once again * Enable GKE login for good * Remove test and replace it with aws_test
Same issue. 298 did not seem to work for me. 297.0.01 worked. |
Confirming that this issue also exists in Ubuntu 20.04 with gcloud version 301.0.0. To fix:
|
Confirming that the original sighting of this still happens on the latest runner: https://github.com/austinpray/kaori/runs/869998041?check_suite_focus=true#step:6:84
Results in gcloud version |
This temporary workaround also works on Ubuntu Server 18.04.4. |
What worked for us was to use the env var:
|
Ran into this error as well on Ubuntu 18.04.4 LTS |
I get this error when, for example, I execute docker-compose build, but if I exectue this command with sudo it works. |
I also got the OPENSSL_1_1_1 error when executing System information:
|
@jtrh getting the same error as you while doing System info:
EDIT: this fixed it for me openssl/openssl#5845 (comment) |
I was having this problem using the My workaround was changing the docker-compose install method from the one recommended on the CircleCI docs to:
|
Hi @austinpray |
@bharathkkb sure thing! here is the output gcloud info output
@bharathkkb I did notice that you were using |
Thanks @austinpray! I just saw the |
Thank you @sorliem. The solution you linked also worked for me (gcloud version 304). Also remark that adding LD_LIBRARY_PATH=/usr/local/lib; in the command line didn't worked. Variable has to be exported. |
I was able to reproduce this here. I was also able to fix it with the temporary workaround from openssl/openssl#5845 (comment) suggest by @sorliem. I will continue to look into a possible long term fix. |
|
I do not know if this is helpful if not excuse me: the same just happened to me after upgrading to 305.0.0. I am not sure what version I was running before but it was certainly 30x. Running Ubuntu 20.04 LTS. Exact error message below:
|
I got the same error on Ubuntu 18.04 and
|
Thanks @sorliem gcloud -v lsb_release --all docker-compose version python --version |
Why is |
I can confirm that @bharathkkb workaround mentioned with the By the way, to make things a bit harder to debug,I am using https://github.com/asdf-vm/asdf to install my stuff.
So with
|
Seeing this in Linux odin 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux Forced to revert back to python2. |
I've started getting this after updating docker-compose on my machine. It happens if I run I was previously on a much older version of docker-compose, which worked. I can't remember which version, but it might have been installed as long ago as 2017. EDIT: Error:
The above is truncated. Full error here. Relevant versions:
I assume the Python executable being used is the one in
|
The magical incantation export LD_LIBRARY_PATH=/usr/local/lib as described above, worked for me. |
Same problem here. Is there any known fix for the gihub action as described by the OP ? |
I had the exact same problem. The above mentioned export worked for me. Ubuntu 20.04 Thanks |
For
It would be great to not be stuck on 297.0.1 forever, the latest version at the time of writing is 324.0.0, any chances of an upstream fix? |
With newest version of gcloud (326.0.0) this no longer works :( |
Same problem here. |
Hi @vicpara @jacek-jablonski I ran a quick test with 327 which seemed to work with the workaround https://github.com/bharathkkb/test-setup-gcloud-128/runs/1876995207 Could you share how it failed in your case? |
@bharathkkb The issue I have with this new version is that it breaks Here is my use case below. build-deploy:
needs: bump-version
name: "Build and Deploy"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup GCP credentials
uses: google-github-actions/setup-gcloud@master
with:
project_id: ${{ secrets.GCLOUD_PROJECT_ID }}
service_account_key: ${{ secrets.GCP_SA_KEY_JSON }}
export_default_credentials: true
- name: Docker pull
run: |
gcloud auth configure-docker
docker-compose pull
The error I get is:
|
Linux Mint 20.10 This is the cure in combination with |
297.0.1 for arm64 doesn't seem to be available via apt-get anymore... 340.0.0-0 works with
|
None of the solutions mentioned above helped me. Before finally finding my own workaround, I tried:
For anyone using WSL, and probably future me: What eventually helped me was realizing that because my Ubuntu runs I cloned my repo to Windows filesystem, installed |
Debian 10 here, with gcloud |
#128 (comment) |
I ran into this issue when running docker-compose in a GCP VM instance running Debian 10. Downgrading to Debian 9 resolved the issue. |
FYI Today I removed the v297.0.1 workaround mentioned here, and things are once again working on the latest version of ubuntu & glcoud; I also moved to the new |
Just happened with github actions ubuntu:latest and command |
Everyone here put their lucky number with this sdk. i will start from the most like answer |
Thanks for the solutions posted in the comments. In my case, what worked (gcloud sdk version from ~1st of October 2021) with Ubuntu 20.04 that had Python 3.8 installed, was:
Tried with to python 3 path but was still giving me the OPENSSL_1_1_1 not found error, but pinning/forcing to Python 2 is so far working without issues. |
I tried with
I fixed with authentication in gcloud withoud sudo:
Then, I could do: |
It also happened to me with Linux (Ubuntu 20.04) and it was related with sudo configuration. I solved with Even if I make a |
Just ran into this today and the previously suggested fixes didn't work for me. I ended up re-installing Config:
|
Hi folks - given Python 2 is deprecated, I'm going to close out this issue. |
TL;DR
Using
GoogleCloudPlatform/github-actions/setup-gcloud@master
withubuntu-latest
. Builds suddenly started failing overnight due todocker-credential-gcloud
throwing aversion 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
👉 Reverting to version
297.0.1
as in austinpray/kaori#133 makes the build pass again.Reproduction
Here is me fixing it by pinning the gcloud version to an older one: austinpray/kaori#133
Here is me reproducing the issue by unpinning the version: austinpray/kaori#134 (https://github.com/austinpray/kaori/pull/134/checks?check_run_id=814820107#step:6:90)
Action YAML
Repository
austinpray/kaori#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.
The text was updated successfully, but these errors were encountered: