Bug 1211839 - While performing in-service software update, glusterfs-geo-replication and glusterfs-cli packages are updated even when glusterfsd or distributed volume is up
Summary: While performing in-service software update, glusterfs-geo-replication and gl...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: core
Version: rhgs-3.0
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
: RHGS 3.1.0
Assignee: Niels de Vos
QA Contact: SATHEESARAN
URL:
Whiteboard:
: 1224997 (view as bug list)
Depends On: 1198887
Blocks: 1202842
TreeView+ depends on / blocked
 
Reported: 2015-04-15 05:22 UTC by Vivek Agarwal
Modified: 2019-07-11 08:56 UTC (History)
11 users (show)

Fixed In Version: glusterfs-3.7.1-3
Doc Type: Bug Fix
Doc Text:
Clone Of: 1198887
: 1320000 (view as bug list)
Environment:
Last Closed: 2015-07-29 04:40:47 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1224997 0 unspecified CLOSED glusterfs update 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

Internal Links: 1224997

Comment 6 SATHEESARAN 2015-06-09 10:12:55 UTC
I have seen along with glusterfs-cli, glusterfs-geo-replication, - glusterfs-client-xlators package is also getting upgraded, when performing upgrading from RHGS 3.0.4 ( glusterfs-3.6.0.53-1.el6rhs ) to RHGS 3.1 Nightly ( glusterfs-3.7.1-1.el6rhs )

Bala, in response to your comment2, When will this patch be taken in RHGS 3.1, as we have a branch now in code.engineering.

Comment 7 SATHEESARAN 2015-06-09 10:13:27 UTC
This bug affects https://bugzilla.redhat.com/show_bug.cgi?id=1224997

Comment 8 Bala.FA 2015-06-11 06:56:09 UTC
Patch is under review at https://code.engineering.redhat.com/gerrit/50491

Comment 10 Atin Mukherjee 2015-06-16 04:19:20 UTC
*** Bug 1224997 has been marked as a duplicate of this bug. ***

Comment 11 SATHEESARAN 2015-06-17 06:38:16 UTC
Tested this issue with glusterfs nightly build - glusterfs-3.7.1-3.el6rhs

I have done upgrade from RHGS 3.0.4 ( glusterfs-3.6.0.53-1.el6rhs ) to the latest glusterfs ( glusterfs-3.7.1-3.el6rhs )

I see that now glusterfs-geo-replication and glusterfs-cli packages are not installed, when the distributed volume (i.e) brick process is up before upgrade.

But glusterfs-client-xlators which is a dependency of glusterfs-server got installed.

Here is the snip from yum update process :

<snip>
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Error in PRETRANS scriptlet in rpm package glusterfs-libs-3.7.1-3.el6rhs.x86_64
error: lua script failed: Detected running glusterfs processes
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 in PRETRANS scriptlet in rpm package glusterfs-3.7.1-3.el6rhs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-api-3.7.1-3.el6rhs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-fuse-3.7.1-3.el6rhs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-cli-3.7.1-3.el6rhs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-server-3.7.1-3.el6rhs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-geo-replication-3.7.1-3.el6rhs.x86_64
error: lua script failed: Detected running glusterfs processes
Error in PRETRANS scriptlet in rpm package glusterfs-rdma-3.7.1-3.el6rhs.x86_64
error: lua script failed: Detected running glusterfs processes
  Installing : glusterfs-client-xlators-3.7.1-3.el6rhs.x86_64                                                                                                                      1/17 
  Verifying  : glusterfs-client-xlators-3.7.1-3.el6rhs.x86_64                                                                                                                      1/17 
glusterfs-server-3.6.0.53-1.el6rhs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-server-3.6.0.53-1.el6rhs.x86_64                                                                                                                           2/17 
  Verifying  : glusterfs-api-3.7.1-3.el6rhs.x86_64                                                                                                                                 3/17 
glusterfs-api-3.6.0.53-1.el6rhs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-api-3.6.0.53-1.el6rhs.x86_64                                                                                                                              4/17 
glusterfs-geo-replication-3.6.0.53-1.el6rhs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-geo-replication-3.6.0.53-1.el6rhs.x86_64                                                                                                                  5/17 
glusterfs-libs-3.6.0.53-1.el6rhs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-libs-3.6.0.53-1.el6rhs.x86_64                                                                                                                             6/17 
glusterfs-fuse-3.6.0.53-1.el6rhs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-fuse-3.6.0.53-1.el6rhs.x86_64                                                                                                                             7/17 
  Verifying  : glusterfs-rdma-3.7.1-3.el6rhs.x86_64                                                                                                                                8/17 
  Verifying  : glusterfs-libs-3.7.1-3.el6rhs.x86_64                                                                                                                                9/17 
  Verifying  : glusterfs-cli-3.7.1-3.el6rhs.x86_64                                                                                                                                10/17 
