【发布时间】:2021-04-12 23:05:02
【问题描述】:
我正在尝试启动 Prefect 代理,以便使用 Prefect 服务器完成设置。我没有使用prefect server start 进行开箱即用设置,而是使用prefect server config 生成Docker Compose 文件,然后使用docker compose up 启动服务器的服务。当我尝试启动代理时,出现以下错误:
prefect.utilities.exceptions.ClientError:
[{'message': 'No tenant found.',
'locations': [{'line': 2, 'column': 5}],
'path': ['register_agent'],
'extensions': {
'code': 'INTERNAL_SERVER_ERROR',
'exception': {'message': 'No tenant found.'}
}
}]
我该如何解决这个问题?
【问题讨论】:
标签: python-3.x prefect