Bug 1319998

Summary: while performing in-service software upgrade, gluster-client-xlators, glusterfs-ganesha, python-gluster package should not get installed when distributed volume up
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Milind Changire <mchangir>
Component: buildAssignee: Milind Changire <mchangir>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.1CC: annair, barumuga, dpati, nlevinki, pprakash, rcyriac, rhinduja, rhs-bugs, sasundar, vagarwal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.3   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: glusterfs-3.7.9-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1232641 Environment:
Last Closed: 2016-06-23 05:13:38 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: 1311817    

Comment 2 SATHEESARAN 2016-03-29 12:02:28 UTC
This bug can't be verified till there is one another build available for RHGS 3.1.3 nightly build to upgrade to

Comment 3 SATHEESARAN 2016-04-22 02:21:46 UTC
Tested with RHGS 3.1.3 ( glusterfs-3.7.9-2.el7rhgs )

All the packages failed to update, when plain distribute volume is running on the node.

Refer the following for the observations
- https://bugzilla.redhat.com/show_bug.cgi?id=1320000#c3
- https://bugzilla.redhat.com/show_bug.cgi?id=1320000#c4

In addition to the above references, following shows the update failure for glusterfs-ganesha when distribute volume is running

<snip>
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-ganesha-3.7.9-2.el7rhgs.x86_64
</snip>

Full console logs
-----------------
Running transaction
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-libs-3.7.9-2.el7rhgs.x86_64
ERROR: Distribute volumes detected. In-service rolling upgrade requires distribute volume(s) to be stopped.
ERROR: Please stop distribute volume(s) before proceeding... exiting!
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-3.7.9-2.el7rhgs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-client-xlators-3.7.9-2.el7rhgs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-api-3.7.9-2.el7rhgs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-fuse-3.7.9-2.el7rhgs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-cli-3.7.9-2.el7rhgs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-server-3.7.9-2.el7rhgs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-geo-replication-3.7.9-2.el7rhgs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-ganesha-3.7.9-2.el7rhgs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-rdma-3.7.9-2.el7rhgs.x86_64
glusterfs-server-3.7.9-1.el7rhgs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-server-3.7.9-1.el7rhgs.x86_64                                                                                                                                                        1/20 
  Verifying  : glusterfs-client-xlators-3.7.9-2.el7rhgs.x86_64                                                                                                                                                2/20 
glusterfs-client-xlators-3.7.9-1.el7rhgs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-client-xlators-3.7.9-1.el7rhgs.x86_64                                                                                                                                                3/20 
  Verifying  : glusterfs-libs-3.7.9-2.el7rhgs.x86_64                                                                                                                                                          4/20 
  Verifying  : glusterfs-geo-replication-3.7.9-2.el7rhgs.x86_64                                                                                                                                               5/20 
  Verifying  : glusterfs-api-3.7.9-2.el7rhgs.x86_64                                                                                                                                                           6/20 
glusterfs-api-3.7.9-1.el7rhgs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-api-3.7.9-1.el7rhgs.x86_64                                                                                                                                                           7/20 
glusterfs-geo-replication-3.7.9-1.el7rhgs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-geo-replication-3.7.9-1.el7rhgs.x86_64                                                                                                                                               8/20 
glusterfs-ganesha-3.7.9-1.el7rhgs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-ganesha-3.7.9-1.el7rhgs.x86_64                                                                                                                                                       9/20 
glusterfs-fuse-3.7.9-1.el7rhgs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-fuse-3.7.9-1.el7rhgs.x86_64                                                                                                                                                         10/20 
glusterfs-3.7.9-1.el7rhgs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-3.7.9-1.el7rhgs.x86_64                                                                                                                                                              11/20 
  Verifying  : glusterfs-3.7.9-2.el7rhgs.x86_64                                                                                                                                                              12/20 
glusterfs-cli-3.7.9-1.el7rhgs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-cli-3.7.9-1.el7rhgs.x86_64                                                                                                                                                          13/20 
  Verifying  : glusterfs-cli-3.7.9-2.el7rhgs.x86_64                                                                                                                                                          14/20 
  Verifying  : glusterfs-server-3.7.9-2.el7rhgs.x86_64                                                                                                                                                       15/20 
  Verifying  : glusterfs-ganesha-3.7.9-2.el7rhgs.x86_64                                                                                                                                                      16/20 
  Verifying  : glusterfs-rdma-3.7.9-2.el7rhgs.x86_64                                                                                                                                                         17/20 
  Verifying  : glusterfs-fuse-3.7.9-2.el7rhgs.x86_64                                                                                                                                                         18/20 
glusterfs-rdma-3.7.9-1.el7rhgs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-rdma-3.7.9-1.el7rhgs.x86_64                                                                                                                                                         19/20 
glusterfs-libs-3.7.9-1.el7rhgs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-libs-3.7.9-1.el7rhgs.x86_64                                                                                                                                                         20/20 

Failed:
  glusterfs.x86_64 0:3.7.9-1.el7rhgs                   glusterfs.x86_64 0:3.7.9-2.el7rhgs                   glusterfs-api.x86_64 0:3.7.9-1.el7rhgs              glusterfs-api.x86_64 0:3.7.9-2.el7rhgs             
  glusterfs-cli.x86_64 0:3.7.9-1.el7rhgs               glusterfs-cli.x86_64 0:3.7.9-2.el7rhgs               glusterfs-client-xlators.x86_64 0:3.7.9-1.el7rhgs   glusterfs-client-xlators.x86_64 0:3.7.9-2.el7rhgs  
  glusterfs-fuse.x86_64 0:3.7.9-1.el7rhgs              glusterfs-fuse.x86_64 0:3.7.9-2.el7rhgs              glusterfs-ganesha.x86_64 0:3.7.9-1.el7rhgs          glusterfs-ganesha.x86_64 0:3.7.9-2.el7rhgs         
  glusterfs-geo-replication.x86_64 0:3.7.9-1.el7rhgs   glusterfs-geo-replication.x86_64 0:3.7.9-2.el7rhgs   glusterfs-libs.x86_64 0:3.7.9-1.el7rhgs             glusterfs-libs.x86_64 0:3.7.9-2.el7rhgs            
  glusterfs-rdma.x86_64 0:3.7.9-1.el7rhgs              glusterfs-rdma.x86_64 0:3.7.9-2.el7rhgs              glusterfs-server.x86_64 0:3.7.9-1.el7rhgs           glusterfs-server.x86_64 0:3.7.9-2.el7rhgs          

Complete!

Comment 5 errata-xmlrpc 2016-06-23 05:13:38 UTC
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