Bug 1022822 - Rolling upgrade using yum to Corbett from RHS 2.1 and later
Summary: Rolling upgrade using yum to Corbett from RHS 2.1 and later
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: build
Version: 2.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: RHGS 2.1.2
Assignee: Chris Williams
QA Contact: Rejy M Cyriac
URL:
Whiteboard:
Depends On: 1016385
Blocks: 1033313 1043946
TreeView+ depends on / blocked
 
Reported: 2013-10-24 06:34 UTC by Vivek Agarwal
Modified: 2016-02-18 00:03 UTC (History)
12 users (show)

Fixed In Version: glusterfs-3.4.0.51rhs-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of: 1016385
Environment:
Last Closed: 2015-08-10 07:43:46 UTC
Embargoed:


Attachments (Terms of Use)

Comment 1 Vivek Agarwal 2013-10-24 06:36:38 UTC
Patch in comment #16 to be pulled for Corbett only

Comment 2 Raghavendra Talur 2013-12-16 09:13:55 UTC
Patch posted at https://code.engineering.redhat.com/gerrit/#/c/14487/

Comment 3 Jay Turner 2013-12-17 18:45:24 UTC
Marking this FailedQA and moving back to Assigned based on bug 1043946.  The %pretrans scriptlet is failing preventing package installation.

Comment 4 Harshavardhana 2013-12-17 19:24:59 UTC
(In reply to Jay Turner from comment #3)
> Marking this FailedQA and moving back to Assigned based on bug 1043946.  The
> %pretrans scriptlet is failing preventing package installation.

This is supposed to fail if the 'glusterfs' process are running - can you explain more on what failed?

vol_type - distribute should fail all the time (we don't support rolling upgrades on that)
vol_type - replicate or distributed-replicate is supported but not while the process are running, we should fail the installation and throw a message to the user indicating 'gluster' process are still running. So a 'pkill gluster*' process is necessary before RPM installation.

Comment 5 Jay Turner 2013-12-17 20:41:15 UTC
Take a look at the bug I referenced.  Currently package installation is failing with, "Installing glusterfs-libs-3.4.0.50rhs-1387276796.el6.x86_64
error: %pretrans(glusterfs-libs-3.4.0.50rhs-1387276796.el6.x86_64) scriptlet failed, exit status 127" which is not how things should be working.

Comment 7 Rejy M Cyriac 2014-01-09 18:59:07 UTC
Verified with glusterfs*-3.4.0.55rhs-1

Distribute Volume
-----------------

With running volume:

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-server-3.4.0.55rhs-1.el6rhs.x86_64
....
error: lua script failed: Detected running glusterfs processes

With volume stopped, update is successful


Replicate and Distribute-Replicate Volume
------------------------------------------

With running volume, and running gluster processes on server:

WARNING: Updating glusterfs requires its processes to be killed. This action does NOT incur downtime.
WARNING: Ensure to wait for the upgraded server to finish healing before proceeding.
WARNING: Refer upgrade section of install guide for more details
Please run # service glusterd stop; pkill glusterfs; pkill glusterfsd; pkill gsyncd.py;
Error in PRETRANS scriptlet in rpm package glusterfs-server-3.4.0.55rhs-1.el6rhs.x86_64
....
error: lua script failed: Detected running glusterfs processes

With the gluster processes killed on server to be updated, the update is successful


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