Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Binary1119 opened this issue Jul 25, 2024 · 0 comments
Open

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

Binary1119 opened this issue Jul 25, 2024 · 0 comments

Comments

@Binary1119
Copy link

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
@Binary1119 Binary1119 changed the title ks-install容器启动后运行报错installRunner.py ks-install容器启动后运行installRunner.py后报错 Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant