]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: _parse_ipv6_route: Fix parsing ifs w/o route 44877/head
authorSebastian Wagner <sewagner@redhat.com>
Thu, 20 Jan 2022 11:00:07 +0000 (12:00 +0100)
committerAdam King <adking@redhat.com>
Thu, 3 Feb 2022 14:36:04 +0000 (09:36 -0500)
commita6bb5dd4be902b48ed5bfa4214e98c30eb6b12d5
tree6650045cc7626a12835d9e942037f83eb8a514c1
parent81ec2d407c57513b5c6aee9a380c7b8472f260d1
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