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

Rolling restarts not working when Kerberos Auto sign in is enabled for Ambari

    XMLWordPrintableJSON

Details

    Description

      Rolling restarts not working when Kerberos Auto sign in is enabled for Ambari. This is due to a missing user ID value in the requestschedule table, resulting in the Rolling Restart operation aborting with no deals in the ambari-server.log file.

      schedule_id cluster_id authenticated_user_id create_user update_user last_execution_status
      2 2 -1 rlevas rlevas IN_PROGRESS

      This occurs because the org.springframework.security.core.Authentication class stored in Ambari's SecurityContext for the authenticated user does not contain the authenticated user's ID data. Adjustments need to be made to the infrastructure to capture this data upon login and then retrieve it later, when needed.

      Attachments

        Issue Links

          Activity

            People

              rlevas Robert Levas
              rlevas Robert Levas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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