auth
auth copied to clipboard
Error using auth@v0 - gcloud cant find `OPENSSL_1_1_1'
TL;DR
deploying with:
- name: Registry Setup
uses: "google-github-actions/auth@v0"
but when I use action setup-gcloud@v0
it works fine.
Expected behavior
gcloud library finds openssl library
Observed behavior
No response
Action YAML
jobs:
build-integration:
name: Build Container Image
runs-on: ubuntu-20.04
steps:
- name: Checkout Service
uses: actions/checkout@main
- name: Checkout Shared Actions
uses: actions/checkout@main
- name: Registry Setup
uses: "google-github-actions/auth@v0"
with:
credentials_json: "${{secrets.GCLOUD_SERVICE_ACCOUNT_KEY}}"
Log output
Building my_service
ERROR: gcloud failed to load: /tmp/_MEI6FB4SA/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/python3.8/lib-dynload/_ssl.cpython-38-x86_64-linux-gnu.so)
gcloud_main = _import_gcloud_main()
import googlecloudsdk.gcloud_main
from googlecloudsdk.calliope import cli
from googlecloudsdk.calliope import backend
from googlecloudsdk.calliope import parser_extensions
from googlecloudsdk.core.updater import update_manager
from googlecloudsdk.core.updater import installers
from googlecloudsdk.core import requests as core_requests
import httplib2
from httplib2.python3.httplib2 import *
import ssl
import _ssl # if we can't import it, let the error propagate
This usually indicates corruption in your gcloud installation or problems with your Python interpreter.
Please verify that the following is the path to a working Python 2.7 or 3.5+ executable:
/usr/bin/python3
If it is not, please set the CLOUDSDK_PYTHON environment variable to point to a working Python 2.7 or 3.5+ executable.
If you are still experiencing problems, please reinstall the Cloud SDK using the instructions here:
https://cloud.google.com/sdk/
Additional information
No response
Hi there @ovnicraft :wave:!
Thank you for opening an issue. Our team will triage this as soon as we can. Please take a moment to review the troubleshooting steps which lists common error messages and their resolution steps.
Hi @ovnicraft
Please share your complete action.yml. The file you provided doesn't have gcloud, but the error message has gcloud.
Hi @sethvargo here is my complete action https://gist.github.com/ovnicraft/96bf3e54dfeb77b324e2fdb3c06fe42a
And what is the action that "works"? If you are using gcloud commands in your scripts, you still need to use setup-gcloud
to install and configure gcloud.
I tried this https://gist.github.com/ovnicraft/96bf3e54dfeb77b324e2fdb3c06fe42a#file-deploy-yaml-L33 but still failing
What works is the same yaml without auth@v0
The error is coming from gcloud though, not auth
. The error message you shared above is gcloud.
If I dont use @.*** to auth, only setup-gcloud it works.
I tried with use @.*** and setup-gcloud and still getting the error message
On Mon, 12 Sep 2022 at 21:39 Seth Vargo @.***> wrote:
And what is the action that "works"? If you are using gcloud commands in your scripts, you still need to use setup-gcloud to install and configure gcloud.
— Reply to this email directly, view it on GitHub https://github.com/google-github-actions/auth/issues/224#issuecomment-1244822681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAHUMT65JRTWOY4CJUXGSTV57SNRANCNFSM6AAAAAAQK4NOTM . You are receiving this because you were mentioned.Message ID: @.***>
-- Sent from Gmail Mobile
This is not an issue with the auth
action. Please open an issue on setup-gcloud or with the Cloud SDK team if this issue is still happening.