Project

General

Profile

Actions

Bug #20529

closed

Illegal instruction in RocksDB

Added by Dennis Busch almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
-
Category:
build
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Trying to create a ceph-mon. Seems from experience of other users that this issue might only be valid on Opteron CPUs. While creation I get the following:

# ceph-mon --mkfs -i 0 --monmap /tmp/monmap --keyring /etc/pve/priv/ceph.mon.keyring
monmaptool: monmap file /tmp/monmap
monmaptool: generated fsid 5d603e48-432c-4b58-8b17-461ecd20018d
epoch 0
fsid 5d603e48-432c-4b58-8b17-461ecd20018d
last_changed 2017-07-05 21:40:15.972493
created 2017-07-05 21:40:15.972493
0: 192.168.110.5:6789/0 mon.0
monmaptool: writing epoch 0 to /tmp/monmap (1 monitors)
ceph-mon: set fsid to 7dde6305-0fc1-4ada-99a9-68617f02baad
*** Caught signal (Illegal instruction) **
 in thread 7f2264e3fc80 thread_name:ceph-mon
 ceph version 12.1.0 (262617c9f16c55e863693258061c5b25dea5b086) luminous (dev)
 1: (()+0x82bcc2) [0x5567dbad3cc2]
 2: (()+0x110c0) [0x7f22641f70c0]
 3: (rocksdb::VersionBuilder::SaveTo(rocksdb::VersionStorageInfo*)+0x871) [0x5567dbc94cc1]
 4: (rocksdb::VersionSet::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool)+0x26bc) [0x5567dbb7c14c]
 5: (rocksdb::DBImpl::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool, bool, bool)+0x11f) [0x5567dbb4331f]
 6: (rocksdb::DB::Open(rocksdb::DBOptions const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, std::vector<rocksdb::ColumnFamilyHandle*, std::allocator<rocksdb::ColumnFamilyHandle*> >*, rocksdb::DB**)+0xe40) [0x5567dbb44d90]
 7: (rocksdb::DB::Open(rocksdb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rocksdb::DB**)+0x698) [0x5567dbb465f8]
 8: (RocksDBStore::do_open(std::ostream&, bool)+0x68e) [0x5567db6dd00e]
 9: (RocksDBStore::create_and_open(std::ostream&)+0xd7) [0x5567db6de5c7]
 10: (MonitorDBStore::create_and_open(std::ostream&)+0xe3) [0x5567db5bec83]
 11: (main()+0x7ef) [0x5567db52d4af]
 12: (__libc_start_main()+0xf1) [0x7f226160b2b1]
 13: (_start()+0x2a) [0x5567db5bbdba]
2017-07-05 21:40:16.355087 7f2264e3fc80 -1 *** Caught signal (Illegal instruction) **
 in thread 7f2264e3fc80 thread_name:ceph-mon

 ceph version 12.1.0 (262617c9f16c55e863693258061c5b25dea5b086) luminous (dev)
 1: (()+0x82bcc2) [0x5567dbad3cc2]
 2: (()+0x110c0) [0x7f22641f70c0]
 3: (rocksdb::VersionBuilder::SaveTo(rocksdb::VersionStorageInfo*)+0x871) [0x5567dbc94cc1]
 4: (rocksdb::VersionSet::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool)+0x26bc) [0x5567dbb7c14c]
 5: (rocksdb::DBImpl::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool, bool, bool)+0x11f) [0x5567dbb4331f]
 6: (rocksdb::DB::Open(rocksdb::DBOptions const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, std::vector<rocksdb::ColumnFamilyHandle*, std::allocator<rocksdb::ColumnFamilyHandle*> >*, rocksdb::DB**)+0xe40) [0x5567dbb44d90]
 7: (rocksdb::DB::Open(rocksdb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rocksdb::DB**)+0x698) [0x5567dbb465f8]
 8: (RocksDBStore::do_open(std::ostream&, bool)+0x68e) [0x5567db6dd00e]
 9: (RocksDBStore::create_and_open(std::ostream&)+0xd7) [0x5567db6de5c7]
 10: (MonitorDBStore::create_and_open(std::ostream&)+0xe3) [0x5567db5bec83]
 11: (main()+0x7ef) [0x5567db52d4af]
 12: (__libc_start_main()+0xf1) [0x7f226160b2b1]
 13: (_start()+0x2a) [0x5567db5bbdba]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

     0> 2017-07-05 21:40:16.355087 7f2264e3fc80 -1 *** Caught signal (Illegal instruction) **
 in thread 7f2264e3fc80 thread_name:ceph-mon

 ceph version 12.1.0 (262617c9f16c55e863693258061c5b25dea5b086) luminous (dev)
 1: (()+0x82bcc2) [0x5567dbad3cc2]
 2: (()+0x110c0) [0x7f22641f70c0]
 3: (rocksdb::VersionBuilder::SaveTo(rocksdb::VersionStorageInfo*)+0x871) [0x5567dbc94cc1]
 4: (rocksdb::VersionSet::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool)+0x26bc) [0x5567dbb7c14c]
 5: (rocksdb::DBImpl::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool, bool, bool)+0x11f) [0x5567dbb4331f]
 6: (rocksdb::DB::Open(rocksdb::DBOptions const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, std::vector<rocksdb::ColumnFamilyHandle*, std::allocator<rocksdb::ColumnFamilyHandle*> >*, rocksdb::DB**)+0xe40) [0x5567dbb44d90]
 7: (rocksdb::DB::Open(rocksdb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rocksdb::DB**)+0x698) [0x5567dbb465f8]
 8: (RocksDBStore::do_open(std::ostream&, bool)+0x68e) [0x5567db6dd00e]
 9: (RocksDBStore::create_and_open(std::ostream&)+0xd7) [0x5567db6de5c7]
 10: (MonitorDBStore::create_and_open(std::ostream&)+0xe3) [0x5567db5bec83]
 11: (main()+0x7ef) [0x5567db52d4af]
 12: (__libc_start_main()+0xf1) [0x7f226160b2b1]
 13: (_start()+0x2a) [0x5567db5bbdba]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.


Files

ceph-mon.kvmtest1.log (193 KB) ceph-mon.kvmtest1.log alexandre derumier, 07/21/2017 02:08 AM
ceph-mon.0-pve51.log (73.7 KB) ceph-mon.0-pve51.log Benjamin Candler, 07/21/2017 12:44 PM
ceph-mon.0-pve52.log (73.7 KB) ceph-mon.0-pve52.log Benjamin Candler, 07/21/2017 12:44 PM
ceph-mon.0-pve53.log (36.9 KB) ceph-mon.0-pve53.log Benjamin Candler, 07/21/2017 12:45 PM
pve51.txt (5.51 KB) pve51.txt pveceph createmon Benjamin Candler, 07/21/2017 12:45 PM
pve52.txt (5.47 KB) pve52.txt pveceph createmon Benjamin Candler, 07/21/2017 12:45 PM
pve53.txt (5.47 KB) pve53.txt pveceph createmon Benjamin Candler, 07/21/2017 12:45 PM
pve51-xeon.txt (5.46 KB) pve51-xeon.txt pveceph createmon Benjamin Candler, 07/21/2017 01:33 PM

Related issues 1 (0 open1 closed)

Copied to Ceph - Backport #21396: Illegal instruction in RocksDBResolvedKefu ChaiActions
Actions

Also available in: Atom PDF