NFS Ganesha is built without RADOS support

Bug #1927207 reported by Chris MacNaughton
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nfs-ganesha (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned

Bug Description

The debian/rules file to build nfs-ganesha disables default build features that enable using Ceph as a backend for storing config and client recovery data:

-DUSE_RADOS_RECOV=NO
-DRADOS_URLS=NO

[Impact]

It is not possible to enable Ceph backends for either configuration nor recovery. When attempting to do so, Ganesha will fail on start because of unknown configuration options.

[Test Plan]

Deploy manila + Ganesha with the OpenStack Charms and confirm that RADOS URLs are recognized, and that configuration can be stored in Ceph. Fully validating this does require https://bugs.launchpad.net/ubuntu/+source/nfs-ganesha/+bug/1927208 as well.

To verify the functionality is complete and functional, a new NFS share will be created in nfs-ganesha via Manila, the share will be backed by CephFS, and the share's functionality will be validated (mounted onto two distinct machines and read/write across that), then the nfs-ganesha process will be restarted, and the same validation will be done again.

[Where problems could occur]

The most likely place that issues could occur is in URL based include handling, as this change enables handing of rados: scheme URLs.

Additionally, this enables the Ceph backed recovery backend driver for Ganesha but does not change the default.

[Other Info]

description: updated
tags: added: sts
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Chris, or anyone else affected,

Accepted nfs-ganesha into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nfs-ganesha/3.0.3-0ubuntu3.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 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-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. 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 Focal):
status: New → Fix Committed
tags: added: verification-needed verification-needed-focal
Changed in nfs-ganesha (Ubuntu):
status: New → Invalid
Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

Validation was performed on Focal with the following package version:

Focal:

nfs-ganesha:
  Installed: 3.0.3-0ubuntu3.1
  Candidate: 3.0.3-0ubuntu3.1
  Version table:
 *** 3.0.3-0ubuntu3.1 500
        500 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     3.0.3-0ubuntu3 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages

2021-06-21 14:48:45 [INFO] Ran 1 test in 423.943s
2021-06-21 14:48:45 [INFO] OK
2021-06-21 14:48:45 [INFO] Events:
  Configure zaza.openstack.charm_tests.glance.setup.add_lts_image:
    Start: 1624286239.7327762
    Finish: 1624286261.1701274
    Elapsed Time: 21.43735122680664
    PCT Of Run Time: 1
  Configure zaza.openstack.charm_tests.keystone.setup.add_demo_user:
    Start: 1624286431.6735568
    Finish: 1624286485.5936635
    Elapsed Time: 53.920106649398804
    PCT Of Run Time: 3
  Configure zaza.openstack.charm_tests.manila_ganesha.setup.setup_ganesha_share_type:
    Start: 1624286485.5936916
    Finish: 1624286501.139314
    Elapsed Time: 15.5456223487854
    PCT Of Run Time: 1
  Configure zaza.openstack.charm_tests.neutron.setup.basic_overcloud_network:
    Start: 1624286261.1701558
    Finish: 1624286396.9017227
    Elapsed Time: 135.73156690597534
    PCT Of Run Time: 6
  Configure zaza.openstack.charm_tests.nova.setup.create_flavors:
    Start: 1624286396.9017842
    Finish: 1624286420.136589
    Elapsed Time: 23.23480486869812
    PCT Of Run Time: 1
  Configure zaza.openstack.charm_tests.nova.setup.manage_ssh_key:
    Start: 1624286420.1366277
    Finish: 1624286431.6735284
    Elapsed Time: 11.536900758743286
    PCT Of Run Time: 1
  Deploy Bundle:
    Start: 1624284521.9185648
    Finish: 1624284605.901152
    Elapsed Time: 83.98258709907532
    PCT Of Run Time: 4
  Prepare Environment:
    Start: 1624284513.8722706
    Finish: 1624284521.9183383
    Elapsed Time: 8.046067714691162
    PCT Of Run Time: 1
  Test zaza.openstack.charm_tests.manila_ganesha.tests.ManilaGaneshaTests:
    Start: 1624286501.139447
    Finish: 1624286925.0877438
    Elapsed Time: 423.9482967853546
    PCT Of Run Time: 18
  Wait for Deployment:
    Start: 1624284605.9012907
    Finish: 1624286139.9075832
    Elapsed Time: 1534.0062925815582
    PCT Of Run Time: 64
Metadata: {}

___________________________________ summary ____________________________________
  func-target: commands succeeded
  congratulations :)

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

This bug was fixed in the package nfs-ganesha - 3.0.3-0ubuntu3.1

---------------
nfs-ganesha (3.0.3-0ubuntu3.1) focal; urgency=medium

  * d/rules: Build nfs-ganesha with support for RADOS URLs and recovery
    (LP: #1927207).
  * d/nfs-ganesha-ceph.install: Include shared libraries for RADOS URLs
    and recovery (LP: #1927208).

 -- Chris MacNaughton <email address hidden> Wed, 05 May 2021 10:46:20 +0000

Changed in nfs-ganesha (Ubuntu Focal):
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.