Bug #64720
openCannot infer CIDR network on Hetzner Cloud
0%
Description
On Hetzner Cloud, I run cephadm bootstrap --mon-ip 10.0.0.6
and receive the "Cannot infer CIDR network" error.
This is a BRD style network (10.0.0.0/16) please see the outputs below.
# ip r default via 10.0.0.1 dev ens10 10.0.0.0/16 via 10.0.0.1 dev ens10 10.0.0.1 dev ens10 scope link 169.254.169.254 via 10.0.0.1 dev ens10 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown 172.18.0.0/16 dev docker_gwbridge proto kernel scope link src 172.18.0.1 # ip addr show ens10 2: ens10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether 86:00:00:7c:3c:8a brd ff:ff:ff:ff:ff:ff altname enp0s10 inet 10.0.0.6/32 brd 10.0.0.6 scope global dynamic ens10 valid_lft 69190sec preferred_lft 69190sec inet6 fe80::8400:ff:fe7c:3c8a/64 scope link valid_lft forever preferred_lft forever
Some changes have been made in the context of https://tracker.ceph.com/issues/50688 but looks like even the current regex doesn't match the second line because it's missing the text "scope link".
Updated by John Mulligan about 2 months ago
In order to reliably fix the issue without regressions we'll want to reproduce the problem. However, I can't find documentation that really matches your description of the your 'ip' command output when searching for "BRD style networking" or "linux BRD networking" via a web search.
Could you please link to documentation, either from Hetzner or general linux docs that describes the configuration in more detail please? Additionally, can you please share the `ip link show` output for the device in question? Thanks.