cephadm bootstrap failed with ERROR: mgr not available after 15 tries

Solution Verified - Updated -

Issue

  • cephadm bootstrap failed with ERROR: mgr not available after 15 tries:
[cephadmin@rhcs5test1 ~]$ sudo cephadm bootstrap --mon-ip 10.72.44.219 --registry-url registry.redhat.io --registry-username xxx --registry-password xxx --fsid ead92456-bfc7-11ec-bf3b-001a4a1603e8 -c /root/ceph-init.conf --ssh-user cephadmin --ssh-private-key /home/cephadmin/.ssh/id_rsa --ssh-public-key /home/cephadmin/.ssh/id_rsa.pub --skip-firewalld --allow-overwrite --yes-i-know 
Verifying podman|docker is present...
Verifying lvm2 is present...
Verifying time synchronization is in place...
Unit chronyd.service is enabled and running
Repeating the final host check...
podman (/bin/podman) version 3.2.3 is present
systemctl is present
lvcreate is present
Unit chronyd.service is enabled and running
Host looks OK
Cluster fsid: 3fd2a64f-50c0-4cc7-8d85-d93590ff5c99
Verifying IP 10.72.44.219 port 3300 ...
Verifying IP 10.72.44.219 port 6789 ...
Mon IP `10.72.44.219` is in CIDR network `10.72.44.0/22`
- internal network (--cluster-network) has not been provided, OSD replication will default to the public_network
Logging into custom registry.
Pulling container image registry.redhat.io/rhceph/rhceph-5-rhel8:latest...
Ceph version: ceph version 16.2.7-112.el8cp (e18db2ff03ac60c64a18f3315c032b9d5a0a3b8f) pacific (stable)
Extracting ceph user uid/gid from container image...
Creating initial keys...
Creating initial monmap...
Creating mon...
firewalld ready
Waiting for mon to start...
Waiting for mon...
mon is available
Assimilating anything we can from ceph.conf...
Generating new minimal ceph.conf...
Restarting the monitor...
Setting mon public_network to 10.72.44.0/22
Wrote config to /etc/ceph/ceph.conf
Wrote keyring to /etc/ceph/ceph.client.admin.keyring
Creating mgr...
Verifying port 9283 ...
firewalld ready
firewalld ready
Waiting for mgr to start...
Waiting for mgr...
mgr not available, waiting (1/15)...
mgr not available, waiting (2/15)...
mgr not available, waiting (3/15)...
mgr not available, waiting (4/15)...
mgr not available, waiting (5/15)...
mgr not available, waiting (6/15)...
mgr not available, waiting (7/15)...
mgr not available, waiting (8/15)...
mgr not available, waiting (9/15)...
mgr not available, waiting (10/15)...
mgr not available, waiting (11/15)...
mgr not available, waiting (12/15)...
mgr not available, waiting (13/15)...
mgr not available, waiting (14/15)...
mgr not available, waiting (15/15)...
ERROR: mgr not available after 15 tries

Environment

  • Red Hat Ceph Storage 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content