Project

General

Profile

Actions

Bug #20853

closed

Enabling LZ4 in 12.1.1 fails

Added by Sander Klein almost 7 years ago. Updated almost 7 years ago.

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

0%

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

Description

I'm testing Luminus 12.1.1 from the Ceph repository on Ubuntu Xenial and it seems like it is not build with LZ4.

When trying to enable LZ4 I get the following error in the OSD:

2017-07-29 16:13:12.451189 7fba0715dc80 -1 load failed dlopen(): "/usr/lib/ceph/compressor/libceph_lz4.so: cannot open shared object file: No such file or directory" or "/usr/lib/ceph/libceph_lz4.so: cannot open shared object file: No such file or directory"
2017-07-29 16:13:12.451201 7fba0715dc80 -1 create cannot load compressor of type lz4
2017-07-29 16:13:12.451204 7fba0715dc80 -1 bluestore(/var/lib/ceph/osd/ceph-2) _set_compression unable to initialize lz4 compressor

Checking the /usr/lib/ceph/compressor directory indeed shows no lz4 compression being available.

After that I tried to build my own packages with lz4 enabled. I installed the liblz4-dev package and used the -DWITH_LZ4=ON flag, but still I do not get the required libceph_lz4.so file.

Actions

Also available in: Atom PDF