You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Krisztian Horvath (JIRA)" <ji...@apache.org> on 2017/05/15 09:27:04 UTC

[jira] [Updated] (KNOX-941) Ranger HA does not work through Knox

     [ https://issues.apache.org/jira/browse/KNOX-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krisztian Horvath updated KNOX-941:
-----------------------------------
    Affects Version/s: 0.11.0

> Ranger HA does not work through Knox
> ------------------------------------
>
>                 Key: KNOX-941
>                 URL: https://issues.apache.org/jira/browse/KNOX-941
>             Project: Apache Knox
>          Issue Type: Bug
>    Affects Versions: 0.11.0
>            Reporter: Krisztian Horvath
>         Attachments: gateway.log, ranger_admin_compact.log, services.xml
>
>
> Ranger Admin runs in HA mode and knox is configured with:
> {code}
> <provider>
>          <role>ha</role>
>          <name>HaProvider</name>
>          <enabled>true</enabled>
>          <param>
>             <name>RANGERUI</name>
>             <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true</value>
>          </param>
>       </provider>
>  <service>
>     <role>RANGERUI</role>
>     <url>http://ip-10-0-2-243.eu-west-1.compute.internal:6080</url>
>     <url>http://ip-10-0-2-10.eu-west-1.compute.internal:6080</url>
>  </service>
> {code}
> Knox keeps redirecting to the login page. In Ranger log I can see however the login was successful so it accepted the credentials. Load-balancing works as I stop one of the Ranger Admins I still can reach the UI, but cannot move on from the login page. Might be some session issue.
> Attached the knox topology and log file and ranger aggregated log.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)