Hide Forgot
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:
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.
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.
(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
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>
Like how we are stopping the update when brick processes are running, same thing should happen for glusterd process has well.
(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
As per comment #7, Closing as Deferred! Please reopen if required sooner!