Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8943

Docker start sets blank Sensitive Properties Key

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.14.0
    • 1.15.0
    • Docker
    • None
    • Docker Running on Mac OS
    • Important

    Description

      The new docker image has a bug in its start.sh file

      on creation of the docker container the "nifi.sensitive.props.key" value gets set

      on shutdown of the container and startup which triggers the "/opt/nifi/scripts/start.sh" file this gets overwritten because in the "/opt/nifi/scripts/start.sh" file of the docker setup this value gets set to blank making bootup fail due to theĀ "nifi.sensitive.props.key" being required.

      This line exists in the start.sh file

      prop_replace 'nifi.sensitive.props.key'   "${NIFI_SENSITIVE_PROPS_KEY:-}"
      

      I suspect the intent was to have it replaced with a configurable parameter but the outcome is it currently breaks the Docker image after reboot and its a costly one.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              Buhr Brendan
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 0.5h
                  0.5h