Version Affected:
Conduktor 3.2 and earlier.
API V1
Behaviour:
When creating virtual clusters via the V1 API on Conduktor Gateway 3.2 or earlier, the API will return a 501 not implemented error when you have submitted a valid request.
Example output:
Request URL: http://localhost:8888/admin/vclusters/v1/vcluster/conduktor_test_vcluster/username/conduktor_test
Request Method: POST
Request Headers: {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '28', 'Content-Type': 'application/json', 'Authorization': 'Basic YWRtaW46Y29uZHVrdG9y'}
Request Body: b'{"lifeTimeSeconds": 7776000}'
Response Status Code: 501
Response Headers: {'content-length': '15', 'content-type': 'application/json'}
Response Content: Not Implemented
Details:
When you create a virtual cluster, a username and password is created to access Gateway and generate a token to authenticate with. If the Gateway security protocol is not set to one of the compatible SASL mechanism, token generation is not permitted.
Resolution:
To resolve this issue, you must change the Gateway security protocol to a valid SASL mechanism:
GATEWAY_SECURITY_PROTOCOL: SASL_PLAINTEXT
Comments
0 comments
Please sign in to leave a comment.