ceph-radosgw service crashes on fresh deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph RADOS Gateway Charm |
New
|
Undecided
|
Unassigned |
Bug Description
ceph-radosgw keeps in blocked state with message "Services not running that should be: <email address hidden>".
The unit is deployed on a fresh and healthy ceph cluster on MAAS/ubuntu-focal with:
juju deploy -n 3 --to lxd:0,lxd:1,lxd:2 --config rgw.yaml --config vip=10.10.0.151 ceph-radosgw
juju deploy --config cluster_count=3 hacluster radosgw-hacluster
juju add-relation radosgw-
juju add-relation ceph-radosgw:mon ceph-mon:radosgw
rgw.yaml
ceph-radosgw:
source: cloud:focal-wallaby
pool-type: erasure-coded
bluestore-
bluestore-
ec-profile-
ec-profile-k: 4
ec-profile-m: 2
ec-profile-name: erasure-4-2
ec-profile-
ec-profile-
rgw-buckets-
Output of "systemctl status <email address hidden>"
<email address hidden> - Ceph rados gateway
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Wed 2021-08-18 16:37:54 UTC; 11min ago
Process: 61895 ExecStart=
Main PID: 61895 (code=exited, status=1/FAILURE)
Aug 18 16:37:54 juju-c42313-0-lxd-1 systemd[1]: <email address hidden>: Scheduled restart job, restart counter is at 5.
Aug 18 16:37:54 juju-c42313-0-lxd-1 systemd[1]: Stopped Ceph rados gateway.
Aug 18 16:37:54 juju-c42313-0-lxd-1 systemd[1]: <email address hidden>: Start request repeated too quickly.
Aug 18 16:37:54 juju-c42313-0-lxd-1 systemd[1]: <email address hidden>: Failed with result 'exit-code'.
Aug 18 16:37:54 juju-c42313-0-lxd-1 systemd[1]: Failed
From the log, it looks like the ceph-radosgw cannot talk to the ceph-mons. Are the radosgw units bound to the correct space for ceph-access? It looks like a network issue because of these repeating log lines:
Aug 18 16:37:53 juju-c42313-0-lxd-1 radosgw[61880]: unable to get monitor info from DNS SRV with service name: ceph-mon 18T16:37: 53.730+ 0000 7f79327e9cc0 -1 failed for service _ceph-mon._tcp 18T16:37: 53.730+ 0000 7f79327e9cc0 -1 monclient: get_monmap_ and_config cannot identify monitors to contact
Aug 18 16:37:53 juju-c42313-0-lxd-1 radosgw[61880]: 2021-08-
Aug 18 16:37:53 juju-c42313-0-lxd-1 radosgw[61880]: 2021-08-
Aug 18 16:37:53 juju-c42313-0-lxd-1 radosgw[61880]: failed to fetch mon config (--no-mon-config to skip)