Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2060

Knox proxy with knox-sso is not working for ranger

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0, 1.0.1
    • Ranger
    • None

    Description

      Knox proxy with Knox-SSO is not working in a case when HA is enabled for both Ranger and Knox.

      If Ranger-HA url is rangerha.abc.com:6080 with individual Ranger hosts as ranger1.abc.com:6080 and ranger2.abc.com:6080 with Knox hosted onĀ  knoxha.abc.com:8443 and individual knox hosts as knox1.abc.com and knox2.abc.com.

      If Ranger load-balancer URL is used in the knox topology for knox-proxy ui.xml, redirected url gets corrupted as:
      knoxha.abc.com:8443/gateway/....?originalUrl=https://knoxha.abc.com:8443,%20knox1.abc.com:8443/gateway/<topology>/ranger

      Additionally: Individually enabling Knox-SSO gives 401-Unauthorized error for Ranger to login.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vishalsuvagia Vishal Suvagia
            deepakhuawei Deepak Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment