Containers and Orchestration - Crash with API key when deleting node pool
... / Crash with API key when d...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Crash with API key when deleting node pool

Von
XuanD
Erstellungsdatum 2023-07-27 14:30:18 (edited on 2024-09-04 14:25:42) in Containers and Orchestration

Good morning,

When I run a python script with the API to delete the node pool of a specific cluster I get the following error:

Traceback (most recent call last):
File "", line 32, in
function(delete=True)
File "", line 28, in function
result_shutdown = client.delete(f"/cloud/project/(project)/kube/(cluster)/nodepool/{str_id}" )
File "\AppDataData LocalPackagesPythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0LocalCachelocal-packagesPython310site-packagesovhient.py", line 408, in delete
return self.call("DELETE", _target, None, _need_auth)
File " AppDataLocalPackagesPythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0LocalCache_local-packagesPython310site-packagesPackages\ovh\client.py", line 465, in call
raise BadParametersError(json_result.get("message"), response=result)
ovh.exceptions.BadParametersError: Invalid signature
OVH-Query-ID: EU.ext-2.64c22f36.24063.bb5d5176148d2297b84d50ba25467362


It seems to be an API Key permissions problem, but we have generated it with global permissions. I also send you the API Key data in case you can check that it is correctly generated.

Any suggest? Thanks