[Bug 1842020] Re: ceph patch as of 8/29 segfaults all bluestore osds

Harry Coin hgcoin at gmail.com
Sun Sep 1 03:07:53 UTC 2019


I think I found it, but could use some validation.
Notice at https://ceph.io/geen-categorie/sse-optimization-for-erasure-code-in-ceph/
we have the precedent for ceph's checking what level of SSE instructions are available then using the appropriate one.

However, in the ubuntu version, littered around the makefiles we see -msse4.2 in several places
oddly  (there is no mssse3)
-msse -msse2 -msse3 -mssse3 -mpclmul -msse4.1 -msse4.2  

in rocksdb we see often -msse4.2

Canonical should remove the -msse4.2 compiler flags as ceph doesn't
advertise it is not compatible with systems with less than sse4
capabilities.

I'm looking in to this further, but it appears to fit what I know so
far.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1842020

Title:
  ceph patch as of 8/29 segfaults all bluestore osds

Status in ceph package in Ubuntu:
  New

Bug description:
  The ceph patch on eoan distributed 8/29 crashes all bluestore OSD's
  and is unusable at least on some systems.  Failed on an old dual Xeon
  E5345 box.

  Easy test.  Run:

  /usr/bin/ceph-bluestore-tool

  On working systems it reports a help message.  On the latest eoan release distributed by canonical it
  turns in to an illegal instruction process kill, just after reading /proc/<...>/auxv

  looks like something to do with vsock issues.

  strace -k -y /usr/bin/ceph-bluestore-tool 
  is instructive.

  Notice valgrind against that program reports thousands of memory allocation issues.
  Reverting the system to the snapshot before the apt upgrade restores full operations.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  DistroRelease: Ubuntu 19.10
  InstallationDate: Installed on 2019-07-30 (30 days ago)
  InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Alpha amd64 (20190726)
  Package: ceph 14.2.2-0ubuntu2
  PackageArchitecture: amd64
  ProcEnviron:
   LANGUAGE=en_US
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 5.2.0-15.16-generic 5.2.9
  Tags:  eoan
  Uname: Linux 5.2.0-15-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  _MarkForUpload: True
  mtime.conffile..etc.default.apport: 2019-08-30T11:35:29.463071

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1842020/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list