02 Dec 2025 04:29 PM
Hello,
After uploading the updated extension code to my custom extension, the credential vault option became present and selectable via the monitoring configuration. As a validation step, we added a XenServer API monitoring configuration using the credential vault option, and it appeared to be working initially, as the monitoring configuration status changed to green "ok" after a few polls. However, despite the green status, we are no longer receiving metrics.
Upon checking the logs, I found the following error message:
[61f43d9f-53ca-3e03-a62a-acc876cb84b1][-542188324307228975][1873736][err]2025-11-26 13:15:17,470 [ERROR] xensrvapi (ThreadPoolExecutor-0_1): Credential vault is enabled, but no 'user'/'password' were found in the endpoint config. url=http://ctxtcxen21801.centene.com, credentialVaultId=CREDENTIALS_VAULT-40C31E575865F112. Either disable 'Use credential vault' and enter credentials manually, or verify how vault injection is configured for Python extensions in your environment.
I did some research on the web and consulted ChatGPT regarding the error. Attached is the response from ChatGPT. Looking for some validation on determine if ChatGPT response is correct regarding the platform limitation.
Any help would be greatly appreciated.
Thank You!
03 Dec 2025 02:23 AM
Hello,
ChatGPT is not correct, this is supported but the python code must be ready to accept the credential vault credentials.
They come as fields called "username" and "password", in the same level where the "credential" property is setup in the activation schema json.
It is hard to say what is happening without the code and the activation schema json file. But it is likely that the python code is not handling the case where the credentials are put in the username and password fields, which happens when Use Credential Vault is enabled.
Another thing that could be happening is that this credential vault is NOT of type username/password. But we need more info to be able to say for sure.