Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1413910 - Snapshot + NFS : After upgrade from 3.1.3 to 3.2 and restoring snapshot, NFS service is not running
Snapshot + NFS : After upgrade from 3.1.3 to 3.2 and restoring snapshot, NFS ...
Status: NEW
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: gluster-nfs (Show other bugs)
3.2
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Jiffin
Manisha Saini
: ZStream
Depends On:
Blocks: 1351530
  Show dependency treegraph
 
Reported: 2017-01-17 05:06 EST by Anil Shah
Modified: 2018-10-18 13:53 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
From Red Hat Gluster Storage 3.2 onwards, for every volume the option nfs.disable will be explicitly set to either on or off. The snapshots which were created from 3.1.x or earlier does not have that volume option. Workaround: Execute the following command on the volumes: gluster v set nfs.disable <volname> off The restored volume will not be exported via gluster nfs.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Anil Shah 2017-01-17 05:06:32 EST
Description of problem:

After Upgrade from 3.1.3 to 3.2, and restoring snapshot which was taken in 3.1.3. After restore gluster v status shows NFS service is not running. 

Version-Release number of selected component (if applicable):

glusterfs-3.8.4-11.el7rhgs.x86_64


How reproducible:

100%

Steps to Reproduce:
1. Create 2*3 dist-repvol
2. create snapshot
3. Upgrade systems to 3.2 build and bump the op-version
4. Do snapshot restore and start the volume


Actual results:

NFS service is not running

Expected results:

NFS service should be running.

Additional info:
Comment 3 Atin Mukherjee 2017-01-17 05:21:09 EST
Given the snap was taken in 3.1.3, nfs.disable option was not touched. Now when this snap is restored, GlusterD didn't bring up the NFS service as nfs.disable is not set to off as per the current code logic.

@Jiffin - please confirm if this hypothesis is correct.
Comment 5 Atin Mukherjee 2017-01-19 20:16:36 EST
I think this needs to be marked as a known issue with a work around.
Comment 9 Bhavana 2017-03-13 12:03:26 EDT
Hi jiffin,

I have updated the doc text further for the release notes, let me know if this looks ok.
Comment 10 Jiffin 2017-03-14 00:57:15 EDT
Looks good to me

Note You need to log in before you can comment on or make changes to this bug.