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

octopus: common/ipaddr: Allow binding on lo #39343

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

smithfarm
Copy link
Contributor

backport tracker: https://tracker.ceph.com/issues/48904


backport of #38925
parent tracker: https://tracker.ceph.com/issues/48893

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh

Commmit 5cf0fa8, solves the issue that
the osd can't restart after seting a virtual local loopback IP. However,
this commit also prevents a bgp-to-the-host over unumbered Ipv6
local-link is setup, where OSD typically are bound to the lo interface.

To solve this, this single char patch simply checks against "lo:" to
match only virtual interfaces instead of anything that starts with "lo".

Fixes: https://tracker.ceph.com/issues/48893
Signed-off-by: Thomas Goirand <zigo@debian.org>
(cherry picked from commit 201b592)
@smithfarm smithfarm added this to the octopus milestone Feb 7, 2021
@smithfarm smithfarm requested review from tchaikov, gnehapk and neha-ojha and removed request for gnehapk February 7, 2021 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants