1 Title: IPMI Management board: Fixed "cmk -d" on hosts with enabled mgmt board
11 An exception occurred on hosts having IPMI management board enabled when executing
12 "cmk -d [hostname]" on the console:
15 OMD[stable]:~$ cmk --debug -d ipmi-host
16 Traceback (most recent call last):
17 File "/omd/sites/stable/bin/cmk", line 96, in <module>
18 exit_status = modes.call(o, a, opts, args)
19 File "/omd/sites/stable/lib/python/cmk_base/modes/__init__.py", line 80, in call
20 return mode.handler_function(*handler_args)
21 File "/omd/sites/stable/lib/python/cmk_base/modes/check_mk.py", line 366, in mode_dump_agent
22 source_state, source_output, source_perfdata = source.get_summary_result()
23 File "/omd/sites/stable/lib/python/cmk_base/data_sources/abstract.py", line 392, in get_summary_result
24 return self._summary_result()
25 File "/omd/sites/stable/lib/python/cmk_base/data_sources/ipmi.py", line 152, in _summary_result
26 return 0, "Version: %s" % self._get_ipmi_version(), []
27 File "/omd/sites/stable/lib/python/cmk_base/data_sources/ipmi.py", line 156, in _get_ipmi_version
28 section = self._host_sections.sections.get("mgmt_ipmi_firmware")
29 AttributeError: 'NoneType' object has no attribute 'sections'