[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:
Duplicate
duplicates RTFACT-14231 Artifactory should NOT regenerate Acc... Resolved

 Description   

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



 Comments   
Comment by Andrei Komarov [ 06/Dec/18 ]

Resolved as part of bootstrap bundle removal and HA build refactoring

Generated at Fri Jul 19 17:00:50 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.