Re: Running Ceph issues: HEALTH_WARN, unknown auth protocol, others

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

 



Le 01/05/2013 18:23, Wyatt Gorman a écrit :
Here is my ceph.conf. I just figured out that the second host = isn't necessary, though it is like that on the 5-minute quick start guide... (Perhaps I'll submit my couple of fixes that I've had to implement so far). That fixes the "redefined host" issue, but none of the others.

I don't know if it's a copy paste issue, but you have two carriage return laking.
See below.


[global]
    # For version 0.55 and beyond, you must explicitly enable or
    # disable authentication with "auth" entries in [global].
   
    auth cluster required = cephx
    auth service required = cephx
    auth client required = cephx [osd]

=> [osd] must be on a new line.

    osd journal size = 1000
   
    #The following assumes ext4 filesystem.
    filestore xattr use omap = true
    # For Bobtail (v 0.56) and subsequent versions, you may add
    #settings for mkcephfs so that it will create and mount the file
    #system on a particular OSD for you. Remove the comment `#`
    #character for the following settings and replace the values in
    #braces with appropriate values, or leave the following settings
    #commented out to accept the default values. You must specify
    #the --mkfs option with mkcephfs in order for the deployment
    #script to utilize the following settings, and you must define
    #the 'devs' option for each osd instance; see below. osd mkfs
    #type = {fs-type} osd mkfs options {fs-type} = {mkfs options} #
    #default for xfs is "-f" osd mount options {fs-type} = {mount
    #options} # default mount option is "rw,noatime"
    # For example, for ext4, the mount option might look like this:
   
    #osd mkfs options ext4 = user_xattr,rw,noatime
    # Execute $ hostname to retrieve the name of your host, and
    # replace {hostname} with the name of your host. For the
    # monitor, replace {ip-address} with the IP address of your
    # host.
[mon.a]
    host = ceph
    mon addr = 10.81.2.100:6789 [osd.0]

=> [osd.0] moust be on a new line, so host = ceph is not a duplicate anymore.

    host = ceph
   
    # For Bobtail (v 0.56) and subsequent versions, you may add
    # settings for mkcephfs so that it will create and mount the
    # file system on a particular OSD for you. Remove the comment
    # `#` character for the following setting for each OSD and
    # specify a path to the device if you use mkcephfs with the
    # --mkfs option.
   
    #devs = {path-to-device}
[osd.1]
    host = ceph
    #devs = {path-to-device}
[mds.a]
    host = ceph

[...]
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux