Dont used fqdns in "monmaptool" and "ceph-mon --mkfs"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All...

Maybe the issue I am about to report is already found by some of you. If yes, sorry for the duplication.

I spent a lot of time understanding why my mons were not in good condition. ceph service was up and running, but I noticed the following process hanging... A clean installation would always generate the same situation:

    python /usr/sbin/ceph-create-keys --cluster ceph -i <fqdn>

It took me some time to understand that the problem was because i was creating my monmap using the hosts fqdn, and initializing the ceph mon data also using the fqdn. Something like:

# monmaptool --create --add <fqdn> <ip> --fsid `grep fsid /etc/ceph/ceph.conf | cut -f3 -d' '` /tmp/monmap
    monmaptool: monmap file /tmp/monmap
    monmaptool: set fsid to a9431bc6-3ee1-4b0a-8d21-0ad883a4d2ed
    monmaptool: writing epoch 0 to /tmp/monmap (1 monitors)

# ceph-mon --mkfs -i <fqdn> --monmap /tmp/monmap --keyring /tmp/ceph.mon.keyring

That simply makes things crazy in 0.94.1.

Once I substituted the fqdn by simply the hostname (without the domain) it worked.

Cheers
Goncalo


--
Goncalo Borges
Research Computing
ARC Centre of Excellence for Particle Physics at the Terascale
School of Physics A28 | University of Sydney, NSW  2006
T: +61 2 93511937

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux