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

database #13

Open
1 task done
gaoshaojie0708 opened this issue Apr 17, 2024 · 0 comments
Open
1 task done

database #13

gaoshaojie0708 opened this issue Apr 17, 2024 · 0 comments

Comments

@gaoshaojie0708
Copy link

⚠️ 请先阅读. ⚠️

  • 我已经搜过, 没有找到

你在哪个操作系统使用Autospark?

Windows

使用版本分支?

Main

你是使用星火大模型的账号实验的吗?

星火大模型

bug属于什么分类?

安装使用

描述你的问题

连不上数据库,请问数据库这一块的流程是什么样的,需要做什么才可以连接上

如何复现?

CMD ["./wait-for-it.sh", "as__postgres:5432","-t","60","--","./entrypoint.sh"]
配置到这一步骤的时候报错

上传bug日志内容

as__postgres-1 | 2024-04-17 16:28:55.706 CST [42] FATAL: database "as_agi_main" does not exist celery-1 | [2024-04-17 16:28:55,711: INFO/MainProcess] Task initialize-schedule-agent[a2e16292-bd17-41b0-9a2e-77b1388a7b4c] received celery-1 | [2024-04-17 16:28:55,711: DEBUG/MainProcess] basic.qos: prefetch_count->41 celery-1 | [2024-04-17 16:28:55,715: INFO/ForkPoolWorker-9] Task initialize-schedule-agent[a2e16292-bd17-41b0-9a2e-77b1388a7b4c] retry: Retry in 6s: OperationalError('(psycopg2.OperationalError) connection to server at "as__postgres" (172.18.0.2), port 5432 failed: FATAL: database "as_agi_main" does not exist\n') celery-1 | [2024-04-17 16:29:01,709: DEBUG/MainProcess] TaskPool: Apply <function fast_trace_task at 0x7f2cc62a6d30> (args:('initialize-schedule-agent', 'a2e16292-bd17-41b0-9a2e-77b1388a7b4c', {'lang': 'py', 'task': 'initialize-schedule-agent', 'id': 'a2e16292-bd17-41b0-9a2e-77b1388a7b4c', 'shadow': None, 'eta': '2024-04-17T08:29:01.707685+00:00', 'expires': None, 'group': None, 'group_index': None, 'retries': 3, 'timelimit': [None, None], 'root_id': 'a2e16292-bd17-41b0-9a2e-77b1388a7b4c', 'parent_id': 'a2e16292-bd17-41b0-9a2e-77b1388a7b4c', 'argsrepr': '()', 'kwargsrepr': '{}', 'origin': 'gen15@f9eb2a23afaa', 'ignore_result': False, 'properties': {'correlation_id': 'a2e16292-bd17-41b0-9a2e-77b1388a7b4c', 'reply_to': '0335a863-96bc-3bd2-83af-1e746535e59c', 'replaced_task_nesting': 0, 'origin': 'gen8@f9eb2a23afaa', 'delivery_mode': 2, 'delivery_info': {'exchange': '', 'routing_key': 'celery'}, 'priority': 0, 'body_encoding': 'base64', 'delivery_tag': '828377ac-5d24-4c85-a76d-75526fb7d19a'}, 'reply_to': '0335a863-96bc-3bd2-83af-1e746535e59c', 'correlation_id': 'a2e16292-bd17-41b0-9a2e-77b1388a7b4c', 'hostname':... kwargs:{}) celery-1 | [2024-04-17 16:29:01,796: DEBUG/MainProcess] basic.qos: prefetch_count->40

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