Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-941

Ranger HA does not work through Knox

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.11.0
    • None
    • None
    • None

    Description

      Ranger Admin runs in HA mode and knox is configured with:

      <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>
      

      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.

      Ranger is installed with Ambari through Blueprints (see attachment)

      Attachments

        1. gateway.log
          3 kB
          Krisztian Horvath
        2. ranger_admin_compact.log
          2 kB
          Krisztian Horvath
        3. ranger-ha.bp
          9 kB
          Krisztian Horvath
        4. services.xml
          2 kB
          Krisztian Horvath

        Issue Links

          Activity

            People

              Unassigned Unassigned
              keyki Krisztian Horvath
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: