]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/pick_address: check if address in subnet all public address 57590/head
authornmordech@redhat.com <nmordech@redhat.com>
Tue, 2 Apr 2024 15:57:41 +0000 (15:57 +0000)
committerNitzan Mordechai <nmordech@redhat.com>
Tue, 21 May 2024 05:21:31 +0000 (05:21 +0000)
commite3a17091c9904c67a26514bc4e9f659169a92502
tree14fc6c30b18ba74b405b5d335ec3d4e8e5f2aa8f
parentb9b067bc6d30ec00e391f0fa43f50affe981ba2f
common/pick_address: check if address in subnet all public address

When mon trying to check if osd joining within subnet address,
it will check only the first subnet and not the rest of the subnets.
this fix will loop over all the other subnet for checks.

Fixes: https://tracker.ceph.com/issues/65186
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
(cherry picked from commit 3e2ef5ec2be7a9662458db63fa1bcac08611d727)
src/common/pick_address.cc