[Bug 1940697] Re: missing erasure code plugin library libec_isa.so

Frode Nordahl 1940697 at bugs.launchpad.net
Tue Aug 24 08:11:04 UTC 2021


** Description changed:

- 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.
+ [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
+   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

-- 
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/1940697

Title:
  missing erasure code plugin library libec_isa.so

Status in OpenStack ceph-mon charm:
  Invalid
Status in ceph package in Ubuntu:
  Triaged
Status in ceph source package in Hirsute:
  Triaged
Status in ceph source package in Impish:
  Triaged

Bug description:
  [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

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-mon/+bug/1940697/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list