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 · 0 comments
Open

Failed to install gcloud on latest ubuntu machine executor #82

yz89122 opened this issue Apr 2, 2024 · 0 comments

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.

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

1 participant