Patch in comment #16 to be pulled for Corbett only
Patch posted at https://code.engineering.redhat.com/gerrit/#/c/14487/
Marking this FailedQA and moving back to Assigned based on bug 1043946. The %pretrans scriptlet is failing preventing package installation.
(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.
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.
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