Werk #7765 · Jun 5, 19
Fix parent scan when no gateway was found
When the parent scan found not gateway, e.g. because the scanned host is the local host, then an exception like this was produced by the background job:
ERROR heute on site heute: type object argument after * must be an iterable, not NoneType
Traceback (most recent call last):
File "/omd/sites/heute/lib/python/cmk/gui/wato/pages/parentscan.py", line 107, in _process_task
self._execute_parent_scan(task, settings))
File "/omd/sites/heute/lib/python/cmk/gui/wato/pages/parentscan.py", line 130, in _process_parent_scan_results
gateway = ParentScanResult(*gateways[0][0]) if gateways[0] is not None else None
TypeError: type object argument after * must be an iterable, not NoneType
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 2.0.0i1CommunityProUltimate + MT
- 1.6.0b2CommunityProUltimate + MT