glusterfs-rdma-3.6.0.53-1.el6rhs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-rdma-3.6.0.53-1.el6rhs.x86_64                                                                                                                            11/17 
glusterfs-3.6.0.53-1.el6rhs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-3.6.0.53-1.el6rhs.x86_64                                                                                                                                 12/17 
glusterfs-cli-3.6.0.53-1.el6rhs.x86_64 was supposed to be removed but is not!
  Verifying  : glusterfs-cli-3.6.0.53-1.el6rhs.x86_64                                                                                                                             13/17 
  Verifying  : glusterfs-fuse-3.7.1-3.el6rhs.x86_64                                                                                                                               14/17 
  Verifying  : glusterfs-3.7.1-3.el6rhs.x86_64                                                                                                                                    15/17 
  Verifying  : glusterfs-geo-replication-3.7.1-3.el6rhs.x86_64                                                                                                                    16/17 
  Verifying  : glusterfs-server-3.7.1-3.el6rhs.x86_64                                                                                                                             17/17 

Dependency Installed:
  glusterfs-client-xlators.x86_64 0:3.7.1-3.el6rhs                                                                                                                                      

Failed:
  glusterfs.x86_64 0:3.6.0.53-1.el6rhs                          glusterfs.x86_64 0:3.7.1-3.el6rhs                     glusterfs-api.x86_64 0:3.6.0.53-1.el6rhs                        
  glusterfs-api.x86_64 0:3.7.1-3.el6rhs                         glusterfs-cli.x86_64 0:3.6.0.53-1.el6rhs              glusterfs-cli.x86_64 0:3.7.1-3.el6rhs                           
  glusterfs-fuse.x86_64 0:3.6.0.53-1.el6rhs                     glusterfs-fuse.x86_64 0:3.7.1-3.el6rhs                glusterfs-geo-replication.x86_64 0:3.6.0.53-1.el6rhs            
  glusterfs-geo-replication.x86_64 0:3.7.1-3.el6rhs             glusterfs-libs.x86_64 0:3.6.0.53-1.el6rhs             glusterfs-libs.x86_64 0:3.7.1-3.el6rhs                          
  glusterfs-rdma.x86_64 0:3.6.0.53-1.el6rhs                     glusterfs-rdma.x86_64 0:3.7.1-3.el6rhs                glusterfs-server.x86_64 0:3.6.0.53-1.el6rhs                     
  glusterfs-server.x86_64 0:3.7.1-3.el6rhs                     

Complete!

</snip>

Comment 12 SATHEESARAN 2015-06-17 07:11:46 UTC
My question about comment11 is - why is the dependency( glusterfs-client-xlators ) of glusterfs-server is getting installed, while the glusterfs-server rpm is not installed.

Comment 13 SATHEESARAN 2015-06-17 07:23:39 UTC
(In reply to SATHEESARAN from comment #12)
> My question about comment11 is - why is the dependency(
> glusterfs-client-xlators ) of glusterfs-server is getting installed, while
> the glusterfs-server rpm is not installed.

Resetting need-info on Bala as I see patch (https://code.engineering.redhat.com/gerrit/#/c/50491/) from Bala was addressing the issue earlier

Comment 14 SATHEESARAN 2015-06-17 08:46:46 UTC
glusterfs-geo-replication and glusterfs-cli packages are not installed when distributed volume is up.
The console log in comment11 depicts the same.

With this information, I mark this bug as VERIFIED.

The other issue, glusterfs-client-xlators getting installed, even when distributed volume is up - is tracked with a new bug https://bugzilla.redhat.com/show_bug.cgi?id=1232641

Comment 15 SATHEESARAN 2015-06-17 08:47:17 UTC
Marking it to VERIFIED ( refer comment14 )

Comment 16 errata-xmlrpc 2015-07-29 04:40:47 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://rhn.redhat.com/errata/RHSA-2015-1495.html


Note You need to log in before you can comment on or make changes to this bug.