Bug 1413910

Summary: Snapshot + NFS : After upgrade from 3.1.3 to 3.2 and restoring snapshot, NFS service is not running
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Anil Shah <ashah>
Component: gluster-nfsAssignee: Jiffin <jthottan>
Status: CLOSED WONTFIX QA Contact: Manisha Saini <msaini>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.2CC: amukherj, jthottan, rhinduja, rhs-bugs, skoduri, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
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: 2019-07-16 04:52:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1351530    

Description Anil Shah 2017-01-17 10:06:32 UTC
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 10:21:09 UTC
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-20 01:16:36 UTC
I think this needs to be marked as a known issue with a work around.

Comment 9 Bhavana 2017-03-13 16:03:26 UTC
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 04:57:15 UTC
Looks good to me