Skip to contentSkip to conversation

incomplete PG

DISCUSSION Alexey Kurnosov 3 participants 8 messages Jun 6, 2014 – Jun 30, 2014

lore
Share & tools
lore
#0 lore raw

Hi all.

Sorry for a rude offtop, but looks like nobody can help me at ceph-users. Here is the link to my email:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-June/040383.html
Here some additional data:
http://pastebin.com/Nc4y3S1U

During read requests i can see in logs:

2014-06-06 13:28:08.586262 7f335f29f700 10 osd.7 21942 dequeue_op 0x356cb40 prio 127 cost 0 latency 0.000352 osd_op(client.11324.1:436 rb.0.1465.2ae8944a.000000000bb1 [read 0~131072] 4.b940a077 e21942) v4 pg pg[4.77( empty local-les=0 n=0 ec=144 les/c 19162/16786 21941/21941/21941) [7,2] r=0 lpr=21941 pi=8764-21940/115 mlcod 0'0 incomplete]

Any help would be appreciated.

(Somebody hit similar issue here: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-February/007948.html)

--
Alexey Kurnosov

#1 lore raw
Quoted 8 lines · Alexey Kurnosov

Hi all.

Sorry for a rude offtop, but looks like nobody can help me at ceph-users. Here is the link to my email:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-June/040383.html
Here some additional data:
http://pastebin.com/Nc4y3S1U

Quoted 5 lines

During read requests i can see in logs:

2014-06-06 13:28:08.586262 7f335f29f700 10 osd.7 21942 dequeue_op 0x356cb40 prio 127 cost 0 latency 0.000352 osd_op(client.11324.1:436 rb.0.1465.2ae8944a.000000000bb1 [read 0~131072] 4.b940a077 e21942) v4 pg pg[4.77( empty local-les=0 n=0 ec=144 les/c 19162/16786 21941/21941/21941) [7,2] r=0 lpr=21941 pi=8764-21940/115 mlcod 0'0 incomplete]

Any help would be appreciated.

This looks like a hangup somewhere in teh osd/osd communication that is preventing the peering/probing from happening. Since you're running emperor and we stopped testing and backporting fixes there a while back I'm not sure offhand what bug fix is missing. My suggestion is to upgrade to 0.80.1 firefly as a first step.

FWIW simply restartin the OSDs involved in those PGs will probably also get things rolling, but this bug will still be present.

sage

Quoted 12 lines

(Somebody hit similar issue here: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-February/007948.html)

--
Alexey Kurnosov

#2 lore raw
Quoted 13 lines · Sage Weil
Quoted 12 lines · Alexey Kurnosov

Hi all.

Sorry for a rude offtop, but looks like nobody can help me at ceph-users. Here is the link to my email:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-June/040383.html
Here some additional data:
http://pastebin.com/Nc4y3S1U

During read requests i can see in logs:

2014-06-06 13:28:08.586262 7f335f29f700 10 osd.7 21942 dequeue_op 0x356cb40 prio 127 cost 0 latency 0.000352 osd_op(client.11324.1:436 rb.0.1465.2ae8944a.000000000bb1 [read 0~131072] 4.b940a077 e21942) v4 pg pg[4.77( empty local-les=0 n=0 ec=144 les/c 19162/16786 21941/21941/21941) [7,2] r=0 lpr=21941 pi=8764-21940/115 mlcod 0'0 incomplete]
Quoted 7 lines
Quoted 1 line

Any help would be appreciated.

This looks like a hangup somewhere in teh osd/osd communication that is preventing the peering/probing from happening. Since you're running emperor and we stopped testing and backporting fixes there a while back I'm not sure offhand what bug fix is missing. My suggestion is to upgrade to 0.80.1 firefly as a first step.

Upgrade has been performed. I do not see any changes.

Quoted 3 lines

FWIW simply restartin the OSDs involved in those PGs will probably also get things rolling, but this bug will still be present.

I restarted it many times. Looks like PG copies all are incomplete.

Quoted 16 lines

sage

Quoted 12 lines

(Somebody hit similar issue here: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-February/007948.html)

--
Alexey Kurnosov

--
Alexey Kurnosov

#3 lore raw

Guys, what should i do to erase an incomplete PG?
Use special utils, hexedit, any methods?

Quoted 50 lines · Alexey Kurnosov
Quoted 13 lines · Sage Weil
Quoted 12 lines · Alexey Kurnosov

Hi all.

Sorry for a rude offtop, but looks like nobody can help me at ceph-users. Here is the link to my email:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-June/040383.html
Here some additional data:
http://pastebin.com/Nc4y3S1U

During read requests i can see in logs:

2014-06-06 13:28:08.586262 7f335f29f700 10 osd.7 21942 dequeue_op 0x356cb40 prio 127 cost 0 latency 0.000352 osd_op(client.11324.1:436 rb.0.1465.2ae8944a.000000000bb1 [read 0~131072] 4.b940a077 e21942) v4 pg pg[4.77( empty local-les=0 n=0 ec=144 les/c 19162/16786 21941/21941/21941) [7,2] r=0 lpr=21941 pi=8764-21940/115 mlcod 0'0 incomplete]
Quoted 7 lines
Quoted 1 line

Any help would be appreciated.

This looks like a hangup somewhere in teh osd/osd communication that is preventing the peering/probing from happening. Since you're running emperor and we stopped testing and backporting fixes there a while back I'm not sure offhand what bug fix is missing. My suggestion is to upgrade to 0.80.1 firefly as a first step.

Upgrade has been performed. I do not see any changes.

Quoted 3 lines

FWIW simply restartin the OSDs involved in those PGs will probably also get things rolling, but this bug will still be present.

I restarted it many times. Looks like PG copies all are incomplete.

Quoted 16 lines

sage

Quoted 12 lines

(Somebody hit similar issue here: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-February/007948.html)

--
Alexey Kurnosov

--
Alexey Kurnosov

#4 lore raw

InComplete PG means this PG can't get enough metadata (PG logs) to enter Active state. This may be because some unrepairable data damage.

You can remove PG, except you remove the whole Pool.

Quoted 58 lines · Alexey Kurnosov

Guys, what should i do to erase an incomplete PG?
Use special utils, hexedit, any methods?

Quoted 50 lines · Alexey Kurnosov
Quoted 13 lines · Sage Weil
Quoted 12 lines · Alexey Kurnosov

Hi all.

Sorry for a rude offtop, but looks like nobody can help me at ceph-users. Here is the link to my email:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-June/040383.html
Here some additional data:
http://pastebin.com/Nc4y3S1U

During read requests i can see in logs:

2014-06-06 13:28:08.586262 7f335f29f700 10 osd.7 21942 dequeue_op 0x356cb40 prio 127 cost 0 latency 0.000352 osd_op(client.11324.1:436 rb.0.1465.2ae8944a.000000000bb1 [read 0~131072] 4.b940a077 e21942) v4 pg pg[4.77( empty local-les=0 n=0 ec=144 les/c 19162/16786 21941/21941/21941) [7,2] r=0 lpr=21941 pi=8764-21940/115 mlcod 0'0 incomplete]
Quoted 7 lines
Quoted 1 line

Any help would be appreciated.

This looks like a hangup somewhere in teh osd/osd communication that is preventing the peering/probing from happening. Since you're running emperor and we stopped testing and backporting fixes there a while back I'm not sure offhand what bug fix is missing. My suggestion is to upgrade to 0.80.1 firefly as a first step.

Upgrade has been performed. I do not see any changes.

Quoted 3 lines

FWIW simply restartin the OSDs involved in those PGs will probably also get things rolling, but this bug will still be present.

I restarted it many times. Looks like PG copies all are incomplete.

Quoted 16 lines

sage

Quoted 12 lines

(Somebody hit similar issue here: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-February/007948.html)

--
Alexey Kurnosov

--
Alexey Kurnosov

Signature · 2 lines
Dong Yuan
Email:[email protected]
#5 lore raw

Sorry, the last sentence should be "You can NOT remove PG, except you remove the whole Pool."

Quoted 70 lines · Dong Yuan

InComplete PG means this PG can't get enough metadata (PG logs) to enter Active state. This may be because some unrepairable data damage.

You can remove PG, except you remove the whole Pool.

Quoted 58 lines · Alexey Kurnosov

Guys, what should i do to erase an incomplete PG?
Use special utils, hexedit, any methods?

Quoted 50 lines · Alexey Kurnosov
Quoted 13 lines · Sage Weil
Quoted 12 lines · Alexey Kurnosov

Hi all.

Sorry for a rude offtop, but looks like nobody can help me at ceph-users. Here is the link to my email:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-June/040383.html
Here some additional data:
http://pastebin.com/Nc4y3S1U

During read requests i can see in logs:

2014-06-06 13:28:08.586262 7f335f29f700 10 osd.7 21942 dequeue_op 0x356cb40 prio 127 cost 0 latency 0.000352 osd_op(client.11324.1:436 rb.0.1465.2ae8944a.000000000bb1 [read 0~131072] 4.b940a077 e21942) v4 pg pg[4.77( empty local-les=0 n=0 ec=144 les/c 19162/16786 21941/21941/21941) [7,2] r=0 lpr=21941 pi=8764-21940/115 mlcod 0'0 incomplete]
Quoted 7 lines
Quoted 1 line

Any help would be appreciated.

This looks like a hangup somewhere in teh osd/osd communication that is preventing the peering/probing from happening. Since you're running emperor and we stopped testing and backporting fixes there a while back I'm not sure offhand what bug fix is missing. My suggestion is to upgrade to 0.80.1 firefly as a first step.

Upgrade has been performed. I do not see any changes.

Quoted 3 lines

FWIW simply restartin the OSDs involved in those PGs will probably also get things rolling, but this bug will still be present.

I restarted it many times. Looks like PG copies all are incomplete.

Quoted 16 lines

sage

Quoted 12 lines

(Somebody hit similar issue here: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-February/007948.html)

--
Alexey Kurnosov

--
Alexey Kurnosov

--
Dong Yuan
Email:[email protected]

Signature · 2 lines
Dong Yuan
Email:[email protected]
#6 lore raw
Quoted 6 lines · Dong Yuan

Sorry, the last sentence should be "You can NOT remove PG, except you remove the whole Pool."

Quoted 2 lines · Dong Yuan

InComplete PG means this PG can't get enough metadata (PG logs) to enter Active state. This may be because some unrepairable data damage.

But at least there should be a method to put a incomplete PG in some more reasonable state for a futher forensic and retrieving other data from good PGs, in which rbd kernel driver could return EIO for example, not just hang on I/O wait. Is it possible?

Quoted 78 lines
Quoted 68 lines

You can remove PG, except you remove the whole Pool.

Quoted 58 lines · Alexey Kurnosov

Guys, what should i do to erase an incomplete PG?
Use special utils, hexedit, any methods?

Quoted 50 lines · Alexey Kurnosov
Quoted 13 lines · Sage Weil
Quoted 12 lines · Alexey Kurnosov

Hi all.

Sorry for a rude offtop, but looks like nobody can help me at ceph-users. Here is the link to my email:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-June/040383.html
Here some additional data:
http://pastebin.com/Nc4y3S1U

During read requests i can see in logs:

2014-06-06 13:28:08.586262 7f335f29f700 10 osd.7 21942 dequeue_op 0x356cb40 prio 127 cost 0 latency 0.000352 osd_op(client.11324.1:436 rb.0.1465.2ae8944a.000000000bb1 [read 0~131072] 4.b940a077 e21942) v4 pg pg[4.77( empty local-les=0 n=0 ec=144 les/c 19162/16786 21941/21941/21941) [7,2] r=0 lpr=21941 pi=8764-21940/115 mlcod 0'0 incomplete]
Quoted 7 lines
Quoted 1 line

Any help would be appreciated.

This looks like a hangup somewhere in teh osd/osd communication that is preventing the peering/probing from happening. Since you're running emperor and we stopped testing and backporting fixes there a while back I'm not sure offhand what bug fix is missing. My suggestion is to upgrade to 0.80.1 firefly as a first step.

Upgrade has been performed. I do not see any changes.

Quoted 3 lines

FWIW simply restartin the OSDs involved in those PGs will probably also get things rolling, but this bug will still be present.

I restarted it many times. Looks like PG copies all are incomplete.

Quoted 16 lines

sage

Quoted 12 lines

(Somebody hit similar issue here: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-February/007948.html)

--
Alexey Kurnosov

--
Alexey Kurnosov

--
Dong Yuan
Email:[email protected]

Signature · 6 lines
Dong Yuan
Email:[email protected]
--
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
#7 lore raw

Hi,all.

I finally was succeded.
Maybe somebody will be intresting.
A script read the content from a fuse-rbd files (i wonder, what is actual use case of fuse-rbd?) with "dd" and, in a case of timeout (alarmed by a background process), killed entire fuse daemon, remount fuse-rbd and resumed at next block. It is very disapointing do not have a standart method for data recovery. IMHO, with such a bug ceph is not production ready.

Quoted 90 lines · Alexey Kurnosov
Quoted 6 lines · Dong Yuan

Sorry, the last sentence should be "You can NOT remove PG, except you remove the whole Pool."

Quoted 2 lines · Dong Yuan

InComplete PG means this PG can't get enough metadata (PG logs) to enter Active state. This may be because some unrepairable data damage.

But at least there should be a method to put a incomplete PG in some more reasonable state for a futher forensic and retrieving other data from good PGs, in which rbd kernel driver could return EIO for example, not just hang on I/O wait. Is it possible?

Quoted 78 lines
Quoted 68 lines

You can remove PG, except you remove the whole Pool.

Quoted 58 lines · Alexey Kurnosov

Guys, what should i do to erase an incomplete PG?
Use special utils, hexedit, any methods?

Quoted 50 lines · Alexey Kurnosov
Quoted 13 lines · Sage Weil
Quoted 12 lines · Alexey Kurnosov

Hi all.

Sorry for a rude offtop, but looks like nobody can help me at ceph-users. Here is the link to my email:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-June/040383.html
Here some additional data:
http://pastebin.com/Nc4y3S1U

During read requests i can see in logs:

2014-06-06 13:28:08.586262 7f335f29f700 10 osd.7 21942 dequeue_op 0x356cb40 prio 127 cost 0 latency 0.000352 osd_op(client.11324.1:436 rb.0.1465.2ae8944a.000000000bb1 [read 0~131072] 4.b940a077 e21942) v4 pg pg[4.77( empty local-les=0 n=0 ec=144 les/c 19162/16786 21941/21941/21941) [7,2] r=0 lpr=21941 pi=8764-21940/115 mlcod 0'0 incomplete]
Quoted 7 lines
Quoted 1 line

Any help would be appreciated.

This looks like a hangup somewhere in teh osd/osd communication that is preventing the peering/probing from happening. Since you're running emperor and we stopped testing and backporting fixes there a while back I'm not sure offhand what bug fix is missing. My suggestion is to upgrade to 0.80.1 firefly as a first step.

Upgrade has been performed. I do not see any changes.

Quoted 3 lines

FWIW simply restartin the OSDs involved in those PGs will probably also get things rolling, but this bug will still be present.

I restarted it many times. Looks like PG copies all are incomplete.

Quoted 16 lines

sage

Quoted 12 lines

(Somebody hit similar issue here: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-February/007948.html)

--
Alexey Kurnosov

--
Alexey Kurnosov

--
Dong Yuan
Email:[email protected]

Signature · 6 lines
Dong Yuan
Email:[email protected]
--
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