Project

General

Profile

Bug #21736

Cannot create bluestore OSD

Added by Konstantin Salnikov over 6 years ago. Updated about 6 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Source:
Tags:
osd,bluestore,armv7,armhf
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

```
root@plk-sr0047-013-dm:~# ceph-disk prepare --bluestore /dev/sda --osd-id 4 --osd-uuid `uuidgen`
Creating new GPT entries.
Setting name!
partNum is 0
REALLY setting name!
The operation has completed successfully.
Setting name!
partNum is 1
REALLY setting name!
The operation has completed successfully.
The operation has completed successfully.
meta-data=/dev/sda1 isize=2048 agcount=4, agsize=6400 blks = sectsz=4096 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=0
data = bsize=4096 blocks=25600, imaxpct=25 = sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal log bsize=4096 blocks=1608, version=2 = sectsz=4096 sunit=1 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
The operation has completed successfully.

root@plk-sr0047-013-dm:~# ceph-disk activate /dev/sda1
got monmap epoch 1
  • Caught signal (Segmentation fault)
    in thread b6f8e000 thread_name:ceph-osd
    ceph version 12.2.1 (3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e) luminous (stable)
    1: (()+0x7c7adc) [0xc34adc]
    2: (()+0x25260) [0xb6a7b260]
    2017-10-09 18:49:04.362450 b6f8e000 -1
    Caught signal (Segmentation fault) *
    in thread b6f8e000 thread_name:ceph-osd
ceph version 12.2.1 (3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e) luminous (stable)
1: (()+0x7c7adc) [0xc34adc]
2: (()+0x25260) [0xb6a7b260]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
0> 2017-10-09 18:49:04.362450 b6f8e000 -1 ** Caught signal (Segmentation fault) *
in thread b6f8e000 thread_name:ceph-osd
ceph version 12.2.1 (3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e) luminous (stable)
1: (()+0x7c7adc) [0xc34adc]
2: (()+0x25260) [0xb6a7b260]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

mount_activate: Failed to activate
Traceback (most recent call last):
File "/usr/sbin/ceph-disk", line 9, in <module>
load_entry_point('ceph-disk==1.0.0', 'console_scripts', 'ceph-disk')()
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5704, in run
main(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5657, in main
main_catch(args.func, args)
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5682, in main_catch
func(args)
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3759, in main_activate
reactivate=args.reactivate,
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3522, in mount_activate
(osd_id, cluster) = activate(path, activate_key_template, init)
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3699, in activate
keyring=keyring,
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3151, in mkfs
'--setgroup', get_ceph_group(),
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 558, in command_check_call
return subprocess.check_call(arguments)
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/ceph-osd', '--cluster', 'ceph', '--mkfs', '-i', u'5', '--monmap', '/var/lib/ceph/tmp/mnt.PQs707/activate.monmap', '--osd-data', '/var/lib/ceph/tmp/mnt.PQs707', '--osd-uuid', u'ff4eb455-d260-416d-bfb1-7f4fe3339a3a', '--setuser', 'ceph', '--setgroup', 'ceph']' returned non-zero exit status -11
```

```
root@plk-sr0047-013-dm:~# uname -a
Linux plk-sr0047-013-dm 4.9.44-54 #1 SMP PREEMPT Sun Aug 20 20:24:08 UTC 2017 armv7l armv7l armv7l GNU/Linux
```

History

#1 Updated by Sage Weil over 6 years ago

  • Project changed from Ceph to bluestore
  • Category deleted (OSD)

#2 Updated by Sage Weil over 6 years ago

  • Status changed from New to Need More Info

Please put 'debug bluestore = 20' and 'debug osd = 20' in the [osd.4] section of the ceph.conf and retry this command, and then upload the /var/log/ceph/ceph-osd.4.log file? Thanks!

Or, retry with 12.2.2 (out tomorrow most likely)

#3 Updated by Sage Weil about 6 years ago

  • Status changed from Need More Info to Can't reproduce

Also available in: Atom PDF