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

[bitnami/google-cloud-sdk] Google's gsutil still requires python 3.11, only 3.12 is shipped in sdk image #75091

Open
maxyz opened this issue Nov 21, 2024 · 0 comments
Assignees
Labels
google-cloud-sdk in-progress tech-issues The user has a technical issue about an application

Comments

@maxyz
Copy link

maxyz commented Nov 21, 2024

Name and Version

bitnami/google-cloud-sdk:0.489.0

What architecture are you using?

amd64

What steps will reproduce the bug?

Simply running gsutil in the generated container produces:

I have no name!@7f189755450a:/$ gsutil 
Error: gsutil requires Python version 2.7 or 3.5-3.11, but a different version is installed.
You are currently running Python 3.12
Follow the steps below to resolve this issue:
	1. Switch to Python 3.5-3.11 using your Python version manager or install an appropriate version.
	2. If you are unsure how to manage Python versions, visit [https://cloud.google.com/storage/docs/gsutil_install#specifications] for detailed instructions.

What is the expected behavior?

Should be able to run gsutil, or at least other bitnami script should use gsutil.

What do you see instead?

gsutil fails whenever you try to run it.

As a consequence this causes the influx_backup scripts from: https://github.com/bitnami/charts/blob/main/bitnami/influxdb/templates/configmap-backup.yaml

fail to run.

Additional information

This is affecting other charts offered by bitnami.

The last working version is: 0.489.0-debian-12-r0
Still failing in: 0.502.0-debian-12-r0

commit that updates python to 3.12: a5313d5

Alternatively, the influx backup scripts should use gcloud storage rsync instead of gsutil -m resync.

@maxyz maxyz added the tech-issues The user has a technical issue about an application label Nov 21, 2024
@github-actions github-actions bot added the triage Triage is needed label Nov 21, 2024
@javsalgar javsalgar changed the title Google's gsutil still requires python 3.11, only 3.12 is shipped in sdk image [bitnami/google-cloud-sdk] Google's gsutil still requires python 3.11, only 3.12 is shipped in sdk image Nov 25, 2024
@github-actions github-actions bot removed the triage Triage is needed label Nov 25, 2024
@github-actions github-actions bot assigned jotamartos and unassigned javsalgar Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
google-cloud-sdk in-progress tech-issues The user has a technical issue about an application
Projects
None yet
Development

No branches or pull requests

3 participants