Hello guys, how do i create a multitenant cluster ...
# troubleshooting
g
Hello guys, how do i create a multitenant cluster for my production environment. It gives me the following error
Copy code
Executing command: AddTenant -controllerProtocol http -controllerHost localhost -controllerPort 9001 -name krealoBrokerTenant -role BROKER -instanceCount 3 -offlineInstanceCount 0 -realTimeInstanceCount 3 -exec
{"_code":500,"_error":"Failed to create tenant"}
{"_code":500,"_error":"Failed to create tenant"}
m
Do you have enough untagged broker participants?
Agree though, that the response should be user friendly
g
Just have 1
same error
Copy code
Executing command: AddTenant -controllerProtocol http -controllerHost 0.0.0.0 -controllerPort 9001 -name krealoBrokerTenant -role BROKER -instanceCount 1 -offlineInstanceCount 0 -realTimeInstanceCount 1 -exec
{"_code":500,"_error":"Failed to create tenant"}
{"_code":500,"_error":"Failed to create tenant"}root@pinot-controller:/opt/pinot#
m
You have 1 untagged, but you are asking for 3, I think that is one issue
g
yeah modified for 1 here, still same error
Copy code
Executing command: AddTenant -controllerProtocol http -controllerHost 0.0.0.0 -controllerPort 9001 -name krealoBrokerTenant -role BROKER -instanceCount 1 -offlineInstanceCount 0 -realTimeInstanceCount 1 -exec
{"_code":500,"_error":"Failed to create tenant"}
{"_code":500,"_error":"Failed to create tenant"}root@pinot-controller:/opt/pinot#
m
Hmm, that seems like an issue, anything in the controller log?
Actually, try one thing - set both offlineInstanceCount and realtimeInstanceCount to 0. If that works, file an issue, as this is not intuitive for users. The offline/realtime instance count in that case would seem more like for servers.