[RTFACT-14303] When the db.properties exists, a wrong communication.key is created along with an error message about it Created: 28/May/17  Updated: 06/Dec/18  Resolved: 06/Dec/18

Status: Resolved
Project: Artifactory Binary Repository
Component/s: HA, Installer, Logging
Affects Version/s: 5.3.1
Fix Version/s: None

Type: Bug Priority: High
Reporter: Andrei Komarov Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
duplicates RTFACT-14231 Artifactory should NOT regenerate Acc... Resolved


Steps to reproduce:

1. Start a primary node, create a bootstrap bundle and copy it over to a secondary node
2. Under the secondary, create a dummy $ARTIFACTORY_HOME/etc/db.properties file
3. Have the JDBC driver and ha-node.properties in place and start the secondary node
4. You should see the following log entries in the artifactory.log file:

 2017-05-14 02:30:22 [ARTIFACTORY] [WARN] Found conflicting files in the bootstrap bundle, ignoring the bundle. Conflicts: <$ARTIFACTORY_HOME>/etc/db.properties
2017-05-14 02:30:22 [ARTIFACTORY] [INFO] Starting local environment conversion: communication.key 

5. And a wrong communication.key file will be created as well

Comment by Andrei Komarov [ 06/Dec/18 ]

Resolved as part of bootstrap bundle removal and HA build refactoring

Generated at Tue Oct 22 06:39:43 UTC 2019 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.