Some of my PGs stay at "active"
Hi,
ceph -s reports most of my PGs as "active+clean", but a small number will stay at just "active":
# ceph -s
2012-01-06 11:16:44.832625 pg v278953: 396 pgs: 8 active, 388 active+clean;
70764 MB data, 157 GB used, 4994 GB / 5257 GB avail; 170/38388 degraded
(0.443%)
2012-01-06 11:16:44.842568 mds e9: 1/1/1 up {0=alpha=up:active}
2012-01-06 11:16:44.842648 osd e243: 6 osds: 6 up, 6 in
2012-01-06 11:16:44.842799 log 2012-01-06 06:12:00.829148 osd.4
10.3.1.35:6800/1490 343 : [INF] 0.4e scrub ok
2012-01-06 11:16:44.844179 mon e5: 3 mons at
{ceph1=10.3.1.33:6789/0,ceph2=10.3.1.34:6789/0,ceph3=10.3.1.35:6789/0}It's been like that for several days now. IIRC, the last thing I did with the cluster was to add some more OSDs. The last time this happened, the problem went away after restarting some of the OSDs.
What does this mean? Is that a bug?
Regards,
Guido
Quoted 16 lines · Guido Winkelmann
Hi,
ceph -s reports most of my PGs as "active+clean", but a small number will stay at just "active":
# ceph -s 2012-01-06 11:16:44.832625 pg v278953: 396 pgs: 8 active, 388 active+clean; 70764 MB data, 157 GB used, 4994 GB / 5257 GB avail; 170/38388 degraded (0.443%) 2012-01-06 11:16:44.842568 mds e9: 1/1/1 up {0=alpha=up:active} 2012-01-06 11:16:44.842648 osd e243: 6 osds: 6 up, 6 in 2012-01-06 11:16:44.842799 log 2012-01-06 06:12:00.829148 osd.4 10.3.1.35:6800/1490 343 : [INF] 0.4e scrub ok 2012-01-06 11:16:44.844179 mon e5: 3 mons at {ceph1=10.3.1.33:6789/0,ceph2=10.3.1.34:6789/0,ceph3=10.3.1.35:6789/0}
Quoted 5 lines
It's been like that for several days now. IIRC, the last thing I did with the cluster was to add some more OSDs. The last time this happened, the problem went away after restarting some of the OSDs.
What does this mean? Is that a bug?
That does sound like a bug, altho a reasonably harmless one. Which version are you running?
sage
Quoted 10 lines · Sage Weil
Quoted 9 lines · Guido Winkelmann
Hi,
ceph -s reports most of my PGs as "active+clean", but a small number will stay at just "active":
# ceph -s 2012-01-06 11:16:44.832625 pg v278953: 396 pgs: 8 active, 388 active+clean; 70764 MB data, 157 GB used, 4994 GB / 5257 GB avail; 170/38388 degraded (0.443%)
Whoops, Yehuda just pointed out that there are degraded objects here too. So that's a less-harmless bug. :)
Which version?
Also, can you post the output from
ceph pg dump | grep degraded
Thanks!
sage
Quoted 23 lines
Quoted 5 lines
2012-01-06 11:16:44.842568 mds e9: 1/1/1 up {0=alpha=up:active} 2012-01-06 11:16:44.842648 osd e243: 6 osds: 6 up, 6 in 2012-01-06 11:16:44.842799 log 2012-01-06 06:12:00.829148 osd.4 10.3.1.35:6800/1490 343 : [INF] 0.4e scrub ok 2012-01-06 11:16:44.844179 mon e5: 3 mons atQuoted 7 lines
{ceph1=10.3.1.33:6789/0,ceph2=10.3.1.34:6789/0,ceph3=10.3.1.35:6789/0}
It's been like that for several days now. IIRC, the last thing I did with the cluster was to add some more OSDs. The last time this happened, the problem went away after restarting some of the OSDs.
What does this mean? Is that a bug?
That does sound like a bug, altho a reasonably harmless one. Which version are you running?
sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 9902626.TgOVAtLKkc@pc10
Quoted 18 lines · Guido Winkelmann
Am Freitag, 6. Januar 2012, 09:07:43 schrieben Sie:
Quoted 12 lines · Sage Weil
Quoted 10 lines · Guido Winkelmann
Quoted 9 lines
Hi,
ceph -s reports most of my PGs as "active+clean", but a small number will stay at just "active":
# ceph -s 2012-01-06 11:16:44.832625 pg v278953: 396 pgs: 8 active, 388 active+clean; 70764 MB data, 157 GB used, 4994 GB / 5257 GB avail; 170/38388 degraded (0.443%)Quoted 4 lines
Whoops, Yehuda just pointed out that there are degraded objects here too. So that's a less-harmless bug. :)
Which version?
Quoted 8 lines
0.39
Quoted 3 lines
Also, can you post the output from
ceph pg dump | grep degraded
Sorry, I've already restarted one the osds and the degraded pgs are gone again...
No problem. There been a lot of changes in this code for 0.40 anyway, so debugging the problem with 0.39 is of limited value anyway.
Cheers-
sage