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

在win下的wsl2里面启动就报错了,加了用户组之后就少了groupmod: invalid group ID 'kubespider'这个错误,其他的看不懂是什么问题 #525

Open
WilliamHWM opened this issue Jun 16, 2024 · 5 comments

Comments

@WilliamHWM
Copy link

13:53:50 Process Process-1:
2024-06-16 13:53:50 Traceback (most recent call last):
2024-06-16 13:53:50 File "/app/kubespider/core/config_handler.py", line 153, in get_notification_provider
2024-06-16 13:53:50 return notification_provider_init_func[provider_type](
2024-06-16 13:53:50 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
2024-06-16 13:53:50 KeyError: 'slack_notification_provider'
2024-06-16 13:53:50
2024-06-16 13:53:50 During handling of the above exception, another exception occurred:
2024-06-16 13:53:50
2024-06-16 13:53:50 Traceback (most recent call last):
2024-06-16 13:53:50 File "/usr/local/lib/python3.11/multiprocessing/process.py", line 314, in bootstrap
2024-06-16 13:53:50 self.run()
2024-06-16 13:53:50 File "/usr/local/lib/python3.11/multiprocessing/process.py", line 108, in run
2024-06-16 13:53:50 self.target(*self.args, **self.kwargs)
2024-06-16 13:53:50 File "/app/kubespider/core/runner.py", line 23, in run
2024-06-16 13:53:50 kubespider_controller.config()
2024-06-16 13:53:50 File "/app/kubespider/core/kubespider_controller.py", line 34, in config
2024-06-16 13:53:50 self.notifications_providers = config_handler.init_notification_config()
2024-06-16 13:53:50 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-16 13:53:50 File "/app/kubespider/core/config_handler.py", line 189, in init_notification_config
2024-06-16 13:53:50 init_notification_providers.append(get_notification_provider(name, conf))
2024-06-16 13:53:50 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-16 13:53:50 File "/app/kubespider/core/config_handler.py", line 158, in get_notification_provider
2024-06-16 13:53:50 raise Exception(str('unknown notification provider type %s', provider_type)) from exc
2024-06-16 13:53:50 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-16 13:53:50 TypeError: decoding str is not supported
2024-06-16 14:00:24 groupmod: invalid group ID 'kubespider'
2024-06-16 14:00:24 usermod: no changes
2024-06-16 14:00:24
2024-06-16 14:00:24 _ _ _ _
2024-06-16 14:00:24 | | ___ | |
___ ___ _ __ (
) | | ___ _ __
2024-06-16 14:00:24 | |/ / | | | '
\ / _ / | ' | |/ _` |/ _ \ '
|
2024-06-16 14:00:24 | <| |
| | |
) | /_ \ |) | | (| | / |
2024-06-16 14:00:24 |_|_\
,|.
/ _||/ ./||_,|___||
2024-06-16 14:00:24 |_|
2024-06-16 14:00:24
2024-06-16 14:00:24 KubeSpider - A global resource download orchestration system
2024-06-16 14:00:24 Build Tag: ${GITHUB_SHA}
2024-06-16 14:00:24 2024-06-16 14:00:24,806-INFO: File handler start running...
2024-06-16 14:00:24 Process Process-1:
2024-06-16 14:00:24 Traceback (most recent call last):
2024-06-16 14:00:24 File "/app/kubespider/core/config_handler.py", line 153, in get_notification_provider
2024-06-16 14:00:24 return notification_provider_init_func[provider_type](
2024-06-16 14:00:24 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
2024-06-16 14:00:24 KeyError: 'slack_notification_provider'
2024-06-16 14:00:24
2024-06-16 14:00:24 During handling of the above exception, another exception occurred:
2024-06-16 14:00:24
2024-06-16 14:00:24 Traceback (most recent call last):
2024-06-16 14:00:24 File "/usr/local/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
2024-06-16 14:00:24 self.run()
2024-06-16 14:00:24 File "/usr/local/lib/python3.11/multiprocessing/process.py", line 108, in run
2024-06-16 14:00:24 self._target(*self._args, **self._kwargs)
2024-06-16 14:00:24 File "/app/kubespider/core/runner.py", line 23, in run
2024-06-16 14:00:24 kubespider_controller.config()
2024-06-16 14:00:24 File "/app/kubespider/core/kubespider_controller.py", line 34, in config
2024-06-16 14:00:24 self.notifications_providers = config_handler.init_notification_config()
2024-06-16 14:00:24 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-16 14:00:24 File "/app/kubespider/core/config_handler.py", line 189, in init_notification_config
2024-06-16 14:00:24 init_notification_providers.append(get_notification_provider(name, conf))
2024-06-16 14:00:24 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-16 14:00:24 File "/app/kubespider/core/config_handler.py", line 158, in get_notification_provider
2024-06-16 14:00:24 raise Exception(str('unknown notification provider type %s', provider_type)) from exc
2024-06-16 14:00:24 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-16 14:00:24 TypeError: decoding str is not supported

@miRemid
Copy link
Collaborator

miRemid commented Jun 16, 2024

感谢反馈问题,请问启动方式是什么?是否是docker形式部署的?

@WilliamHWM
Copy link
Author

WilliamHWM commented Jun 17, 2024 via email

@miRemid
Copy link
Collaborator

miRemid commented Jun 17, 2024

本机wsl2没有复现成功
image
os: win11 23H2 wsl2 ubuntu 22.04
请问你使用的哪种方式安装的docker?如果使用的是Windows版本的Docker Desktop提供后端支持,请卸载删除后直接在wsl2中安装docker,curl https://get.docker.com | sh

@WilliamHWM
Copy link
Author

WilliamHWM commented Jun 17, 2024 via email

@miRemid
Copy link
Collaborator

miRemid commented Jun 17, 2024

请给Docker更换镜像源,这部分可以参考Daocloud

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

2 participants