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

[求助/Help]关于baremetal-agent在多可用区部署的问题 #19745

Open
Guojing20210406 opened this issue Mar 19, 2024 · 6 comments
Open
Labels
question Further information is requested stale state/awaiting processing

Comments

@Guojing20210406
Copy link

参考问题 #18556。目前的情况在这里回复了,我这里在复述一下。
我现在在多个可用区部署baremetal-agent。由于我此前已经部署了一个,现在部署第二个的时候,第二个baremetal-agent仍然会找到第一个node运行(我看日志上ip发现的)。我想知道实际操作多可用区baremetal-agent应该怎么做?

@Guojing20210406 Guojing20210406 added the question Further information is requested label Mar 19, 2024
@zexi
Copy link
Member

zexi commented Mar 21, 2024

@Guojing20210406
Copy link
Author

我就是参考这个文档做的。但是修改完onecloudcluster之后。确实有2个baremetal-agent起来了,但是他们是冲突的,他们zone是一样的,所以就会冲突了。

@zexi
Copy link
Member

zexi commented Mar 22, 2024

https://www.cloudpods.org/docs/operations/multi-zone-config

@Guojing20210406 执行 climc agent-list 看下,另外可以看下另外一个 baremetal-agent 对应的 configmap 里面设置的 zone 是什么

@Guojing20210406
Copy link
Author

他们configmap的zone都是一样,是第一个zoneid。意思直接修改configmap的zone就可以?

@zexi
Copy link
Member

zexi commented Mar 22, 2024

他们configmap的zone都是一样,是第一个zoneid。意思直接修改configmap的zone就可以?

@Guojing20210406 可以修改后试试,用 climc zone-list 可以查看到有的 zone

@Guojing20210406
Copy link
Author

好的,我试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale state/awaiting processing
Projects
None yet
Development

No branches or pull requests

2 participants