Dear all,
I recently updated from 2.0.0p21.cre to 2.1.0p5.cre but it ended up with an error:
-| 10/25 Migrate pagetype topics...
-| + "Migrate pagetype topics" failed
-| Traceback (most recent call last):
-| File "/omd/sites/bnitm/lib/python3/cmk/update_config.py", line 239, in run
-| step_func()
-| File "/omd/sites/bnitm/lib/python3/cmk/update_config.py", line 1001, in _migrate_pagetype_topics_to_ids
-| topic_created_for.update(self._migrate_all_visuals_topics(topics))
-| File "/omd/sites/bnitm/lib/python3/cmk/update_config.py", line 1071, in _migrate_all_visuals_topics
-| topics, visual_type="dashboards", all_visuals=get_all_dashboards()
-| File "/omd/sites/bnitm/lib/python3/cmk/gui/plugins/dashboard/utils.py", line 831, in get_all_dashboards
-| return DashboardStore.get_instance().all
-| File "/omd/sites/bnitm/lib/python3/cmk/gui/plugins/dashboard/utils.py", line 808, in get_instance
-| return cls()
-| File "/omd/sites/bnitm/lib/python3/cmk/gui/plugins/dashboard/utils.py", line 811, in __init__
-| self.all = self._load_all()
-| File "/omd/sites/bnitm/lib/python3/cmk/gui/plugins/dashboard/utils.py", line 817, in _load_all
-| return _transform_dashboards(visuals.load("dashboards", builtin_dashboards))
-| File "/omd/sites/bnitm/lib/python3/cmk/gui/plugins/dashboard/utils.py", line 853, in _transform_dashboards
-| visuals.transform_old_visual(dashlet)
-| File "/omd/sites/bnitm/lib/python3/cmk/gui/visuals.py", line 330, in transform_old_visual
-| visual["context"] = cleanup_context_filters(visual["context"], visual["single_infos"])
-| File "/omd/sites/bnitm/lib/python3/cmk/gui/visuals.py", line 401, in cleanup_context_filters
-| return dict(new_context_vars)
-| File "/omd/sites/bnitm/lib/python3/cmk/gui/visuals.py", line 364, in unsingle
-| raise MKGeneralException(
-| cmk.utils.exceptions.MKGeneralException: Unexpected configuration of context variable: Filter 'host' with value 'smb1.hs2.bnitm.de'
Afterwards, I couldnât access the site by web browser anymore due to the same error message âUnexpected configuration of context variable: Filter âhostâ with value âsmb1.hs2.bnitm.deââ.
Is there a way to delete this host manually (by editing the hosts.mk file or sth?) to get the site up and running again? I tried it by using the web api but it seams that I donât have any user that is allowed for automated actions.
CMK version: 2.1.0p5.cre
OS version: Debian 11.3
Error message: Unexpected configuration of context variable: Filter âhostâ with value âsmb1.hs2.bnitm.deâ
Thanks a lot in advance
Markus