Hello,
We are running CheckMK Enterprise 1.6.0p7 and I’m trying to configure the Datasource Kubernetes for Openshift (OKD).
This is my setup:
- CheckMK Enterprise 1.6.0p7
- OpenShift Master: v3.11.0+bdd37ad-314
- Kubernetes Master: v1.11.0+d4cacc0
- OpenShift Web Console: v3.11.0+ea42280
I have followed the instructions precisely, verified all settings, and I believe everything is setup correctly. https://checkmk.com/cms_monitoring_kubernetes.html
I have tried debugging via command line. However, I receive the following error.
OMD[system]:~$ ~/bin/python ~/share/check_mk/agents/special/agent_kubernetes --url-prefix https://console.system.com --infos PODS --debug --port 8443 --token <removed> console.system.com
Traceback (most recent call last):
File "/omd/sites/system/share/check_mk/agents/special/agent_kubernetes", line 9, in <module>
sys.exit(main())
File "/omd/sites/system/lib/python/cmk/special_agents/agent_kubernetes.py", line 1218, in main
api_data = ApiData(api_client)
File "/omd/sites/system/lib/python/cmk/special_agents/agent_kubernetes.py", line 1005, in __init__
nodes = core_api.list_node()
File "/omd/sites/system/lib/python/kubernetes/client/apis/core_v1_api.py", line 13437, in list_node
(data) = self.list_node_with_http_info(**kwargs)
File "/omd/sites/system/lib/python/kubernetes/client/apis/core_v1_api.py", line 13534, in list_node_with_http_info
collection_formats=collection_formats)
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 321, in call_api
_return_http_data_only, collection_formats, _preload_content, _request_timeout)
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 163, in __call_api
return_data = self.deserialize(response_data, response_type)
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 236, in deserialize
return self.__deserialize(data, response_type)
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 276, in __deserialize
return self.__deserialize_model(data, klass)
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 620, in __deserialize_model
kwargs[attr] = self.__deserialize(value, attr_type)
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 254, in __deserialize
for sub_data in data]
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 276, in __deserialize
return self.__deserialize_model(data, klass)
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 620, in __deserialize_model
kwargs[attr] = self.__deserialize(value, attr_type)
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 276, in __deserialize
return self.__deserialize_model(data, klass)
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 620, in __deserialize_model
kwargs[attr] = self.__deserialize(value, attr_type)
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 254, in __deserialize
for sub_data in data]
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 276, in __deserialize
return self.__deserialize_model(data, klass)
File "/omd/sites/system/lib/python/kubernetes/client/api_client.py", line 622, in __deserialize_model
instance = klass(**kwargs)
File "/omd/sites/system/lib/python/kubernetes/client/models/v1_container_image.py", line 52, in __init__
self.names = names
File "/omd/sites/system/lib/python/kubernetes/client/models/v1_container_image.py", line 77, in names
raise ValueError("Invalid value for `names`, must not be `None`")
ValueError: Invalid value for `names`, must not be `None`
Please advise, how do I fix this issue?
Thanks,
Jesse