]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/pick_address: check if address in subnet all public address
authornmordech@redhat.com <nmordech@redhat.com>
Tue, 2 Apr 2024 15:57:41 +0000 (15:57 +0000)
committernmordech@redhat.com <nmordech@redhat.com>
Tue, 2 Apr 2024 15:57:45 +0000 (15:57 +0000)
commit3e2ef5ec2be7a9662458db63fa1bcac08611d727
treeb2ddb0afd9195591d95010ddb95ea1352b7320c6
parent107e1624f2a9b72a56ee529969558944d24a2a75
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>
src/common/pick_address.cc