docker compose 启动异常。
gpt_raisound-webserver-1 | File "/app/dbgpt/model/cluster/worker/manager.py", line 628, in start gpt_raisound-webserver-1 | return await self.worker_manager.start() gpt_raisound-webserver-1 | File "/app/dbgpt/model/cluster/worker/remote_manager.py", line 20, in start gpt_raisound-webserver-1 | listener(self) gpt_raisound-webserver-1 | File "/app/dbgpt/app/base.py", line 82, in startup_event gpt_raisound-webserver-1 | conn_manage = ConnectManager(system_app) gpt_raisound-webserver-1 | File "/app/dbgpt/datasource/manages/connection_manager.py", line 54, in __init__ gpt_raisound-webserver-1 | self.db_summary_client = DBSummaryClient(system_app) gpt_raisound-webserver-1 | File "/app/dbgpt/rag/summary/db_summary_client.py", line 31, in __init__ gpt_raisound-webserver-1 | self.embeddings = embedding_factory.create( gpt_raisound-webserver-1 | File "/app/dbgpt/app/initialization/embedding_component.py", line 51, in create gpt_raisound-webserver-1 | worker_manager = self.system_app.get_component( gpt_raisound-webserver-1 | File "/app/dbgpt/component.py", line 194, in get_component gpt_raisound-webserver-1 | raise ValueError(f"No component found with name {name}") gpt_raisound-webserver-1 | ValueError: No component found with name dbgpt_worker_manager_factory gpt_raisound-webserver-1 | gpt_raisound-webserver-1 | ========== gpt_raisound-webserver-1 | == CUDA == gpt_raisound-webserver-1 | ========== gpt_raisound-webserver-1 | gpt_raisound-webserver-1 | CUDA Version 11.8.0 gpt_raisound-webserver-1 | gpt_raisound-webserver-1 | Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. gpt_raisound-webserver-1 | gpt_raisound-webserver-1 | This container image and its contents are governed by the NVIDIA Deep Learning Container License. gpt_raisound-webserver-1 | By pulling and using the container, you accept the terms and conditions of this license: gpt_raisound-webserver-1 | https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license gpt_raisound-webserver-1 | gpt_raisound-webserver-1 | A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience. gpt_raisound-webserver-1 | gpt_raisound-webserver-1 | 2024-01-08 07:31:55 c34610dee355 dbgpt.component[1] INFO Register component with name dbgpt_unified_metadata_db_manager_factory and instance: <dbgpt.storage.metadata.db_factory.UnifiedDBManagerFactory object at 0x7f5652e42590>
Search before asking
Operating system information
Linux
Python version information
DB-GPT version
latest release
Related scenes
Installation Information
[ ] Installation From Source
[ ] Docker Installation
[X] Docker Compose Installation
[ ] Cluster Installation
[ ] AutoDL Image
[ ] Other
Device information
设备无异常,环境无异常,和v0.4.4同系统底层。 ubuntu22.04
Models information
基础潜入模型。
What happened
docker compose 启动异常。
gpt_raisound-webserver-1 | File "/app/dbgpt/model/cluster/worker/manager.py", line 628, in start gpt_raisound-webserver-1 | return await self.worker_manager.start() gpt_raisound-webserver-1 | File "/app/dbgpt/model/cluster/worker/remote_manager.py", line 20, in start gpt_raisound-webserver-1 | listener(self) gpt_raisound-webserver-1 | File "/app/dbgpt/app/base.py", line 82, in startup_event gpt_raisound-webserver-1 | conn_manage = ConnectManager(system_app) gpt_raisound-webserver-1 | File "/app/dbgpt/datasource/manages/connection_manager.py", line 54, in __init__ gpt_raisound-webserver-1 | self.db_summary_client = DBSummaryClient(system_app) gpt_raisound-webserver-1 | File "/app/dbgpt/rag/summary/db_summary_client.py", line 31, in __init__ gpt_raisound-webserver-1 | self.embeddings = embedding_factory.create( gpt_raisound-webserver-1 | File "/app/dbgpt/app/initialization/embedding_component.py", line 51, in create gpt_raisound-webserver-1 | worker_manager = self.system_app.get_component( gpt_raisound-webserver-1 | File "/app/dbgpt/component.py", line 194, in get_component gpt_raisound-webserver-1 | raise ValueError(f"No component found with name {name}") gpt_raisound-webserver-1 | ValueError: No component found with name dbgpt_worker_manager_factory gpt_raisound-webserver-1 | gpt_raisound-webserver-1 | ========== gpt_raisound-webserver-1 | == CUDA == gpt_raisound-webserver-1 | ========== gpt_raisound-webserver-1 | gpt_raisound-webserver-1 | CUDA Version 11.8.0 gpt_raisound-webserver-1 | gpt_raisound-webserver-1 | Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. gpt_raisound-webserver-1 | gpt_raisound-webserver-1 | This container image and its contents are governed by the NVIDIA Deep Learning Container License. gpt_raisound-webserver-1 | By pulling and using the container, you accept the terms and conditions of this license: gpt_raisound-webserver-1 | https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license gpt_raisound-webserver-1 | gpt_raisound-webserver-1 | A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience. gpt_raisound-webserver-1 | gpt_raisound-webserver-1 | 2024-01-08 07:31:55 c34610dee355 dbgpt.component[1] INFO Register component with name dbgpt_unified_metadata_db_manager_factory and instance: <dbgpt.storage.metadata.db_factory.UnifiedDBManagerFactory object at 0x7f5652e42590>
gpt_raisound-webserver-1 | File "/app/dbgpt/app/base.py", line 82, in startup_event gpt_raisound-webserver-1 | conn_manage = ConnectManager(system_app) gpt_raisound-webserver-1 | File "/app/dbgpt/datasource/manages/connection_manager.py", line 54, in __init__ gpt_raisound-webserver-1 | self.db_summary_client = DBSummaryClient(system_app) gpt_raisound-webserver-1 | File "/app/dbgpt/rag/summary/db_summary_client.py", line 31, in __init__ gpt_raisound-webserver-1 | self.embeddings = embedding_factory.create( gpt_raisound-webserver-1 | File "/app/dbgpt/app/initialization/embedding_component.py", line 51, in create gpt_raisound-webserver-1 | worker_manager = self.system_app.get_component( gpt_raisound-webserver-1 | File "/app/dbgpt/component.py", line 194, in get_component gpt_raisound-webserver-1 | raise ValueError(f"No component found with name {name}") gpt_raisound-webserver-1 | ValueError: No component found with name dbgpt_worker_manager_factory gpt_raisound-embedding-worker-1 | 2024-01-08 07:39:53 55115274b26e dbgpt.util.api_utils[1] DEBUG return_type: <class 'bool'>, actual_dataclass: None gpt_raisound-embedding-worker-1 | 2024-01-08 07:39:53 55115274b26e dbgpt.util.api_utils[1] DEBUG request_params: {'method': 'POST', 'url': 'http://controller:8000/api/controller/heartbeat', 'json': {'model_name': 'text2vec@text2vec', 'host': '172.20.0.4', 'port': 8002, 'weight': 1.0, 'check_healthy': True, 'healthy': False, 'enabled': True, 'prompt_template': None, 'last_heartbeat': None}}, args: (ModelInstance(model_name='text2vec@text2vec', host='172.20.0.4', port=8002, weight=1.0, check_healthy=True, healthy=False, enabled=True, prompt_template=None, last_heartbeat=None),), kwargs: {} gpt_raisound-embedding-worker-1 | 2024-01-08 07:39:54 55115274b26e dbgpt.util.api_utils[1] DEBUG return_type: <class 'bool'>, actual_dataclass: None gpt_raisound-embedding-worker-1 | 2024-01-08 07:39:54 55115274b26e dbgpt.util.api_utils[1] DEBUG request_params: {'method': 'POST', 'url': 'http://controller:8000/api/controller/heartbeat', 'json': {'model_name': 'WorkerManager@service', 'host': '172.20.0.4', 'port': 8002, 'weight': 1.0, 'check_healthy': True, 'healthy': False, 'enabled': True, 'prompt_template': None, 'last_heartbeat': None}}, args: (ModelInstance(model_name='WorkerManager@service', host='172.20.0.4', port=8002, weight=1.0, check_healthy=True, healthy=False, enabled=True, prompt_template=None, last_heartbeat=None),), kwargs: {} gpt_raisound-embedding-worker-1 | 2024-01-08 07:39:54 55115274b26e httpcore.connection[1] DEBUG connect_tcp.started host='controller' port=8000 local_address=None timeout=5.0 socket_options=None gpt_raisound-embedding-worker-1 | 2024-01-08 07:39:54 55115274b26e httpcore.connection[1] DEBUG connect_tcp.started host='controller' port=8000 local_address=None timeout=5.0 socket_options=None gpt_raisound-embedding-worker-1 | 2024-01-08 07:39:54 55115274b26e httpcore.connection[1] DEBUG connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7f01d63512a0> gpt_raisound-embedding-worker-1 | 2024-01-08 07:39:54 55115274b26e httpcore.http11[1] DEBUG send_request_headers.started request=<Request [b'POST']> gpt_raisound-embedding-worker-1 | 2024-01-08 07:39:54 55115274b26e httpcore.http11[1] DEBUG send_request_headers.complete gpt_raisound-embedding-worker-1 | 2024-01-08 07:39:54 55115274b26e httpcore.http11[1] DEBUG send_request_body.started request=<Request [b'POST']> gpt_raisound-embedding-worker-1 | 2024-01-08 07:39:54 55115274b26e httpcore.connection[1] DEBUG connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7f0111ce6f80>
What you expected to happen
dbgpt_worker_manager_factory 组件定义使用错误?
How to reproduce
启动文件如下: `version: '3.10'
services: controller: image: eosphorosai/dbgpt:v0.4.5 command: dbgpt start controller restart: unless-stopped networks:
Please modify it to your own model directory
Please modify it to your own model directory
Please modify it to your own model directory
env_file:
- .env.template
ports:
webserver may be failed, it must wait all sqls in /docker-entrypoint-initdb.d execute finish.
restart: unless-stopped networks:
Additional context
No response
Are you willing to submit PR?