All of lore.kernel.org
 help / color / mirror / Atom feed
* OSD shows UP while it's not
@ 2016-05-11 11:10 Gonzalo Aguilar Delgado
  2016-05-11 19:12 ` David Zafman
  0 siblings, 1 reply; 2+ messages in thread
From: Gonzalo Aguilar Delgado @ 2016-05-11 11:10 UTC (permalink / raw)
  To: Ceph Development

Hello, 

I found I cannot out down all my OSDs from the cluster.
root@blue-compute:/var/log# ceph osd tree
ID WEIGHT  TYPE NAME                 UP/DOWN REWEIGHT PRIMARY-AFFINITY 
-1 1.00000 root default                                                
-4 1.00000     rack rack-1                                             
-2 1.00000         host blue-compute                                   
 0 1.00000             osd.0            down        0          1.00000 
 2 1.00000             osd.2            down        0          1.00000 
-3 1.00000         host red-compute                                    
 1 1.00000             osd.1            down        0          1.00000 
 3 0.50000             osd.3              up        0          1.00000 
 4 1.00000             osd.4            down        0          1.00000 



    osdmap e2516: 5 osds: 1 up, 0 in; 153 remapped pgs



osd.3 up   out weight 0 up_from 2424 up_thru 2442 down_at 2423
last_clean_interval [2361,2420) 172.16.0.100:6806/4554
172.16.0.100:6807/4554 172.16.0.100:6808/4554 172.16.0.100:6809/4554
exists,up 8dd085d4-0b50-4c80-a0ca-c5bc4ad972f7


Everything is down. But 3 seems to be up. Why?

At OS level is also down.

root@red-compute:/var/log/ceph# ps ax | grep ceph
 1937 ?        Ssl    0:00 /usr/bin/ceph-mon -f --cluster ceph --id
red-compute --setuser ceph --setgroup ceph
27225 pts/0    S+     0:00 grep ceph


Why I cannot remove it?


Best regards,
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: OSD shows UP while it's not
  2016-05-11 11:10 OSD shows UP while it's not Gonzalo Aguilar Delgado
@ 2016-05-11 19:12 ` David Zafman
  0 siblings, 0 replies; 2+ messages in thread
From: David Zafman @ 2016-05-11 19:12 UTC (permalink / raw)
  To: Gonzalo Aguilar Delgado, Ceph Development


This is caused because once the last osd is down, there is nobody left 
to tell the mon that it went down.

Try using "ceph osd down 3" to manually notify the mon and see if you 
can do what you want.

David

On 5/11/16 4:10 AM, Gonzalo Aguilar Delgado wrote:
> Hello,
>
> I found I cannot out down all my OSDs from the cluster.
> root@blue-compute:/var/log# ceph osd tree
> ID WEIGHT  TYPE NAME                 UP/DOWN REWEIGHT PRIMARY-AFFINITY
> -1 1.00000 root default
> -4 1.00000     rack rack-1
> -2 1.00000         host blue-compute
>   0 1.00000             osd.0            down        0          1.00000
>   2 1.00000             osd.2            down        0          1.00000
> -3 1.00000         host red-compute
>   1 1.00000             osd.1            down        0          1.00000
>   3 0.50000             osd.3              up        0          1.00000
>   4 1.00000             osd.4            down        0          1.00000
>
>
>
>      osdmap e2516: 5 osds: 1 up, 0 in; 153 remapped pgs
>
>
>
> osd.3 up   out weight 0 up_from 2424 up_thru 2442 down_at 2423
> last_clean_interval [2361,2420) 172.16.0.100:6806/4554
> 172.16.0.100:6807/4554 172.16.0.100:6808/4554 172.16.0.100:6809/4554
> exists,up 8dd085d4-0b50-4c80-a0ca-c5bc4ad972f7
>
>
> Everything is down. But 3 seems to be up. Why?
>
> At OS level is also down.
>
> root@red-compute:/var/log/ceph# ps ax | grep ceph
>   1937 ?        Ssl    0:00 /usr/bin/ceph-mon -f --cluster ceph --id
> red-compute --setuser ceph --setgroup ceph
> 27225 pts/0    S+     0:00 grep ceph
>
>
> Why I cannot remove it?
>
>
> Best regards,
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-11 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-11 11:10 OSD shows UP while it's not Gonzalo Aguilar Delgado
2016-05-11 19:12 ` David Zafman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.