After update to 2.5.0p9 pro dcd stop working

CMK version:

2.5.0p9 pro
OS version:

Oracle Linux 8.9

Error message:

After update to 2.5.0p9 pro docker and kubernetes monitoring stop working

dcd.log

2026-07-21 11:20:28,086 [40] [cmk.dcd.Manager] Error during processing: ('500 Server Error: INTERNAL SERVER ERROR for url: http://localhost:5000/checkmk/check_mk/api/internal/domain-types/host_config/collections/all',)
  TypeError: 'NoneType' object is not subscriptable. Crash report generated. Please submit.
  For further details please check web.log
2026-07-21 11:20:28,086 [40] [cmk.dcd.Manager] Trace:
Traceback (most recent call last):
  File "/omd/sites/checkmk/lib/python3/cmk/nonfree/pro/dcd/_site_commander.py", line 260, in run
    self._process_batches(
    ~~~~~~~~~~~~~~~~~~~~~^
        batches,
        ^^^^^^^^
    ...<4 lines>...
        connection_ids,
        ^^^^^^^^^^^^^^^
    )
    ^
  File "/omd/sites/checkmk/lib/python3/cmk/nonfree/pro/dcd/_site_commander.py", line 324, in _process_batches
    res = self._apply_site_changes(work_batches, mode, skipped_batch_ids)
  File "/omd/sites/checkmk/lib/python3/cmk/nonfree/pro/dcd/_site_commander.py", line 372, in _apply_site_changes
    transaction = self._initiate_new_cycle(batches, mode, skipped_work_ids)
  File "/omd/sites/checkmk/lib/python3/cmk/nonfree/pro/dcd/_site_commander.py", line 449, in _initiate_new_cycle
    hosts = self.client.get_all_hosts().value
            ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/omd/sites/checkmk/lib/python3/cmk/nonfree/pro/dcd/site_api/_rest_client.py", line 245, in get_all_hosts
    self.extended_raise_for_status(response)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/omd/sites/checkmk/lib/python3/cmk/nonfree/pro/dcd/site_api/_rest_client.py", line 346, in extended_raise_for_status
    raise HTTPError(
    ...<2 lines>...
    ) from None
requests.exceptions.HTTPError: ('500 Server Error: INTERNAL SERVER ERROR for url: http://localhost:5000/checkmk/check_mk/api/internal/domain-types/host_config/collections/all',)
  TypeError: 'NoneType' object is not subscriptable. Crash report generated. Please submit.
  For further details please check web.log

web.log

2026-07-21 11:20:28,076 [40] [cmk.gui.wsgi.rest_api 1576955] Unhandled exception (Crash-ID: 69b01f00-84e5-11f1-98d3-00155de0790b)
Traceback (most recent call last):
  File "/omd/sites/checkmk/lib/python3/cmk/gui/wsgi/applications/rest_api.py", line 758, in wsgi_app
    return wsgi_endpoint(environ, start_response)
  File "/omd/sites/checkmk/lib/python3/cmk/gui/wsgi/applications/utils.py", line 48, in __call__
    return self.wsgi_app(environ, start_response)
           ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/omd/sites/checkmk/lib/python3/cmk/gui/wsgi/applications/rest_api.py", line 216, in wsgi_app
    return self._handle_request(environ, start_response, None)
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/omd/sites/checkmk/lib/python3/cmk/gui/wsgi/applications/rest_api.py", line 245, in _handle_request
    response = handle_endpoint_request(
        endpoint=self.endpoint.request_endpoint(),
    ...<5 lines>...
        is_testing=is_testing,
    )
  File "/omd/sites/checkmk/lib/python3.13/site-packages/cmk/trace/_tracer.py", line 45, in wrapper
    return func(*args, **kwargs)
  File "/omd/sites/checkmk/lib/python3/cmk/gui/openapi/framework/handler.py", line 203, in handle_endpoint_request
    raw_response = endpoint.handler(*bound_arguments.args, **bound_arguments.kwargs)
  File "/omd/sites/checkmk/lib/python3/cmk/gui/openapi/api_endpoints/host_config/list_hosts.py", line 121, in list_hosts_v1
    return serialize_host_collection(
        [host for host in filter(hosts_filter, hosts)],
        compute_effective_attributes=compute.effective_attributes,
        compute_links=compute.links,
    )
  File "/omd/sites/checkmk/lib/python3/cmk/gui/openapi/api_endpoints/host_config/_utils.py", line 123, in serialize_host_collection
    serialize_host(
    ~~~~~~~~~~~~~~^
        host=host,
        ^^^^^^^^^^
        compute_links=compute_links,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        compute_effective_attributes=compute_effective_attributes,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/omd/sites/checkmk/lib/python3/cmk/gui/openapi/api_endpoints/host_config/_utils.py", line 97, in serialize_host
    attributes=HostViewAttributeModel.from_internal(
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        host.attributes, _static_attribute_names
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ),
    ^
  File "/omd/sites/checkmk/lib/python3/cmk/gui/openapi/api_endpoints/models/host_attribute_models.py", line 381, in from_internal
    management_snmp_community=SNMPCredentialsConverter.from_internal(
        value["management_snmp_community"]
    )
  File "/omd/sites/checkmk/lib/python3/cmk/gui/openapi/api_endpoints/models/attributes.py", line 196, in from_internal
    match value[0]:
          ~~~~~^^^
TypeError: 'NoneType' object is not subscriptable


crash-agent.txt (3.2 KB)

crash-rest_api.txt (3.7 KB)

It looks like there is a host existing with a broken “Management board SNMP config”.

        [
            "/omd/sites/checkmk/lib/python3/cmk/gui/openapi/api_endpoints/models/host_attribute_models.py",
            381,
            "from_internal",
            "management_snmp_community=SNMPCredentialsConverter.from_internal("
        ],

Only problem is, you don’t see the name of the problematic host.

Thank you for the super fast reply
Exacly i found one host with only this checkbox on

can i somehow clear this batches ?

Good question, normally these should vanish by itself after some time.

no problem, i will wait.