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

SET_KEYTABS is preformed twice per host during Kerberos operations

    XMLWordPrintableJSON

Details

    Description

      STR

      • Enable Kerberos and check the DB after the 'Test Kerberos' step, or
      • Regenerate keytabs on a secure cluster with the option 'Only regenerate keytabs for missing hosts and components' enabled (this is important, otherwise the issue is not reproducible)

      Result:

      SELECT hrc.task_id, hrc.request_id, hrc.host_id, hrc.stage_id, st.request_context, hrc.status, hrc.role, hrc.role_command, hrc.custom_command_name FROM host_role_command hrc, stage st WHERE hrc.stage_id = st.stage_id AND hrc.request_id = st.request_id AND hrc.custom_command_name = 'SET_KEYTAB' ORDER BY request_id, host_id, stage_id;
      task_id request_id host_id stage_id request_context status role role_command custom_command_name
      63 17 1 1 Checking keytabs COMPLETED KERBEROS_CLIENT CUSTOM_COMMAND SET_KEYTAB
      68 17 1 4 Distribute Keytabs COMPLETED KERBEROS_CLIENT CUSTOM_COMMAND SET_KEYTAB
      64 17 2 1 Checking keytabs COMPLETED KERBEROS_CLIENT CUSTOM_COMMAND SET_KEYTAB
      69 17 2 4 Distribute Keytabs COMPLETED KERBEROS_CLIENT CUSTOM_COMMAND SET_KEYTAB
      65 17 3 1 Checking keytabs COMPLETED KERBEROS_CLIENT CUSTOM_COMMAND SET_KEYTAB
      70 17 3 4 Distribute Keytabs COMPLETED KERBEROS_CLIENT CUSTOM_COMMAND SET_KEYTAB
      83 19 1 1 Checking keytabs COMPLETED KERBEROS_CLIENT CUSTOM_COMMAND SET_KEYTAB
      88 19 1 4 Distribute Keytabs COMPLETED KERBEROS_CLIENT CUSTOM_COMMAND SET_KEYTAB
      84 19 2 1 Checking keytabs COMPLETED KERBEROS_CLIENT CUSTOM_COMMAND SET_KEYTAB
      89 19 2 4 Distribute Keytabs COMPLETED KERBEROS_CLIENT CUSTOM_COMMAND SET_KEYTAB
      85 19 3 1 Checking keytabs COMPLETED KERBEROS_CLIENT CUSTOM_COMMAND SET_KEYTAB
      90 19 3 4 Distribute Keytabs COMPLETED KERBEROS_CLIENT CUSTOM_COMMAND SET_KEYTAB

      Expected result:
      only one SET_KEYTAB command should be recorded

      Attachments

        Activity

          People

            smolnar Sandor Molnar
            smolnar Sandor Molnar
            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 - 1h 20m
                1h 20m