-
Notifications
You must be signed in to change notification settings - Fork 14
Description
I'm trying to use this in a very minimal setup with just one or two physical hosts. I can set up the configs and secrets, but once the stack is launched, the ceph cluster doesn't seem to initialize.
Here's my ceph.conf:
[global]
fsid = 227bf44e-87de-4820-b0c6-89c1b76ee3b0
mon initial members = node1_hostname
mon host = node1_hostname
public network = 192.168.0.0/24
osd journal size = 100
log file = /dev/null
mon cluster log file = /var/lib/ceph/mon/$cluster-$id/$channel.log
When I open the monitor, ceph -s hangs, and I eventually get "error connection to cluster", errno 110. I can see that the docker swarm successfully deployed 2 mds nodes, 1 mgr node, 1 mon node, and 1 osd (I get the same behavior when I hook up a second computer and have 2 osd nodes).
Is this setup too minimal? Will the cluster fail to initialize unless I have at least 3 mon's or 3 osd's? Is it possibly because I gave only a local hostname for "mon host" instead of a full domain name (I don't run my own DNS, so I'm not sure what fully qualified domain name I'd use)?