Bug #63388
closedmgr: discovery service (port 8765) fails if ms_bind ipv6 only
0%
Description
We are deploying clusters in ipv6 only currently with cephadm and we can't have metrics because the discovery service fails since it contains ipv4 only code.
Updated by Theofilos Mouratidis 6 months ago
MGR Logs
```
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [dashboard INFO dashboard.controllers._base_controller] Initializing controller: PrometheusReceiver -> /api/prometheus_receiver
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [dashboard INFO dashboard.controllers._base_controller] Initializing controller: Prometheus -> /api/prometheus
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [dashboard INFO dashboard.controllers._base_controller] Initializing controller: PrometheusNotifications -> /api/prometheus/notifi>
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [dashboard INFO dashboard.controllers._base_controller] Initializing controller: PrometheusSettings -> /ui-api/prometheus
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [dashboard INFO dashboard.controllers._base_controller] Initializing controller: Monitor -> /api/monitor
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [dashboard INFO dashboard.controllers._base_controller] Initializing controller: FrontendLogging -> /ui-api/logging
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [dashboard INFO dashboard.controllers._base_controller] Initializing controller: Host -> /api/host
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [cephadm ERROR root] Failed to run cephadm http server: Expected 4 octets in '2001:620:5ca1:1f0:f816:3eff:fe22:5cd8'
Oct 10 12:09:43 ceph-test-2 conmon1939369: 2023-10-10T10:09:43.634+0000 7f9f1138d700 -1 log_channel(cephadm) log [ERR] : Failed to run cephadm http server: Expected 4 octets in '2001:620:5ca1:1f0:f816:3eff:fe22:5cd8'
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: log_channel(cephadm) log [ERR] : Failed to run cephadm http server: Expected 4 octets in '2001:620:5ca1:1f0:f816:3eff:fe22:5cd8
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [dashboard INFO dashboard.controllers._base_controller] Initializing controller: HostUi -> /ui-api/host
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [dashboard INFO dashboard.controllers._base_controller] Initializing controller: Health -> /api/health
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [dashboard INFO dashboard.controllers._base_controller] Initializing controller: ClusterConfiguration -> /api/cluster_conf
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [dashboard INFO dashboard.controllers._base_controller] Initializing controller: Daemon -> /api/daemon
Oct 10 12:09:43 ceph-test-2 ceph-mgr1939374: [dashboard INFO dashboard.controllers._base_controller] Initializing controller: Telemetry -> /api/telemetry
```
Updated by Backport Bot 6 months ago
- Copied to Backport #63448: reef: mgr: discovery service (port 8765) fails if ms_bind ipv6 only added
Updated by Adam King about 2 months ago
- Status changed from Pending Backport to Resolved