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

Incorrect error message for searching in Audit page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • admin
    • Patch

    Description

      In Audit Login-Sessions webpage of Ranger-Admin,
      use "Session ID:xiehh" as search filter,
      search failed with error message "Unable to connect to Audit store !!",
      please refer screenshot sessionidErrorMessage.jpg for more detail,
      but check ranger_admin.log find the following log:

      2017-03-10 07:29:08,588 [http-bio-6080-exec-9] INFO  org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:302) - 
      Validation error:logMessage=xiehh, response=VXResponse={org.apache.ranger.view.VXResponse@3832b97statusCode={1} 
      msgDesc={Invalid value for Auth Session Id} messageList={[VXMessage={org.apache.ranger.view.VXMessage@18a2c84ename={INVALID_INPUT_DATA} rbKey={xa.validation.invalid_input_data} message={Invalid input data} objectId={null} fieldName={id} }]} }
      

      which means the error message "Unable to connect to Audit store !!" is not correct,
      in fact the real reason for searching failed is "Invalid value for Auth Session Id".

      Attachments

        Activity

          People

            zhangqiang2 Qiang Zhang
            zhangqiang2 Qiang Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified