Bug 1651038

Summary: [Tracker RHGS#1651460] OCS upgrade doesn't regenerate volfiles
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Atin Mukherjee <amukherj>
Component: rhgs-server-containerAssignee: Saravanakumar <sarumuga>
Status: CLOSED CURRENTRELEASE QA Contact: Prasanth <pprakash>
Severity: urgent Docs Contact:
Priority: urgent    
Version: ocs-3.11CC: knarra, kramdoss, madam, rcyriac, rhs-bugs, sankarshan, sarumuga
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-15 10:09:33 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: 1651460    
Bug Blocks:    

Description Atin Mukherjee 2018-11-19 02:21:30 UTC
Description of problem:

Background of the problem is captured at https://bugzilla.redhat.com/show_bug.cgi?id=1650138#c6 .

As part of an OCS upgrade process, glusterd isn't brought up with an interim mode ( glusterd --xlator-option *.upgrade=on -N) when the underlying RHGS NVR has changed. This command is run in the post install script of the glusterfs spec when an rpm is upgraded. This command is needed to ensure all the gluster bricks are started with the regenerated volfiles based on the latest bits.

Missing out this step as part of an OCS upgrade process can cause severe problems/side effects as explained in https://bugzilla.redhat.com/show_bug.cgi?id=1650138#c6

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

How reproducible:
every time