[os-google-cloud-sdk-1.0_1] gcloud sdk 537.0.0 broken in opnsense 25.7.3_7
Important notices Before you add a new report, we ask you kindly to acknowledge the following:
- [X] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- [X] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- [X] The title contains the plugin to which this issue belongs
Describe the bug
just enabling gcloud sdk in the root shell creates error
`# /usr/local/bin/gcloud --quiet config set project <project Name> /usr/local/bin/gcloud: Command not found. root@OPNsense:~ # /usr/local/bin/gcloud --quiet config set project <project Name> ERROR: gcloud failed to load. 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 3.9-3.13 executable: /usr/local/bin/python3
If it is not, please set the CLOUDSDK_PYTHON environment variable to point to a working Python executable.
If you are still experiencing problems, please reinstall the Google Cloud CLI using the instructions here: https://cloud.google.com/sdk/docs/install
Traceback (most recent call last):
File "/usr/local/bin/../google-cloud-sdk/lib/gcloud.py", line 110, in gcloud_exception_handler
yield
File "/usr/local/bin/../google-cloud-sdk/lib/gcloud.py", line 187, in main
gcloud_main = _import_gcloud_main()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/../google-cloud-sdk/lib/gcloud.py", line 90, in _import_gcloud_main
import googlecloudsdk.gcloud_main
File "/usr/local/bin/../google-cloud-sdk/lib/googlecloudsdk/gcloud_main.py", line 34, in
I have already tried to remove and re-install the sdk plugin twice and still get the same error
this instance was upgraded from 24.7 to 25.7 going thru all stages of updates and reboots in a back to back upgrade scenario
Environment Opnsense Details:
| Type | opnsense | |
|---|---|---|
| Version | 25.7.3_7 | |
| Architecture | amd64 | |
| Commit | 13101bd9a | |
| Mirror | https://mirror.sfo12.us.leaseweb.net/opnsense/FreeBSD:14:amd64/25.7 | |
| Repositories | OPNsense (Priority: 11), mimugmail (Priority: 5) | |
| Updated on | Sat Sep 20 21:43:21 UTC 2025 |