truenas-csp icon indicating copy to clipboard operation
truenas-csp copied to clipboard

Error API authenticate to TrueNAS SCALE

Open muhammadnourmanhadi opened this issue 6 months ago • 7 comments

Hi, I got error in TrueNAS SCALE Dragonfish-24.04.2 and RKE2 with Kubernetes Version: v1.28.11 follow completely guide, but authenticate not allowed, i check in truenas Audit, every Event Credentials: API Key get Error: Null

TrueNAS Event Data like this: Credentials: Credentials: API_KEY Credentials Data: Api Key: xxxx Error: Null

then I check log hpe-csi-controller got: 2024-08-11T00:02:08.549368797+07:00 I0810 17:02:08.549323 1 controller.go:848] CreateVolume failed, supports topology = false, node selected false => may reschedule = false => state = Finished: rpc error: code = Internal desc = Failed to create volume pvc-c54b671c-1567-47e1-bcf8-b5816d54a146, Request failed with status code 500 and errors Error code (Bad Request) and message (TrueNAS API returned: { 2024-08-11T00:02:08.549373663+07:00 "path": [ 2024-08-11T00:02:08.549376847+07:00 { 2024-08-11T00:02:08.549382731+07:00 "message": "null not allowed", 2024-08-11T00:02:08.549386074+07:00 "errno": 22 2024-08-11T00:02:08.549389149+07:00 } 2024-08-11T00:02:08.549392215+07:00 ] 2024-08-11T00:02:08.549395239+07:00 })

I dont now to resolve this issue, can i get help? thank you

muhammadnourmanhadi avatar Aug 10 '24 17:08 muhammadnourmanhadi