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

华为云容器动态化部署时,admin服务出现历史日志无法查询问题修改 #3505

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

t1234849
Copy link

  • Bugfix

The description of the PR:
场景:华为云docker容器化动态部署。(服务启动时,会随机容器部署,ip节点动态变更)
情况描述:执行器服务在容器中日志存储路径挂载于宿主机(这样每个容器可以读取日志路径),且容器当重启执行器服务时,会动态化更换随机容器,执行器ip会变更,自动获取的ip为当前执行器的docker实例ip(192...*网段)。容器互通,但容器无法访问其他容器的192网段地址,此处查询数据库日志表执行器字段,会出现历史日志无法访问的问题。所以在此,将访问地址替换为执行器传过来的执行地址。

Other information:
image
3e9c625d05d16f9c910f31072a023ceb

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

Successfully merging this pull request may close these issues.

1 participant