Fix numerous issues with the Access admin creds not persisted, and adminToken disappearing in certain cases (RTFACT-16046)

[RTFACT-16045] Access won't swap old admin creds with new ones on a secondary node during upgrade Created: 06/Mar/18  Updated: 22/Apr/18  Resolved: 22/Mar/18

Status: Resolved
Project: Artifactory Binary Repository
Component/s: Access Server
Affects Version/s: None
Fix Version/s: 6.0.0

Type: Sub-task Priority: High
Reporter: Uriah Levy Assignee: Uriah Levy
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates RTFACT-16046 Fix numerous issues with the Access a... Resolved

 Description   

Upgrading from a version below 5.6.0 to 5.6.0 and above requires changing the old access admin credentials with the new ones. On an upgrade scenario, the primary is upgraded first which results in the new access admin being created. When the secondaries start up it's already too late for them to know that they need to replace their client creds due to the fact that the primary already replaced them. The check that depends on the new user's existence in the DB is faulty, and should be changed.


Generated at Sun May 19 23:06:33 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.