You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2022/05/24 18:19:00 UTC

[jira] [Commented] (HDDS-6605) [MultiTenancy] Failed to assign user to tenant

    [ https://issues.apache.org/jira/browse/HDDS-6605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541652#comment-17541652 ] 

Siyao Meng commented on HDDS-6605:
----------------------------------

Ah. This is likely due to the limitation of the mocked Ranger server limitation (see {{mockserverInitialization.json}} where we have to add request and response paths manually) at this moment. Operations might only work on {{tenantone}} and we might not have added all responses for Ranger role operations at the moment thus the failure.

But I agree the error reason should not be empty. Wiil look into this a bit more later.

> [MultiTenancy] Failed to assign user to tenant
> ----------------------------------------------
>
>                 Key: HDDS-6605
>                 URL: https://issues.apache.org/jira/browse/HDDS-6605
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Manager
>    Affects Versions: 1.3.0
>            Reporter: Soumitra Sulav
>            Priority: Major
>              Labels: ozone-multitenancy
>
> In a docker-compose setup, we have a mock ranger.
> While assigning a user to a tenant, seeing the below message with no debug/error message.
> {code:java}
> bash-4.2$ ozone tenant user assign --tenant=test 'testuser'
> Failed to assign 'testuser' to 'test':
> {code}
> Should have --verbose option or debug message printed on the console on error.
>  
> Doesn't print any extra lines even with --verbose
> {code:java}
> bash-4.2$ ozone tenant --verbose user assign "a" -t test
> Failed to assign 'a' to 'test': {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org