2021-08-24 08:11:04 |
Frode Nordahl |
description |
After a fresh deployment of ceph-mon on maas/ubuntu-focal (source: cloud:focal-wallaby) the required library libec_isa.so for the isa erasure code plugin is missing.
The command
juju run-action ceph-mon/leader create-erasure-profile --params ./create_erasure_profile.yml --verbose --wait
with this parameters in create_erasure_profile.yml
name: ectest
#m
coding-chunks: 2
#k
data-chunks: 4
device-class: hdd
failure-domain: host
plugin: isa
fails with the error message
unit-ceph-mon-0:
UnitId: ceph-mon/0
id: "14"
message: 'Create erasure profile failed with message: Command ''[''ceph'', ''--id'',
''admin'', ''osd'', ''erasure-code-profile'', ''set'', ''ectest'', ''plugin=isa'',
''k=4'', ''m=2'', ''crush-failure-domain=host'', ''crush-device-class=hdd'']''
returned non-zero exit status 5.'
results:
Stderr: |
Error ENOENT: unknown erasure code profile 'ectest'
Error EIO: load dlopen(/usr/lib/x86_64-linux-gnu/ceph/erasure-code/libec_isa.so): /usr/lib/x86_64-linux-gnu/ceph/erasure-code/libec_isa.so: cannot open shared object file: No such file or directory
status: failed
timing:
completed: 2021-08-20 16:39:02 +0000 UTC
enqueued: 2021-08-20 16:38:58 +0000 UTC
started: 2021-08-20 16:39:00 +0000 UTC |
[Impact]
An upstream change to build requirements for the ISA-L EC plugin caused it not to be included in the Ceph package for Hirsute and Impish.
Users upgrading from previous versions of Ubuntu making use of this feature would as such face a regression in Ubuntu.
[Test Plan]
The original bug description section below contains a clear reproducible way to test if the issue has been fixed.
[Regression Potential]
We are adding a build dependency which adds back a shared library that was previously included in the package, so I would consider the regression potential to be minimal.
[Original Bug Description]
After a fresh deployment of ceph-mon on maas/ubuntu-focal (source: cloud:focal-wallaby) the required library libec_isa.so for the isa erasure code plugin is missing.
The command
juju run-action ceph-mon/leader create-erasure-profile --params ./create_erasure_profile.yml --verbose --wait
with this parameters in create_erasure_profile.yml
name: ectest
#m
coding-chunks: 2
#k
data-chunks: 4
device-class: hdd
failure-domain: host
plugin: isa
fails with the error message
unit-ceph-mon-0:
UnitId: ceph-mon/0
id: "14"
message: 'Create erasure profile failed with message: Command ''[''ceph'', ''--id'',
''admin'', ''osd'', ''erasure-code-profile'', ''set'', ''ectest'', ''plugin=isa'',
''k=4'', ''m=2'', ''crush-failure-domain=host'', ''crush-device-class=hdd'']''
returned non-zero exit status 5.'
results:
Stderr: |
Error ENOENT: unknown erasure code profile 'ectest'
Error EIO: load dlopen(/usr/lib/x86_64-linux-gnu/ceph/erasure-code/libec_isa.so): /usr/lib/x86_64-linux-gnu/ceph/erasure-code/libec_isa.so: cannot open shared object file: No such file or directory
status: failed
timing:
completed: 2021-08-20 16:39:02 +0000 UTC
enqueued: 2021-08-20 16:38:58 +0000 UTC
started: 2021-08-20 16:39:00 +0000 UTC |
|