]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: _parse_ipv6_route: Fix parsing ifs w/o route
authorSebastian Wagner <sewagner@redhat.com>
Thu, 20 Jan 2022 11:00:07 +0000 (12:00 +0100)
committerSebastian Wagner <sewagner@redhat.com>
Thu, 20 Jan 2022 11:00:18 +0000 (12:00 +0100)
commit0f7a26d9498c30fa625b414c0d89c728cb52b789
treec81aa2c0f191399300a97f488f86fa6af51db06b
parent0ccd1f69be073987972f01e5e99fc1c19234034d
cephadm: _parse_ipv6_route: Fix parsing ifs w/o route

Fix parsing interfaces as returned by `ip -6 addr ls` that
don't have a route associated.

Note, in this case there is no route for enp3s0f1

Fixes: https://tracker.ceph.com/issues/53842
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
src/cephadm/cephadm
src/cephadm/tests/test_networks.py