[SOLVED] Activation failure - maximum recursion depth exceeded

CMK version: 2.3.0p35
OS version: Ubuntu Docker

Error message::

An error occurred: Error creating configuration: Cannot read file "/omd/sites/cmk_site/var/check_mk/discovered_host_labels/MYHOST.mk": maximum recursion depth exceeded

Anyone else seen this error when trying to activate changes?

The full trace from the command cmk --debug -vvn hostname was to long. So view it here Ubuntu Pastebin

I found the issue, was a new Host labels rule in Host monitoring rules causing issues… duh