If a sysctl key exists in a custom config but not the global settings it currently fails with:
Traceback (most recent call last):
File "/home/ubuntu/git/hotsos/hotsos/core/plugintools.py", line 429, in run
output = inst.output
File "/home/ubuntu/git/hotsos/hotsos/core/plugintools.py", line 371, in output
out = getattr(self, m)()
File "/home/ubuntu/git/hotsos/hotsos/plugin_extensions/system/checks.py", line 163, in __11_summary_juju_charm_sysctl_mismatch
if value != self.sysctl_all[key]:
KeyError: 'kernel.panic_on_io_nmi'
If a sysctl key exists in a custom config but not the global settings it currently fails with:
Traceback (most recent call last): File "/home/ubuntu/git/hotsos/hotsos/core/plugintools.py", line 429, in run output = inst.output File "/home/ubuntu/git/hotsos/hotsos/core/plugintools.py", line 371, in output out = getattr(self, m)() File "/home/ubuntu/git/hotsos/hotsos/plugin_extensions/system/checks.py", line 163, in __11_summary_juju_charm_sysctl_mismatch if value != self.sysctl_all[key]: KeyError: 'kernel.panic_on_io_nmi'