Bug 1320000

Summary: While performing in-service software update, glusterfs-geo-replication and glusterfs-cli packages are updated even when glusterfsd or distributed volume is up
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Milind Changire <mchangir>
Component: coreAssignee: Milind Changire <mchangir>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rhgs-3.1CC: asrivast, barumuga, ltrilety, ndevos, nlevinki, rcyriac, rhinduja, rhs-bugs, sankarshan, sasundar, storage-qa-internal, vagarwal, vikumar
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.9-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1211839 Environment:
Last Closed: 2016-06-23 05:13:43 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 11:59:01 UTC
This bug can't be verified till there is another nighty build of RHGS 3.1.3

Comment 3 SATHEESARAN 2016-04-22 02:08:21 UTC
Tested with RHGS 3.1.3 ( 2nd nightly - glusterfs-3.7.9-2.el7rhgs ) with the following testing.

1. Created the node running RHGS 3.1.3 ( glusterfs-3.7.9-1.el7rhgs )
2. Created the plain distribute volume and started it.
3. Performed direct update to glusterfs-3.7.9-2.el7rhgs

Observation is that the update failed, no packages are updated even after update

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-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/18 
  Verifying  : glusterfs-client-xlators-3.7.9-2.el7rhgs.x86_64                                                                                                                                                2/18 
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/18 
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                                                                                                                                                          4/18 
  Verifying  : glusterfs-cli-3.7.9-2.el7rhgs.x86_64                                                                                                                                                           5/18 
  Verifying  : glusterfs-api-3.7.9-2.el7rhgs.x86_64                                                                                                                                                           6/18 
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/18 
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                                                                                                                                                           8/18 
  Verifying  : glusterfs-libs-3.7.9-2.el7rhgs.x86_64                                                                                                                                                          9/18 
  Verifying  : glusterfs-server-3.7.9-2.el7rhgs.x86_64                                                                                                                                                       10/18 
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/18 
  Verifying  : glusterfs-3.7.9-2.el7rhgs.x86_64                                                                                                                                                              12/18 
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                                                                                                                                              13/18 
  Verifying  : glusterfs-geo-replication-3.7.9-2.el7rhgs.x86_64                                                                                                                                              14/18 
  Verifying  : glusterfs-rdma-3.7.9-2.el7rhgs.x86_64                                                                                                                                                         15/18 
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                                                                                                                                                         16/18 
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                                                                                                                                                         17/18 
  Verifying  : glusterfs-fuse-3.7.9-2.el7rhgs.x86_64                                                                                                                                                         18/18 

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-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 4 SATHEESARAN 2016-04-22 02:15:48 UTC
python-gluster package too failed ( as per expectation )

Running transaction
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package python-gluster-3.7.9-2.el7rhgs.noarch
python-gluster-3.7.9-1.el7rhgs.noarch was supposed to be removed but is not!
  Verifying  : python-gluster-3.7.9-1.el7rhgs.noarch                                                                                                                                                           1/2 
  Verifying  : python-gluster-3.7.9-2.el7rhgs.noarch                                                                                                                                                           2/2 

Failed:
  python-gluster.noarch 0:3.7.9-1.el7rhgs                                                                  python-gluster.noarch 0:3.7.9-2.el7rhgs                                                                 

Complete!

Comment 6 errata-xmlrpc 2016-06-23 05:13:43 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