@Xiang Fu thank you for the quick response. i missed reading the doc properly. though i use suggested method in doc now i see below error while broker tenants were created server tenant creation fails. even though all server are set to server_untagged
error --> {"code":400,"error":"Cannot request more offline instances: 1 or realtime instances: 1 than total instances: 0"}
command used -->
curl -s -X POST
http://pinot-test-controller:9000/tenants -H 'Content-Type: application/json' -d '{"tenantRole":"BROKER","tenantName":"fmBrokerTenant","numberOfInstances":1}'
curl -s -X POST
http://pinot-test-controller:9000/tenants -H 'Content-Type: application/json' -d '{"tenantRole":"SERVER","tenantName":"fmServerTenant","offlineInstances":1,"realtimeInstances":1}'
curl -s -X POST
http://pinot-test-controller:9000/tenants -H 'Content-Type: application/json' -d '{"tenantRole":"BROKER","tenantName":"pmBrokerTenant","numberOfInstances":1}'
curl -s -X POST
http://pinot-test-controller:9000/tenants -H 'Content-Type: application/json' -d '{"tenantRole":"SERVER","tenantName":"pmServerTenant","offlineInstances":1,"realtimeInstances":1}'