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

peer id not found #10432

Closed
BelChance opened this issue May 6, 2023 · 5 comments
Closed

peer id not found #10432

BelChance opened this issue May 6, 2023 · 5 comments

Comments

@BelChance
Copy link

BelChance commented May 6, 2023

Describe the bug
nacos版本:2.2.0
alipay-jraft.log:

sh-4.2# tail alipay-jraft.log
2023-05-06 10:00:42,035 WARN Node <naming_persistent_service/10.233.106.195:7848> PreVote to nacos-his-v1-1.nacos-his.his.svc.cluster.local:7848 error: Status[ENOENT<1012>: Peer id not found: nacos-his-v1-1.nacos-his.his.svc.cluster.local:7848, group: naming_persistent_service].

2023-05-06 10:00:42,831 INFO Node <naming_persistent_service_v2/10.233.106.195:7848> term 0 start preVote.

2023-05-06 10:00:42,833 WARN Node <naming_persistent_service_v2/10.233.106.195:7848> PreVote to nacos-his-v1-0.nacos-his.his.svc.cluster.local:7848 error: Status[ENOENT<1012>: Peer id not found: nacos-his-v1-0.nacos-his.his.svc.cluster.local:7848, group: naming_persistent_service_v2].

2023-05-06 10:00:42,833 WARN Node <naming_persistent_service_v2/10.233.106.195:7848> PreVote to nacos-his-v1-1.nacos-his.his.svc.cluster.local:7848 error: Status[ENOENT<1012>: Peer id not found: nacos-his-v1-1.nacos-his.his.svc.cluster.local:7848, group: naming_persistent_service_v2].

2023-05-06 10:00:42,833 WARN Node <naming_persistent_service_v2/10.233.106.195:7848> PreVote to nacos-his-v1-2.nacos-his.his.svc.cluster.local:7848 error: Status[ENOENT<1012>: Peer id not found: nacos-his-v1-2.nacos-his.his.svc.cluster.local:7848, group: naming_persistent_service_v2].

我只有三个节点,但是却上线了四个,且节点元数据看起来不太正常。
image

cluster.conf

nacos-his-v1-0.nacos-his.his.svc.cluster.local:8848
nacos-his-v1-1.nacos-his.his.svc.cluster.local:8848
nacos-his-v1-2.nacos-his.his.svc.cluster.local:8848

端口开放情况
image
image

Expected behavior
A clear and concise description of what you expected to happen.

@KomachiSion
Copy link
Collaborator

deploy problem, the server think self is ip not hostname.

Please use set nacos.inetutils.prefer-hostname-over-ip=true

@BelChance
Copy link
Author

BelChance commented May 8, 2023

deploy problem, the server think self is ip not hostname.

Please use set nacos.inetutils.prefer-hostname-over-ip=true

it works , thanks your help !
I should really learn more and harder!
Thanks again !

@llylhz
Copy link

llylhz commented Nov 8, 2023

image
image
大神,帮我看看我的啥问题

@llylhz
Copy link

llylhz commented Nov 8, 2023

image
image

@zhaoyan120
Copy link

解决了吗 我也是这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants