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

Failed to install gcloud on latest ubuntu machine executor #82

Open
yz89122 opened this issue Apr 2, 2024 · 1 comment
Open

Failed to install gcloud on latest ubuntu machine executor #82

yz89122 opened this issue Apr 2, 2024 · 1 comment
Assignees

Comments

@yz89122
Copy link

yz89122 commented Apr 2, 2024

Orb version

circleci/gcp-cli@3.1.0

machine image: ubuntu-2204:2024.03.1(from ubuntu-2204:edge) and ubuntu-2004:2024.03.1(from: ubuntu-2004:edge)

What happened

Installation failed.

error message:

The version installed (470.0.0) matches the version requested (470.0.0).
Skipping installation.

ERROR: (gcloud.components.install) You cannot perform this action because you do not have permission to modify the Google Cloud SDK installation directory [/opt/google/google-cloud-sdk].

Re-run the command with sudo: sudo /opt/google/google-cloud-sdk/bin/gcloud ...

Exited with code exit status 1

We were trying to install a gcloud plugin (gcloud component install ...).

Currently we use this orb with workaround sudo chown circleci:circleci -R /opt/google.

Expected behavior

Installation succeeded.

@michaelrode
Copy link

I am having the same issue

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

3 participants