nfs-ganesha-rados-grace doesn't work on ARM64

Bug #1994699 reported by Chris MacNaughton
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nfs-ganesha (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

Ganesha's rados backend for HA operation can't be used on aarch64

[ Test Plan ]

Install the nfs-ganesha-rados-grace package, run it without arguments. It should report a failure to connect to Ceph:

# ganesha-rados-grace
rados_conf_read_file: -2
Can't connect to cluster: -2

With the current version in Jammy and Kinetic, you instead always get the usage directions.

[ Where problems could occur ]

Problems could occur around argument parsing on amd64 or arm64 so verification should be done that the argument parsing does work.

[ Other Info ]

Upstream has already landed a fix to this change: https://github.com/nfs-ganesha/nfs-ganesha/commit/3db6bc0cb75fa85ffcebeda1276d195915b84579

Related branches

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

Upstream's fix for this has landed into Kinetic already.

no longer affects: nfs-ganesha (Ubuntu Kinetic)
Changed in nfs-ganesha (Ubuntu):
status: New → Fix Released
Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :
Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello Chris, or anyone else affected,

Accepted nfs-ganesha into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nfs-ganesha/3.5-1ubuntu1 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 on 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, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in nfs-ganesha (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

On a Jammy ARM64 machine:

root@node-couder:~# apt-cache policy nfs-ganesha-rados-grace
nfs-ganesha-rados-grace:
  Installed: 3.5-1build1
  Candidate: 3.5-1build1
  Version table:
     3.5-1ubuntu1 400
        400 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/universe arm64 Packages
 *** 3.5-1build1 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 Packages
        100 /var/lib/dpkg/status
root@node-couder:~# ganesha-rados-grace
Usage:
ganesha-rados-grace [ --userid ceph_user ] [ --cephconf /path/to/ceph.conf ] [ --ns namespace ] [ --oid obj_id ] [ --pool pool_id ] dump|add|start|join|lift|remove|enforce|noenforce|member [ nodeid ... ]
root@node-couder:~# apt install nfs-ganesha-rados-grace
...
root@node-couder:~# apt-cache policy nfs-ganesha-rados-grace
nfs-ganesha-rados-grace:
  Installed: 3.5-1ubuntu1
  Candidate: 3.5-1ubuntu1
  Version table:
 *** 3.5-1ubuntu1 400
        400 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/universe arm64 Packages
        100 /var/lib/dpkg/status
     3.5-1build1 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 Packages
root@node-couder:~# ganesha-rados-grace
rados_conf_read_file: -2
Can't connect to cluster: -2

On an AMD64 Jammy machine:

root@ganesha-test:~# apt-cache policy nfs-ganesha-rados-grace
nfs-ganesha-rados-grace:
  Installed: 3.5-1ubuntu1
  Candidate: 3.5-1ubuntu1
  Version table:
 *** 3.5-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     3.5-1build1 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
root@ganesha-test:~# ganesha-rados-grace
rados_conf_read_file: -2
Can't connect to cluster: -2

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

This bug was fixed in the package nfs-ganesha - 3.5-1ubuntu1

---------------
nfs-ganesha (3.5-1ubuntu1) jammy; urgency=medium

  * d/p/fix-size-issue-on-arm64.patch: Cherry-pick upstream patch to
    resolve size issue on ARM64 (LP: #1994699).

 -- Chris MacNaughton <email address hidden> Wed, 26 Oct 2022 16:16:57 +0000

Changed in nfs-ganesha (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for nfs-ganesha has completed successfully and the package is now being 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.

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.