Added a check in the Health CLI that shows the config directory status if exists.
Added a check in the Health CLI that asserts if the upgrade of the config directory has issues, this situation can be discovered by phase of the config directory is locked and there is no ongoing upgrade.
Added unit tests (and did some refactoring).
Fixed a bug that sets the process name to be Upgrade, it's showing in the logs of the endpoint, CLI etc.
Issues: Fixed #xxx / Gap #xxx
Another idea for a health check - check per host if config directory is locked.
Explain the changes
Upgrade
, it's showing in the logs of the endpoint, CLI etc.Issues: Fixed #xxx / Gap #xxx
Testing Instructions:
sudo node ./node_modules/mocha/bin/mocha src/test/unit_tests/test_nc_health.js