Missing erasure coding plugins for jerasure/neon and shec

Bug #1507244 reported by Steve Tsai
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ceph (Ubuntu)
Fix Released
High
Unassigned
Vivid
Fix Released
High
Unassigned
Wily
Fix Released
High
Unassigned
Xenial
Fix Released
High
Unassigned

Bug Description

[Impact]
Neon optimized jerasure plugin is built but not included in packages; this results in use of the un-optimized jerasure plugin in this use case.

Likewise the SHEC based plugin is built, but not shipped.

A number of dangling symlinks are also installed in the ceph package.

[Test Case]
sudo apt-get install ceph
ls -l /usr/lib/*/ceph/erasure-code
   <missing libec_jerasure_neon.so>
   <missing libec_shec.so>
   dangling symlinks.

[Regression Potential]
Minimal; The proposed fix just ensures that the missing plugins are built with a unversioned .so extension, and drops the dangling symlinks from the install.

[Original Bug Report]
ceph_0.94.3-0ubuntu0.15.04.1_armhf.deb does not include the following libraries in /usr/lib/arm-linux-gnueabihf/ceph/erasure-code

libec_example.so.0.0.0
libec_fail_to_initialize.so.0.0.0
libec_fail_to_register.so.0.0.0
libec_hangs.so.0.0.0
libec_jerasure_neon.so.2.0.0
libec_missing_entry_point.so.0.0.0
libec_missing_version.so.0.0.0
libec_shec.so.1.0.0
libec_test_jerasure_generic.so.0.0.0
libec_test_jerasure_neon.so.0.0.0
libec_test_jerasure_sse3.so.0.0.0
libec_test_jerasure_sse4.so.0.0.0

James Page (james-page)
Changed in ceph (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ceph - 0.94.5-0ubuntu1

---------------
ceph (0.94.5-0ubuntu1) xenial; urgency=medium

  * New upstream release (LP: #1512292):
    - d/p/*: Refresh.
    - d/p/ceph-radosgw-init.patch: Dropped, included upstream.
    - d/*.symbols: Refresh.
  * d/p/modules.patch: Add jerasure_neon and shec erasure coding plugins
    to generate unversioned so's for plugin loading (LP: #1507244).
  * d/rules: Ensure that any remaining versioned so's are dropped from
    the packaging - this is all test code (LP: #1507244).

 -- James Page <email address hidden> Mon, 02 Nov 2015 14:47:31 +0000

Changed in ceph (Ubuntu Xenial):
status: Confirmed → Fix Released
James Page (james-page)
description: updated
Changed in ceph (Ubuntu Wily):
importance: Undecided → High
Changed in ceph (Ubuntu Vivid):
importance: Undecided → High
summary: - ceph_0.94.3-0ubuntu0.15.04.1_armhf.deb not pack some libs
+ Missing erasure coding plugins for jerasure/neon and shec
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Steve, or anyone else affected,

Accepted ceph into wily-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ceph/0.94.5-0ubuntu0.15.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ceph (Ubuntu Wily):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Steve Tsai (a-steve-g) wrote :

I installed the package to Wily armhf platform and the issue was fixed. The following erasure libraries are installed and there are no symbolic links now.

-rw-r--r-- 1 root root 308688 Nov 4 20:03 libec_jerasure.so
-rw-r--r-- 1 root root 468524 Nov 4 20:03 libec_jerasure_generic.so
-rw-r--r-- 1 root root 472620 Nov 4 20:03 libec_jerasure_neon.so
-rw-r--r-- 1 root root 1390044 Nov 4 20:03 libec_lrc.so
-rw-r--r-- 1 root root 480812 Nov 4 20:03 libec_shec.so

Steve

Revision history for this message
James Page (james-page) wrote :

Thanks for the testing Steve.

Revision history for this message
James Page (james-page) wrote :

Vivid update also uploaded to proposed for SRU team review.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ceph (Ubuntu Vivid):
status: New → Confirmed
dann frazier (dannf)
Changed in ceph (Ubuntu Vivid):
status: Confirmed → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Steve, or anyone else affected,

Accepted ceph into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ceph/0.94.5-0ubuntu0.15.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ceph (Ubuntu Vivid):
status: In Progress → Fix Committed
Revision history for this message
James Page (james-page) wrote :

vivid build now ships the neon optimized jerasure backend:

drwxr-xr-x root/root 0 2015-11-12 14:48 ./usr/lib/aarch64-linux-gnu/ceph/erasure-code/
-rw-r--r-- root/root 432144 2015-11-12 14:48 ./usr/lib/aarch64-linux-gnu/ceph/erasure-code/libec_jerasure.so
-rw-r--r-- root/root 628888 2015-11-12 14:48 ./usr/lib/aarch64-linux-gnu/ceph/erasure-code/libec_jerasure_generic.so
-rw-r--r-- root/root 637080 2015-11-12 14:48 ./usr/lib/aarch64-linux-gnu/ceph/erasure-code/libec_jerasure_neon.so
-rw-r--r-- root/root 1796144 2015-11-12 14:48 ./usr/lib/aarch64-linux-gnu/ceph/erasure-code/libec_lrc.so
-rw-r--r-- root/root 649368 2015-11-12 14:48 ./usr/lib/aarch64-linux-gnu/ceph/erasure-code/libec_shec.so

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ceph - 0.94.5-0ubuntu0.15.10.1

---------------
ceph (0.94.5-0ubuntu0.15.10.1) wily; urgency=medium

  * New upstream release (LP: #1512292):
    - d/p/ceph-radosgw-init.patch: Dropped, included upstream.
    - d/p/*: Refresh
  * Fixup problems with missing erasure coding plugins and dangling
    symlinks (LP: #1507244):
    - d/p/modules.patch: Add jerasure_neon and shec erasure coding plugins
      to generate unversioned so's for plugin loading.
    - d/rules: Ensure that any remaining versioned so symlinks are dropped
      from the packaging - this is all test code.

 -- James Page <email address hidden> Wed, 04 Nov 2015 09:43:19 +0000

Changed in ceph (Ubuntu Wily):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for ceph has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ceph - 0.94.5-0ubuntu0.15.04.1

---------------
ceph (0.94.5-0ubuntu0.15.04.1) vivid; urgency=medium

  * New upstream release (LP: #1512292):
    - d/p/ceph-radosgw-init.patch: Dropped, included upstream.
    - d/p/*: Refresh
  * Fixup problems with missing erasure coding plugins and dangling
    symlinks (LP: #1507244):
    - d/p/modules.patch: Add jerasure_neon and shec erasure coding plugins
      to generate unversioned so's for plugin loading.
    - d/rules: Ensure that any remaining versioned so symlinks are dropped
      from the packaging - this is all test code.

 -- James Page <email address hidden> Mon, 09 Nov 2015 10:38:26 +0000

Changed in ceph (Ubuntu Vivid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.