Skip to contentSkip to conversation

cmon: PGMonitor::encode_pending() assert failure

DISCUSSION Chris Dunlop 2 participants 6 messages Feb 3, 2011 – Feb 7, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

G'day,

I received this assert failure after copying about 110 GB of data into a previously-empty ceph 0.24.2:

ceph version 0.25~rc (commit:73e76723e35562c9391872e07cf314b4465f30af)

2011-02-03 08:05:26.779951 409b9950 mon.0@0(leader).pg v19635 PGMonitor::update_from_paxos: error parsing incremental update: buffer::end_of_buffer
2011-02-03 08:05:28.651238 42b99950 mon.0@0(leader).pg v19635 PGMonitor::update_from_paxos: error parsing incremental update: buffer::end_of_buffer

mon/PGMonitor.cc: In function 'virtual void PGMonitor::encode_pending(ceph::bufferlist&)', In thread 409b9950 mon/PGMonitor.cc:178: FAILED assert(paxos->get_version() + 1 == pending_inc.version)
ceph version 0.25~rc (commit:73e76723e35562c9391872e07cf314b4465f30af)
1: (PGMonitor::encode_pending(ceph::buffer::list&)+0x442) [0x4d4332]
2: (PaxosService::propose_pending()+0x26d) [0x4995ad]
3: (SafeTimer::timer_thread()+0x65f) [0x5602bf]
4: (SafeTimerThread::entry()+0xd) [0x563a3d]
5: (Thread::_entry_func(void*)+0xa) [0x46fe0a]
6: /lib/libpthread.so.0 [0x7f282fd87fc7]
7: (clone()+0x6d) [0x7f282ec6764d]
NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.
*** Caught signal (Aborted) ***
in thread 409b9950
ceph version 0.25~rc (commit:73e76723e35562c9391872e07cf314b4465f30af)
1: /usr/bin/cmon [0x58054e]
2: /lib/libpthread.so.0 [0x7f282fd8fa80]
3: (gsignal()+0x35) [0x7f282ebc9ed5]
4: (abort()+0x183) [0x7f282ebcb3f3]
5: (__gnu_cxx::__verbose_terminate_handler()+0x114) [0x7f282f44d294]
6: /usr/lib/libstdc++.so.6 [0x7f282f44b696]
7: /usr/lib/libstdc++.so.6 [0x7f282f44b6c3]
8: /usr/lib/libstdc++.so.6 [0x7f282f44b7aa]
9: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x3f4) [0x563f84]
a: (PGMonitor::encode_pending(ceph::buffer::list&)+0x442) [0x4d4332]
b: (PaxosService::propose_pending()+0x26d) [0x4995ad]
c: (SafeTimer::timer_thread()+0x65f) [0x5602bf]
d: (SafeTimerThread::entry()+0xd) [0x563a3d]
e: (Thread::_entry_func(void*)+0xa) [0x46fe0a]
f: /lib/libpthread.so.0 [0x7f282fd87fc7]
10: (clone()+0x6d) [0x7f282ec6764d]

If needed, the cmon executable is available here:

http://www.onthe.net.au/private/cmon.gz

If you need any other info, just holler!

Cheers,

Chris

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi Chris,

This is an interesting one. Would it be possible for you to tar up your mondata directory on the failed node and post it somewhere I can get at it? From the looks of things the pgmap incremental state file is truncated, but I'd like to confirm.

http://tracker.newdream.net/issues/762

Thanks!
sage

Quoted 70 lines · Gregory Farnum

---------- Forwarded message ----------
From: Chris Dunlop <[email protected]>
Date: Wed, Feb 2, 2011 at 5:51 PM
Subject: cmon: PGMonitor::encode_pending() assert failure
To: [email protected]

G'day,

I received this assert failure after copying about 110 GB of data into a previously-empty ceph 0.24.2:

ceph version 0.25~rc (commit:73e76723e35562c9391872e07cf314b4465f30af)

2011-02-03 08:05:26.779951 409b9950 mon.0@0(leader).pg v19635
PGMonitor::update_from_paxos: error parsing incremental update:
buffer::end_of_buffer
2011-02-03 08:05:28.651238 42b99950 mon.0@0(leader).pg v19635

PGMonitor::update_from_paxos: error parsing incremental update:
buffer::end_of_buffer
mon/PGMonitor.cc: In function 'virtual void PGMonitor::encode_pending(ceph::bufferlist&)', In thread 409b9950 mon/PGMonitor.cc:178: FAILED assert(paxos->get_version() + 1 == pending_inc.version)
 ceph version 0.25~rc (commit:73e76723e35562c9391872e07cf314b4465f30af) 1: (PGMonitor::encode_pending(ceph::buffer::list&)+0x442) [0x4d4332] 2: (PaxosService::propose_pending()+0x26d) [0x4995ad]
 3: (SafeTimer::timer_thread()+0x65f) [0x5602bf]
 4: (SafeTimerThread::entry()+0xd) [0x563a3d]
 5: (Thread::_entry_func(void*)+0xa) [0x46fe0a]
 6: /lib/libpthread.so.0 [0x7f282fd87fc7]
 7: (clone()+0x6d) [0x7f282ec6764d]
 NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.
