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

Check Keytabs Kerberos Client step failing while re-dding a service via UI

    XMLWordPrintableJSON

Details

    Description

      STR

      install ambari-2.7.0.1-11

      deploy a kerberized cluster (i.e. with ZK and Atlas)

      remove one of the services (I removed Atlas)

      add that service again in via UI

      Result

      The following error occurred at the Check Keytabs Kerberos Client task:

      stderr: 
      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/KERBEROS/package/scripts/kerberos_client.py", line 91, in 
          KerberosClient().execute()
        File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute
          method(env)
        File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/KERBEROS/package/scripts/kerberos_client.py", line 87, in check_keytabs
          find_missing_keytabs(params, output_hook)
        File "/usr/lib/ambari-agent/lib/ambari_commons/kerberos/kerberos_common.py", line 166, in find_missing_keytabs
          missing_keytabs = MissingKeytabs.from_kerberos_records(params.kerberos_command_params, params.hostname)
        File "/usr/lib/ambari-agent/lib/ambari_commons/kerberos/kerberos_common.py", line 55, in from_kerberos_records
          with_missing_keytab = (each for each in kerberos_record \
      TypeError: 'NoneType' object is not iterable
       stdout:
      
      
      Command failed after 1 tries

      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
                1h