Open pimvandenbroek opened 12 hours ago
When using GS_CREDENTIALS: service_account.Credentials.from_service_account_file('/path/to/credentials.json')
I see this error:
Server Error
There was a problem with your request. Please contact an administrator.
The complete exception is provided below:
<class 'ValueError'>
This library only supports credentials from google-auth-library-python. See https://google-auth.readthedocs.io/en/latest/ for help on authentication with this library.
Python version: 3.12.3
NetBox version: 4.1.4
Plugins: None installed
Thanks for filing this issue, @pimvandenbroek.
- Jumped into the netbox-pod, and did the same. This also worked fine
- Created a django app, purely for uploading a file to gcloud storage. I had to add
GOOGLE_APPLICATION_CREDENTIALS
instead ofGS_CREDENTIALS
. After that file upload worked perfectly.
As far as I can understand from here, this is not related to the Helm chart per se, right? If so, I'd recommend opening a case to the related project, NetBox in that case, I guess.
The Helm chart version
netbox-5.0.0-beta.132
Environment Versions
Custom chart values
Current Behavior & Steps to Reproduce
When uploading a file, you'll get:
Expected Behavior
I expect that files were uploaded to GCS.
Multiple tests were done:
GOOGLE_APPLICATION_CREDENTIALS
instead ofGS_CREDENTIALS
. After that file upload worked perfectly.NetBox Logs
No response