You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/01/29 15:16:31 UTC
[GitHub] murong00 opened a new issue #3475: Create or update tenants with
clusters that do not exist should not be allowed
murong00 opened a new issue #3475: Create or update tenants with clusters that do not exist should not be allowed
URL: https://github.com/apache/pulsar/issues/3475
**Describe the bug**
Currently, it is allowed to run `pulsar-admin tenants` with clusters that do not exist as below:
```
$ bin/pulsar-admin clusters list
pulsar-cluster-test
$ bin/pulsar-admin tenants list
public
$ bin/pulsar-admin tenants create test-tenant --admin-roles role1,role2 --allowed-clusters pulsar-cluster-test-11
$ bin/pulsar-admin tenants list
test-tenant
public
```
It is better to check that the cluster exists before operating tenants with it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services