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

Fail to add a component on the same machine with ambari-server of a new service with no kerberos identity when kerberos enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.6
    • None
    • ambari-server
    • None

    Description

      When kerberos enabled and an user tries to add a component of a new service with no kerberos identity in the same machine with ambari-server, it fails because there is no temporary data directory.

      22-12-03 08:09:24,572 ERROR [process-identity-task-9055-thread-0] CreateKeytabFilesServerAction:175 - The data directory has not been set. Generated keytab files can not be stored.

      I guess it is a side effect of AMBARI-22138.

      AMBARI-22138 adds ambari-server's kerberos identity even though the service's "Service Component Hosts"(`schToProcess`) is empty.

       

      I'll make a PR.

      It fixes this problem by just creating tempory directory.

      It will be deleted when whole stage finishes.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eub YUBI LEE
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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