Skip to content

[PM-1297] This commit fixes multiple things found on PM deployment to prod

Gustavo Enrique Sanchez requested to merge pm-1297 into master

Context

Fixes the following issues found when deploying PM to prod:

  • issues generating the host name in CCDA for the nodes in the Spare DC inventory

  • concurrent modifications of a single node entry using CCDA and that creates a race condition that failed to configure Spare Data Collectors. (now using a lock file)

  • archive was backing up logs

  • version restore using lumens didn't properly set up lumens again

  • rbac-authenticate -l doesn't work in all nodes

What was done

  • minor fixes
  • concurrent modifications were solved using a lock file (since ansible doesn't provide support for this kind of use case).
  • Regarding rbac-authenticate, while a better solution is worked on, now it's possible to inject the rbac_token as a variable
  • Logs are removed before creating an archive

TODO

  • RBAC authentication that doesn't require manual injection of a variable
Edited by Gustavo Enrique Sanchez

Merge request reports