*** Caught signal (Aborted) ***
in thread 409b9950
 ceph version 0.25~rc (commit:73e76723e35562c9391872e07cf314b4465f30af) 1: /usr/bin/cmon [0x58054e]
 2: /lib/libpthread.so.0 [0x7f282fd8fa80]
 3: (gsignal()+0x35) [0x7f282ebc9ed5]
 4: (abort()+0x183) [0x7f282ebcb3f3]
 5: (__gnu_cxx::__verbose_terminate_handler()+0x114) [0x7f282f44d294] 6: /usr/lib/libstdc++.so.6 [0x7f282f44b696]
 7: /usr/lib/libstdc++.so.6 [0x7f282f44b6c3]
 8: /usr/lib/libstdc++.so.6 [0x7f282f44b7aa]
 9: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x3f4) [0x563f84]
 a: (PGMonitor::encode_pending(ceph::buffer::list&)+0x442) [0x4d4332]
 b: (PaxosService::propose_pending()+0x26d) [0x4995ad]
 c: (SafeTimer::timer_thread()+0x65f) [0x5602bf]
 d: (SafeTimerThread::entry()+0xd) [0x563a3d]
 e: (Thread::_entry_func(void*)+0xa) [0x46fe0a]
 f: /lib/libpthread.so.0 [0x7f282fd87fc7]
 10: (clone()+0x6d) [0x7f282ec6764d]

If needed, the cmon executable is available here:

http://www.onthe.net.au/private/cmon.gz

If you need any other info, just holler!

Cheers,

Chris

--
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

#3 lore raw
Quoted 8 lines · Sage Weil

Hi Chris,

This is an interesting one. Would it be possible for you to tar up your mondata directory on the failed node and post it somewhere I can get at it? From the looks of things the pgmap incremental state file is truncated, but I'd like to confirm.

http://tracker.newdream.net/issues/762

Aw crap, sorry, I blew that fs away installing the latest master to see what happened there ...whereupon overnight I've promptly hit the "WARNING: at fs/btrfs/inode.c:2143" problem*.

I can revert back to my previous install and run the same workload to see if it crops up again if that's useful (it took about 12 hours of rsync'ing files into the fs to get there), or I can try the workload using latest ceph with Josef Bacik's btrfs-work** to see if either problem crops up again. Any preference?

* http://article.gmane.org/gmane.comp.file-systems.ceph.devel/1726
** http://article.gmane.org/gmane.comp.file-systems.ceph.devel/1719

Cheers,

Chris

#4 lore raw
Quoted 14 lines · Chris Dunlop
Quoted 8 lines · Sage Weil

Hi Chris,

This is an interesting one. Would it be possible for you to tar up your mondata directory on the failed node and post it somewhere I can get at it? From the looks of things the pgmap incremental state file is truncated, but I'd like to confirm.

http://tracker.newdream.net/issues/762

Aw crap, sorry, I blew that fs away installing the latest master to see what happened there ...whereupon overnight I've promptly hit the "WARNING: at fs/btrfs/inode.c:2143" problem*.

Quoted 6 lines

I can revert back to my previous install and run the same workload to see if it crops up again if that's useful (it took about 12 hours of rsync'ing files into the fs to get there), or I can try the workload using latest ceph with Josef Bacik's btrfs-work** to see if either problem crops up again. Any preference?

Let's go with latest master and latest bits from Josef. It's the future!

Thanks!
sage

#5 lore raw
Quoted 15 lines · Sage Weil
Quoted 14 lines · Chris Dunlop
Quoted 8 lines · Sage Weil

Hi Chris,

This is an interesting one. Would it be possible for you to tar up your mondata directory on the failed node and post it somewhere I can get at it? From the looks of things the pgmap incremental state file is truncated, but I'd like to confirm.

http://tracker.newdream.net/issues/762

Aw crap, sorry, I blew that fs away installing the latest master to see what happened there ...whereupon overnight I've promptly hit the "WARNING: at fs/btrfs/inode.c:2143" problem*.

Quoted 8 lines
Quoted 6 lines

I can revert back to my previous install and run the same workload to see if it crops up again if that's useful (it took about 12 hours of rsync'ing files into the fs to get there), or I can try the workload using latest ceph with Josef Bacik's btrfs-work** to see if either problem crops up again. Any preference?

Let's go with latest master and latest bits from Josef. It's the future!

No worries, I'll get started on that as soon as I increase my git-foo to the point where I know how to work with multiple repositories... hmmm, looks like git-remote is what I need...

#6 lore raw
In reply to Sage Weil
Quoted 12 lines · Sage Weil
Quoted 10 lines · Chris Dunlop
Quoted 2 lines · Sage Weil

http://tracker.newdream.net/issues/762

I can revert back to my previous install and run the same workload to see if it crops up again if that's useful (it took about 12 hours of rsync'ing files into the fs to get there), or I can try the workload using latest ceph with Josef Bacik's btrfs-work** to see if either problem crops up again. Any preference?

Quoted 2 lines

Let's go with latest master and latest bits from Josef. It's the future!

The PGMonitor::encode_pending() assert failure didn't show up in copying 500 GB into a fresh ceph fs using:

ceph-client 9aae8faf
+ Josef's btrfs-work bacae123

So either it's fixed or it's now craftily hidden, waiting to pounce again.