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

Ambari-agent: Create configuration files with JCEKS information

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • ambari-agent
    • None

    Description

      When a non-status command is received, a command.json file is generated. This file contains the passwords used in a configuration. When the command is then executed, ambari agent spawns off a subprocess to execute component-specific Python scripts to generate the configuration files using the data from the command.json file.

      To avoid storing clear text passwords in command.json file and configuration files, ambari-agent will first generate the JCEKS files corresponding to the configuration information in the command JSON blob coming from the server and then generate the command.json with the path to the JCEKS store instead of clear text passwords for password properties.

      Subsequently when executing a command, ambari-agent will generate the configuration files with the JCEKS path information from command.json.

      Attachments

        1. rb53747.patch
          17 kB
          Nahappan Somasundaram

        Issue Links

          Activity

            People

              smnaha Nahappan Somasundaram
              smnaha Nahappan Somasundaram
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: