You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/07/26 11:30:00 UTC
[jira] [Commented] (NIFI-8943) Docker start sets blank Sensitive
Properties Key
[ https://issues.apache.org/jira/browse/NIFI-8943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17387254#comment-17387254 ]
ASF subversion and git services commented on NIFI-8943:
-------------------------------------------------------
Commit 1d61be776b4ccb4388bc7f8ddd93f0157f8f995e in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1d61be7 ]
NIFI-8943 Corrected Sensitive Props Key handling in Docker
Signed-off-by: Pierre Villard <pi...@gmail.com>
This closes #5245.
> Docker start sets blank Sensitive Properties Key
> ------------------------------------------------
>
> Key: NIFI-8943
> URL: https://issues.apache.org/jira/browse/NIFI-8943
> Project: Apache NiFi
> Issue Type: Bug
> Components: Docker
> Affects Versions: 1.14.0
> Environment: Docker Running on Mac OS
> Reporter: Brendan
> Assignee: David Handermann
> Priority: Critical
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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
> {code:bash}
> prop_replace 'nifi.sensitive.props.key' "${NIFI_SENSITIVE_PROPS_KEY:-}"
> {code}
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)