Project

General

Profile

Bug #2146

Ceph -s crash and reports old ceph version

Added by Maciej Galkiewicz over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

  1. ceph -s
    terminate called after throwing an instance of 'ceph::buffer::malformed_input'
    what(): buffer::malformed_input: unknown pg_stat_t encoding version > 4
    • Caught signal (Aborted) *
      in thread 7f21278af700
      ceph version 0.41 (c1345f7136a0af55d88280ffe4b58339aaf28c9d)
      1: ceph() [0x472d29]
      2: (()+0xeff0) [0x7f212a705ff0]
      3: (gsignal()+0x35) [0x7f2128f381b5]
      4: (abort()+0x180) [0x7f2128f3afc0]
      5: (_gnu_cxx::_verbose_terminate_handler()+0x11d) [0x7f21297ba8cd]
      6: (()+0xb8a76) [0x7f21297b8a76]
      7: (()+0xb8aa3) [0x7f21297b8aa3]
      8: (()+0xb8b9e) [0x7f21297b8b9e]
      9: (pg_stat_t::decode(ceph::buffer::list::iterator&)+0xc62) [0x462232]
      10: (PGMap::decode(ceph::buffer::list::iterator&)+0x91b) [0x46cc7b]
      11: ceph() [0x4560d1]
      12: (Admin::ms_dispatch(Message
      )+0x4a9) [0x468e19]
      13: (SimpleMessenger::dispatch_entry()+0x863) [0x4d8443]
      14: (SimpleMessenger::DispatchThread::entry()+0x1c) [0x45844c]
      15: (()+0x68ca) [0x7f212a6fd8ca]
      16: (clone()+0x6d) [0x7f2128fd586d]
      Aborted
  2. apt-cache policy ceph
    ceph:
    Installed: 0.43-1~bpo60+1

History

#1 Updated by Sage Weil over 11 years ago

  • Status changed from New to Rejected

The problem is just that your ceph binary is out of date. You need to run v0.43 or later, due to the structure encoding changes we recently made.

#2 Updated by Greg Farnum over 11 years ago

I'm curious how you managed to install new packages while keeping around an old binary, though. (Yes, that's definitely what happened.) I'd look and see if you accidentally copied the binary somewhere within your path, I guess...

#3 Updated by Maciej Galkiewicz over 11 years ago

I have updated ceph package only. The binary used for getting statistics is in ceph-common. After upgrade it work fine. Thanks for help.

Also available in: Atom PDF