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

Kerberos service components should indicate security state

    XMLWordPrintableJSON

    Details

      Description

      The Kerberos service components should indicate security state when queried by Ambari Agent via STATUS_COMMAND. Each component should determine it's state as follows:

      KERBEROS_CLIENT

      Indicators

      • Command JSON
        • config['configurations']['cluster-env']['security_enabled']
          • = “true”
        • config['configurations']['cluster-env']['smokeuser_keytab']
          • not empty
          • path exists and is readable
          • required
        • config['configurations']['cluster-env']['smokeuser']
          • not empty
          • required

      Pseudocode

      if indicators imply security is on and validate
          if kinit(smoketest user) succeeds
              state = SECURED_KERBEROS
          else
              state = ERROR 
      else
          state = UNSECURED
      

        Attachments

        1. AMBARI-8480_02.patch
          6 kB
          Robert Levas
        2. AMBARI-8480_01.patch
          6 kB
          Robert Levas
        3. AMBARI-8480_01.patch
          6 kB
          Robert Levas

          Issue Links

            Activity

              People

              • Assignee:
                rlevas Robert Levas
                Reporter:
                rlevas Robert Levas
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: