Bug 1378316 - Updating to major release happening with warning messages when gluster process is running (glusterd)
Summary: Updating to major release happening with warning messages when gluster proce...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: build
Version: rhgs-3.2
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
: ---
Assignee: Bug Updates Notification Mailing List
QA Contact: Rahul Hinduja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-22 06:27 UTC by Byreddy
Modified: 2018-10-11 10:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-11 10:07:42 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Byreddy 2016-09-22 06:27:52 UTC
Description of problem:
=======================
while updating to major release (3.2) from 3.1.3, i am getting the below warning messages with successful update.

<start>
Job for glusterd.service failed because the control process exited with error code. See "systemctl status glusterd.service" and "journalctl -xe" for details.
warning: %post(glusterfs-server-3.8.4-1.el7rhgs.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package glusterfs-server-3.8.4-1.el7rhgs.x86_64
  Updating   : glusterfs-geo-replication-3.8.4-1.el7rhgs.x86_64                                                                                                                          8/18 
<end>

Version-Release number of selected component (if applicable):
=============================================================
glusterfs-3.8.4-1


How reproducible:
=================
Always


Steps to Reproduce:
===================
1.Have 3.1.3 setup
2.Update to glusterfs-3.8.4-1 without stopping glusterd process
3.you will see the warning messages mentioned above with successful update.

Actual results:
===============
Getting warning messages when updating to major release with glusterd running.


Expected results:
=================
Updating to major release should not happen if gluster processes are running


Additional info:

Comment 2 Byreddy 2016-09-22 06:30:24 UTC
Update from dev team about this one:
====================================

when upgrading to a major release, all gluster processes should
be stopped. Looks like here, the upgrade proceeded with glusterd
running, so the post-in rpm scriptlet is trying to start glusterd
again after the upgrade. This shouldn't happen.

Comment 3 Atin Mukherjee 2016-09-22 06:36:01 UTC
I'd request you to check the upgrade path from 3.0 to 3.1 and see if the same behaviour is seen or not. Based on that we can take a call.

Comment 4 Byreddy 2016-09-22 06:48:16 UTC
(In reply to Atin Mukherjee from comment #3)
> I'd request you to check the upgrade path from 3.0 to 3.1 and see if the
> same behaviour is seen or not. Based on that we can take a call.

Sure Atin, i will check and update here

Comment 5 Byreddy 2016-09-22 07:06:58 UTC
Getting the same error message while updating from 3.0.4 to 3.1.3

<start>
  Installing : userspace-rcu-0.7.9-2.el6rhs.x86_64                                                                                                                                       7/18 
  Updating   : glusterfs-server-3.7.9-12.el6rhs.x86_64                                                                                                                                   8/18 
Non-fatal POSTIN scriptlet failure in rpm package glusterfs-server-3.7.9-12.el6rhs.x86_64
warning: %post(glusterfs-server-3.7.9-12.el6rhs.x86_64) scriptlet failed, exit status 1
  Updating   : glusterfs-geo-replication-3.7.9-12.el6rhs.x86_64                                                                                                                          9/18 
  Updating   : glusterfs-rdma-3.7.9-12.el6rhs.x86_64                                                                                                                                    10/18 
  Cleanup    : glusterfs-geo-replication-3.6.0.53-1.el6rhs.x
<end>

Comment 6 Byreddy 2016-09-22 08:33:43 UTC
Like how we are stopping the update when brick processes are running, same  thing should happen for glusterd process has well.

Comment 7 Atin Mukherjee 2016-09-24 08:20:26 UTC
(In reply to Byreddy from comment #5)
> Getting the same error message while updating from 3.0.4 to 3.1.3
> 
> <start>
>   Installing : userspace-rcu-0.7.9-2.el6rhs.x86_64                          
> 7/18 
>   Updating   : glusterfs-server-3.7.9-12.el6rhs.x86_64                      
> 8/18 
> Non-fatal POSTIN scriptlet failure in rpm package
> glusterfs-server-3.7.9-12.el6rhs.x86_64
> warning: %post(glusterfs-server-3.7.9-12.el6rhs.x86_64) scriptlet failed,
> exit status 1
>   Updating   : glusterfs-geo-replication-3.7.9-12.el6rhs.x86_64             
> 9/18 
>   Updating   : glusterfs-rdma-3.7.9-12.el6rhs.x86_64                        
> 10/18 
>   Cleanup    : glusterfs-geo-replication-3.6.0.53-1.el6rhs.x
> <end>

As the behaviour is same on all major to major upgrade path and especially the steps were not inlined with the admin guide, we will not spend time fixing it for 3.2.0

Comment 11 Amar Tumballi 2018-10-11 10:07:42 UTC
As per comment #7, Closing as Deferred! Please reopen if required sooner!


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