You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
找到问题了
OpsManage/init.py文件中
from celery import app as celery_app
应该为
from .celery import app as celery_app
之前的代码中celery配置参数不生效,连接的是默认的rabbitmq://guest:guest@127.0.0.1,如果恰好应用和rabbitmq正好在同一台主机上,就没有问题,不然就有问题了
用容器运行,db管理-》mysql-》数据查询,一直pending
不使用容器运行则没有这个问题,ops_web镜像是使用docker目录的build.sh构建的
The text was updated successfully, but these errors were encountered: