Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-13346

More relevant error messages should be provided for Ranger password issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • None
    • None

    Description

      PROBLEM: When a user changes their admin password for Ranger web gui, but does not change it in ambari under Ranger Admin password, multiple components fail with:

      File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/ranger_functions.py", line 108, in create_ranger_repository
      raise Fail('Ambari admin username and password are blank ')
      resource_management.core.exceptions.Fail: Ambari admin username and password are blank
      

      Instead of a generic error like the above, if more relevant error message, such as "Password incorrect. Please verify and retry", is provided that would be helpful for the users.

      Attachments

        1. AMBARI-13346.1.patch
          26 kB
          Gautam Borad
        2. AMBARI-13346.patch
          23 kB
          Gautam Borad

        Issue Links

          Activity

            People

              gautamborad Gautam Borad
              vel Velmurugan Periasamy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: