Actions
Bug #45016
closedmgr: `ceph tell mgr mgr_status` hangs
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
cephadm bootstrap hangs:
root@buster:/cephadm# ./cephadm --image quay.io/ceph-ci/ceph:master bootstrap --mon-ip '[::1]' --skip-mon-network INFO:cephadm:Verifying podman|docker is present... INFO:cephadm:Verifying lvm2 is present... INFO:cephadm:Verifying time synchronization is in place... INFO:cephadm:Unit systemd-timesyncd.service is enabled and running INFO:cephadm:Repeating the final host check... INFO:cephadm:podman|docker (/usr/bin/podman) is present INFO:cephadm:systemctl is present INFO:cephadm:lvcreate is present INFO:cephadm:Unit systemd-timesyncd.service is enabled and running INFO:cephadm:Host looks OK INFO:root:Cluster fsid: 160e9ea8-7a60-11ea-b487-525400e3bceb INFO:cephadm:Verifying IP [::1] port 3300 ... INFO:cephadm:Verifying IP [::1] port 6789 ... INFO:cephadm:Pulling latest quay.io/ceph-ci/ceph:master container... INFO:cephadm:Extracting ceph user uid/gid from container image... INFO:cephadm:Creating initial keys... INFO:cephadm:Creating initial monmap... INFO:cephadm:Creating mon... INFO:cephadm:Waiting for mon to start... INFO:cephadm:Waiting for mon... INFO:cephadm:Assimilating anything we can from ceph.conf... INFO:cephadm:Generating new minimal ceph.conf... INFO:cephadm:Restarting the monitor... INFO:cephadm:Creating mgr... INFO:cephadm:Wrote keyring to /etc/ceph/ceph.client.admin.keyring INFO:cephadm:Wrote config to /etc/ceph/ceph.conf INFO:cephadm:Waiting for mgr to start... INFO:cephadm:Waiting for mgr... INFO:cephadm:mgr not available, waiting (1/10)... INFO:cephadm:mgr not available, waiting (2/10)... INFO:cephadm:mgr not available, waiting (3/10)... INFO:cephadm:mgr not available, waiting (4/10)... INFO:cephadm:Enabling cephadm module... INFO:cephadm:Waiting for the mgr to restart... INFO:cephadm:Waiting for mgr epoch 5... ^C
While `mgr dump` works:
root@buster:/cephadm# ./cephadm shell -- ceph mgr dump | jq .epoch INFO:cephadm:Inferring fsid 160e9ea8-7a60-11ea-b487-525400e3bceb INFO:cephadm:Using recent ceph image quay.io/ceph-ci/ceph:master 8
But `ceph tell mgr mgr_status` hangs:
root@buster:/cephadm# ./cephadm shell -- ceph tell mgr mgr_status INFO:cephadm:Inferring fsid 160e9ea8-7a60-11ea-b487-525400e3bceb INFO:cephadm:Using recent ceph image quay.io/ceph-ci/ceph:master ^CInterrupted
And neither mon or mgr logs show a trace of the attempted call.
root@buster:/cephadm# ./cephadm shell -- ceph config generate-minimal-conf # minimal ceph.conf for 160e9ea8-7a60-11ea-b487-525400e3bceb [global] fsid = 160e9ea8-7a60-11ea-b487-525400e3bceb mon_host = [v2:[::1]:3300/0,v1:[::1]:6789/0]
Any idea where to look for clues?
Actions