plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[os-google-cloud-sdk-1.0_1] gcloud sdk 537.0.0 broken in opnsense 25.7.3_7

Open paragm opened this issue 3 months ago • 0 comments

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 from googlecloudsdk.calliope import base File "/usr/local/bin/../google-cloud-sdk/lib/googlecloudsdk/calliope/base.py", line 30, in from googlecloudsdk.calliope import arg_parsers File "/usr/local/bin/../google-cloud-sdk/lib/googlecloudsdk/calliope/arg_parsers.py", line 64, in from googlecloudsdk.core import log File "/usr/local/bin/../google-cloud-sdk/lib/googlecloudsdk/core/log.py", line 32, in from googlecloudsdk.core import properties File "/usr/local/bin/../google-cloud-sdk/lib/googlecloudsdk/core/properties.py", line 35, in from googlecloudsdk.core.util import encoding File "/usr/local/bin/../google-cloud-sdk/lib/googlecloudsdk/core/universe_descriptor/universe_descriptor.py", line 44, in from googlecloudsdk.core.console import console_io File "/usr/local/bin/../google-cloud-sdk/lib/googlecloudsdk/core/console/console_io.py", line 88, in _CONSOLE_WIDTH = console_attr.GetConsoleAttr().GetTermSize()[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/bin/../google-cloud-sdk/lib/googlecloudsdk/core/console/console_attr.py", line 691, in GetConsoleAttr attr = ConsoleAttr(encoding=encoding, term=term) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/bin/../google-cloud-sdk/lib/googlecloudsdk/core/console/console_attr.py", line 290, in init is_screen_reader = properties.VALUES.accessibility.screen_reader.GetBool() ^^^^^^^^^^^^^^^^^ AttributeError: partially initialized module 'googlecloudsdk.core.properties' has no attribute 'VALUES' (most likely due to a circular import)`

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

paragm avatar Sep 20 '25 23:09 paragm