Zhen-hao commented on issue #11356:
URL: https://github.com/apache/pulsar/issues/11356#issuecomment-882342409


   
   
   
   > > Try to use the below cmd to check if it works:
   > > ```
   > > ./pulsar-admin namespaces set-clusters 
pairtime-test/projection_akka_journal_nt_cluster_run_7 -c "nt-test-cluster"
   > > ```
   > 
   > This doesn't work.
   > 
   > ```
   > 09:23:00.805 [AsyncHttpClient-7-1] WARN  
org.apache.pulsar.client.admin.internal.BaseResource - 
[http://127.0.0.1:8081/admin/v2/namespaces/pairtime-test/projection_akka_journal_nt_cluster_run_7/replication]
 Failed to perform http post request: javax.ws.rs.ForbiddenException: HTTP 403 
Forbidden
   > Cluster [nt-test-cluster] is not in the list of allowed clusters list for 
tenant [pairtime-test]
   > 
   > Reason: Cluster [nt-test-cluster] is not in the list of allowed clusters 
list for tenant [pairtime-test]
   > ```
   
   It works after running `pulsar-admin tenants update pairtime-test -c 
nt-test-cluster`.
   
   So, the cluster name is also used when creating a tenant.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to