Error using [email protected] - gcloud cant find `OPENSSL_1_1_1'

This issue has been tracked since 2022-09-12.

TL;DR

deploying with:

      - name: Registry Setup
        uses: "google-github-actions/[email protected]"

but when I use action [email protected] 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/[email protected]
      - name: Checkout Shared Actions
        uses: actions/[email protected]
      - name: Registry Setup
        uses: "google-github-actions/[email protected]"
        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

github-actions[bot] wrote this answer on 2022-09-26

Hi there @ovnicraft 👋!

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.

sethvargo wrote this answer on 2022-09-26

Hi @ovnicraft

Please share your complete action.yml. The file you provided doesn't have gcloud, but the error message has gcloud.

ovnicraft wrote this answer on 2022-09-26
sethvargo wrote this answer on 2022-09-26

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.

ovnicraft wrote this answer on 2022-09-26
sethvargo wrote this answer on 2022-09-26

The error is coming from gcloud though, not auth. The error message you shared above is gcloud.

ovnicraft wrote this answer on 2022-10-11
sethvargo wrote this answer on 2022-11-08

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.

More Details About Repo
Owner Name google-github-actions
Repo Name auth
Full Name google-github-actions/auth
Language TypeScript
Created Date 2021-09-16
Updated Date 2023-03-24
Star Count 573
Watcher Count 16
Fork Count 116
Issue Count 3

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date