kubesphere / ks-installer

Install KubeSphere on existing Kubernetes cluster
https://kubesphere.io
Apache License 2.0
533 stars 746 forks source link

ks-install容器启动后运行installRunner.py后报错 #2288

Open Binary1119 opened 3 months ago

Binary1119 commented 3 months ago
2024-07-25T06:34:32Z INFO : TASK_RUN HookRun@KUBE_EVENTS kubesphere/installRunner.py

2024-07-25T06:34:32Z INFO : Running hook 'kubesphere/installRunner.py' binding 'KUBE_EVENTS' ...

Traceback (most recent call last):

File "/hooks/kubesphere/installRunner.py", line 374, in

main()

File "/hooks/kubesphere/installRunner.py", line 366, in main

generateConfig()

File "/hooks/kubesphere/installRunner.py", line 341, in generateConfig

nodes = api.list_node().items

File "/usr/lib/python3.8/site-packages/kubernetes/client/api/core_v1_api.py", line 13726, in list_node

(data) = self.list_node_with_http_info(**kwargs) # noqa: E501

File "/usr/lib/python3.8/site-packages/kubernetes/client/api/core_v1_api.py", line 13807, in list_node_with_http_info

return self.api_client.call_api(

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 340, in call_api

return self.__call_api(resource_path, method,

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 184, in __call_api

return_data = self.deserialize(response_data, response_type)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 256, in deserialize

return self.__deserialize(data, response_type)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 295, in __deserialize

return self.__deserialize_model(data, klass)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 636, in __deserialize_model

kwargs[attr] = self.__deserialize(value, attr_type)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 272, in __deserialize

return [self.__deserialize(sub_data, sub_kls)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 272, in

return [self.__deserialize(sub_data, sub_kls)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 295, in __deserialize

return self.__deserialize_model(data, klass)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 636, in __deserialize_model

kwargs[attr] = self.__deserialize(value, attr_type)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 295, in __deserialize

return self.__deserialize_model(data, klass)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 636, in __deserialize_model

kwargs[attr] = self.__deserialize(value, attr_type)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 272, in __deserialize

return [self.__deserialize(sub_data, sub_kls)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 272, in

return [self.__deserialize(sub_data, sub_kls)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 295, in __deserialize

return self.__deserialize_model(data, klass)

File "/usr/lib/python3.8/site-packages/kubernetes/client/api_client.py", line 638, in __deserialize_model

instance = klass(**kwargs)

File "/usr/lib/python3.8/site-packages/kubernetes/client/models/v1_container_image.py", line 50, in __init__

self.names = names

File "/usr/lib/python3.8/site-packages/kubernetes/client/models/v1_container_image.py", line 75, in names

raise ValueError("Invalid value for `names`, must not be `None`") # noqa: E501

ValueError: Invalid value for `names`, must not be `None`

2024-07-25T06:34:34Z ERROR : TASK_RUN TASK_HOOK_RUN 'kubesphere/installRunner.py' on 'KUBE_EVENTS' failed. Will retry after delay. Failed count is 2608. Error: kubesphere/installRunner.py FAILED: exit status 1

2024-07-25T06:34:34Z INFO : TASK_RUN Delay for 5s