Retry starting truecommand after a small delay if TC container is down
This commit fixes an issue where if tc container is down, we immediately try to start wireguard service which will initiate a health check which is destined to fail and we will continue stop/start cycle. So adding a delay of 5 minutes before each time we initiate this.
Reduce the time to check if truecommand connection is active
This commit adds changes to reduce the time to check if truecommand connection is active to 30 seconds instead of 30 minutes after setting up the interfaces and everything because the latter was way too long and system only updated the status before if truecommand.config was explicitly called. Setting it to 30 seconds works nicely and is enough to ensure the relevant wireguard interface is up and everything.
Fix kubernetes delegate validation test (#13754)
This updates the kubernetes delegate validation test to use our new more
verbose validation error message.
(cherry picked from commit 4482bc6e0c0a12023c574c93478bbb252f013318)
Co-authored-by: Andrew Walker <awalker at ixsystems.com>
Fix kubernetes delegate validation test (#13753)
This updates the kubernetes delegate validation test to use our new more
verbose validation error message.
NAS-128723 / 24.10 / Enable cgroups plugin (#13641)
* Enable cgroups plugin
cgroups plugin enabled useful stats (CPU, Memory and Disk activity) for
systemd services and VMs.
Overhead of this plugin seems to be minimal to always enable it.
In the future we might consider making the plugins configurable.
This plugin was research as part of SOLN-230.
* Retrieve cgroup metrics selectively and update approximation logic
* Account for containers
---------
Co-authored-by: M. Rehan <mrehanlm93 at gmail.com>