[ceph-users] can't figure out why I have HEALTH_WARN in luminous

Michael Kuriger mk7193 at dexyp.com
Mon Sep 25 08:51:39 PDT 2017


Thanks!!  I did see that warning, but it never occurred to me I need to disable it.

 
Mike Kuriger 
Sr. Unix Systems Engineer 
T: 818-649-7235 M: 818-434-6195 
 <http://www.dexyp.com/>
 

On 9/23/17, 5:52 AM, "John Spray" <jspray at redhat.com> wrote:

    On Fri, Sep 22, 2017 at 6:48 PM, Michael Kuriger <mk7193 at dexyp.com> wrote:
    > I have a few running ceph clusters.  I built a new cluster using luminous,
    > and I also upgraded a cluster running hammer to luminous.  In both cases, I
    > have a HEALTH_WARN that I can't figure out.  The cluster appears healthy
    > except for the HEALTH_WARN in overall status.  For now, I’m monitoring
    > health from the “status” instead of “overall_status” until I can find out
    > what the issue is.
    >
    >
    >
    > Any ideas?  Thanks!
    
    There is a setting called mon_health_preluminous_compat_warning (true
    by default), that forces the old overall_status field to WARN, to
    create the awareness that your script is using the old health output.
    
    If you do a "ceph health detail -f json" you'll see an explanatory message.
    
    We should probably have made that visible in "status" too (or wherever
    we output the overall_status as warning like this) -
    https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ceph_ceph_pull_17930&d=DwIFaQ&c=lXkdEK1PC7UK9oKA-BBSI8p1AamzLOSncm6Vfn0C_UQ&r=kRQ0vVhTnz9rNJj4pbOQiA&m=A0xUyyGKflx20twXI038NItlc5j0OPOjFMCPdhP9rJo&s=aYUvA8rOZCJa3EDrPJY6BGg4ypCyz0wYu9FXsCisRUo&e= 
    
    John
    
    >
    >
    > # ceph health detail
    >
    > HEALTH_OK
    >
    >
    >
    > # ceph -s
    >
    >   cluster:
    >
    >     id:     11d436c2-1ae3-4ea4-9f11-97343e5c673b
    >
    >     health: HEALTH_OK
    >
    >
    >
    > # ceph -s --format json-pretty
    >
    >
    >
    > {
    >
    >     "fsid": "11d436c2-1ae3-4ea4-9f11-97343e5c673b",
    >
    >     "health": {
    >
    >         "checks": {},
    >
    >         "status": "HEALTH_OK",
    >
    >         "overall_status": "HEALTH_WARN"
    >
    >
    >
    > <snip>
    >
    >
    >
    >
    >
    >
    >
    > Mike Kuriger
    >
    >
    >
    >
    > _______________________________________________
    > ceph-users mailing list
    > ceph-users at lists.ceph.com
    > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.ceph.com_listinfo.cgi_ceph-2Dusers-2Dceph.com&d=DwIFaQ&c=lXkdEK1PC7UK9oKA-BBSI8p1AamzLOSncm6Vfn0C_UQ&r=kRQ0vVhTnz9rNJj4pbOQiA&m=A0xUyyGKflx20twXI038NItlc5j0OPOjFMCPdhP9rJo&s=_HTLRYg4_imosjEYnHqwbN8pHmASsm6bJ7Rs3tBa3OQ&e= 
    >
    



More information about the ceph-users mailing list