Skip to content

fix bm can only have one host #22529

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

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

Conversation

zackzhangkai
Copy link

@zackzhangkai zackzhangkai commented May 14, 2025

What this PR does / why we need it:

在托管时,只能添加一个物理机,通过这个方式修复后可以添加多个物理机;

Does this PR need to be backport to the previous release branch?:

@zackzhangkai
Copy link
Author

@zexi 帮忙看看这个pr

@zexi
Copy link
Member

zexi commented May 21, 2025

@zackzhangkai 添加多个物理机是什么意思?

@zackzhangkai
Copy link
Author

zackzhangkai commented May 29, 2025

@zexi

场景:
两台(及以上)物理机托管到cloudpods,纳管会失败。原因: registered这个变量设置过早,第一个物理机成功后,这个变量就true了,导致后面的机器开始走register时,误认为已经注册过导致失败。

这里代码改成每次都会重新检测是否注册

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.

2 participants