Sumit Mohanty created AMBARI-20407:
--------------------------------------
Summary: When agent retries commands it needs to handle credential
store processing better
Key: AMBARI-20407
URL: https://issues.apache.org/jira/browse/AMBARI-20407
Project: Ambari
Issue Type: Bug
Components: ambari-agent
Affects Versions: 2.5.0
Reporter: Sumit Mohanty
Assignee: Sumit Mohanty
Priority: Critical
Fix For: 2.5.0
Credential store handling has a one-way logic to move passwords to jceks files
and then removing the passwords from the configs. When agent does an auto-retry
of command execution then the initial assumption of relying on the existence of
the "password" properties no longer holds true. This incorrectly disables
credential store but as passwords are no longer available it results in broken
configurations.
The solution here is to avoid processing the password properties when command
is an implicit retry.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)