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

Deployment failure when command does not have role

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-agent, stacks
    • None

    Description

      Deployment failures as some custom commands for security (kerberization) do not populate "role".

      ERROR 2016-11-24 17:03:40,971 CustomServiceOrchestrator.py:235 - Caught an exception while executing custom service command: <type 'exceptions.KeyError'>: 'role'; 'role'
      Traceback (most recent call last):
        File "/usr/lib/python2.6/site-packages/ambari_agent/CustomServiceOrchestrator.py", line 157, in runCommand
          if command['role'] == self.METRICS_GRAFANA:
      KeyError: 'role'
      

      Attachments

        1. AMBARI-18986.patch
          3 kB
          Sumit Mohanty

        Activity

          People

            sumitmohanty Sumit Mohanty
            sumitmohanty Sumit Mohanty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: