Skip to content
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

Getting the error - module 'OpenSSL.crypto' has no attribute 'sign' #38

Open
sabumars opened this issue Dec 11, 2024 · 4 comments
Open

Comments

@sabumars
Copy link

After the change made in this repo to update to DockerFIle
FROM google/cloud-sdk:503.0.0-alpine

We are getting the below error while using this action - actions-hub/gcloud@master

Detect credentials from previous session...
APPLICATION_CREDENTIALS found. Setting up a credentials....
APPLICATION_CREDENTIALS is Base64 Encoded
Activated service account credentials for: [***[email protected]]
Previous project id not detected
Updated property [core/project].
module 'OpenSSL.crypto' has no attribute 'sign'
##[debug]Docker Action run completed with exit code 1

@so-richard-atkins
Copy link

We have also encountered the exact same issue from 11 Dec 2024 11:03:02 GMT

@surindersutherland
Copy link

We are facing the same issue and are looking for a solution. For now, we have started using the previous version, 502. If anyone finds a solution to this, please let me know. Thanks

@so-richard-atkins
Copy link

@surindersutherland , incase this is useful to you, we were using github workflow actions for gsutil to copy code to GCS buckets and have decided to work around this problem by refactoring the workflow actions YAML to the following example, which has both got around the problem and reduced the lines of YAML (previously each folder copy statement included the secret, and this new version does not). Would be better to use workload identity, so that's next on the list;

    - name: Checkout
      uses: actions/checkout@v4

    - name: gcp authenticate
      uses: 'google-github-actions/auth@v2'
      with:
        project_id: ${{ PROJECT_ID }}
        credentials_json: ${{ CREDENTIAL_JSON }}

    - name: copy-folder-name-to-composer
      run: |
        gcloud storage rsync folder_name gs://${{ DAG_BUCKET }}/remote_path --recursive --delete-unmatched-destination-objects

@exelban
Copy link
Member

exelban commented Dec 16, 2024

hi. It's a question to google base image. This action is only a wrapper for their image. If someone know the workaround for that I can accept a fix for that. But have no idea what causing this type of problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants