Description of problem: ----------------------- When the /var/lib/glusterd/groups/virt file is edited/modified in previous release ( RHGS 3.1.2 ), then the upgrade doesn't adds the new file. Version-Release number of selected component (if applicable): -------------------------------------------------------------- RHGS 3.1.3 nightly ( glusterfs-3.7.9-3.el7rhgs ) How reproducible: ----------------- Always/Consistent Steps to Reproduce: ------------------- 1. Edit the /var/lib/glusterd/groups/virt file in RHGS 3.1.2 2. Update RHGS 3.1.2 to RHGS 3.1.3 3. /var/lib/glusterd/groups/virt file is not modified Actual results: ---------------- The new /var/lib/glusterd/groups/virt file is not available Expected results: ----------------- If the new /var/lib/glusterd/group/virt is different from the existing one, then the newer /var/lib/glusterd/group/virt file should be placed as virt.rpmnew Additional info: ----------------- /var/lib/glusterd/groups/virt file is changed in RHGS 3.1.3, so if older virt file is edited, then the newer virt file should be placed as virt.rpmnew
Kaleb's patch POSTED at: https://code.engineering.redhat.com/gerrit/73374 fixes this issue. moving to POST
Tested by updating RHGS 3.1.2 to latest RHGS 3.1.3 nightly ( glusterfs-3.7.9-4.el7rhgs ) Following are the observations 1. If /var/lib/glusterd/groups/virt file is unaltered, then the new virt file replaces the existing virt file 2. If /var/lib/glusterd/groups/virt file is altered, the current virt file is moved to virt.rpmsave and new virt file is placed. Following the output when virt file is altered in RHGS 3.1.2 and updated to RHGS 3.1.3 nightly [root@ ~]# ls /var/lib/glusterd/groups/ -l total 8 -rw-r--r--. 1 root root 220 May 10 08:48 virt -rw-r--r--. 1 root root 166 May 11 19:35 virt.rpmsave [root@ ~]# rpm -qf /var/lib/glusterd/groups/* glusterfs-server-3.7.9-4.el7rhgs.x86_64 file /var/lib/glusterd/groups/virt.rpmsave is not owned by any package
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1240