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

msg: filter out lo addr when bind osd addr #7012

Merged
merged 1 commit into from Jan 6, 2016

Conversation

chenji-kael
Copy link
Contributor

Occasionally found osd will bind a wrong ip addr
which appear in the loopback eth device. So this
ip addr need be filterd

Signed-off-by: Ji Chen insomnia@139.com

Occasionally found osd will bind a wrong ip addr
which appear in the loopback eth device. So this
ip addr need be filterd

Signed-off-by: Ji Chen <insomnia@139.com>
@liewegas
Copy link
Member

Why would the configured subnet have an IP on the lo device?

@chenji-kael
Copy link
Contributor Author

@liewegas
sometimes we do need bind a outside ip with lo device for example a lvs ip 119.147.179.129 ,in that way ,if I also config public/cluster network ,but this host`s ip is 119.147.179.125. Then it is possible to get the wrong ip.Instead, if not config public network or cluster network ,it works fine.

liewegas added a commit that referenced this pull request Jan 6, 2016
msg: filter out lo addr when bind osd addr

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit 5a1d9f6 into ceph:master Jan 6, 2016
@chenji-kael chenji-kael deleted the wip-fix-eth-bind branch January 27, 2016 03:51
@ghost ghost changed the title filter lo addr when bind osd addr msg: filter out lo addr when bind osd addr Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants