Bug 1386141 - Error and warning message getting while removing glusterfs-events package
Summary: Error and warning message getting while removing glusterfs-events package
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: packaging
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Aravinda VK
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1380605 1386160 1387492
TreeView+ depends on / blocked
 
Reported: 2016-10-18 09:31 UTC by Aravinda VK
Modified: 2017-03-06 17:29 UTC (History)
7 users (show)

Fixed In Version: glusterfs-3.10.0
Clone Of: 1380605
: 1386160 1387492 (view as bug list)
Environment:
Last Closed: 2017-03-06 17:29:40 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Aravinda VK 2016-10-18 09:31:13 UTC
+++ This bug was initially created as a clone of Bug #1380605 +++

Description of problem:
=======================
While removing the glusterfs-events package, getting the below error & warning message.

=======start===
 Erasing    : glusterfs-events-xxxx                                                                                                                             3/13 
Failed to try-restart glustereventsd.service: Unit glustereventsd.service failed to load: No such file or directory.
warning: %postun(glusterfs-events-xxxx) scriptlet failed, exit status 6
Non-fatal POSTUN scriptlet failure in rpm package glusterfs-events-xxxx
======end====


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


Steps to Reproduce:
===================
1.Install all glusterfs-xxxx packages 
2.Remove all the installed packages 
3. Check for the above error and warning messages while removing the glusterfs-events package

Actual results:
================
Getting error and warning message while removing the glusterfs-events package

Expected results:
==================
It should not throw any error and warning messages while removing the package.

Comment 1 Worker Ant 2016-10-18 09:32:31 UTC
REVIEW: http://review.gluster.org/15670 (eventsapi/packaging: Fix wrong usage of %post) posted (#1) for review on master by Aravinda VK (avishwan)

Comment 2 Worker Ant 2016-10-18 11:05:21 UTC
REVIEW: http://review.gluster.org/15670 (eventsapi/packaging: Fix wrong usage of %post) posted (#2) for review on master by Aravinda VK (avishwan)

Comment 3 Worker Ant 2016-10-18 12:03:21 UTC
REVIEW: http://review.gluster.org/15670 (eventsapi/packaging: Fix wrong usage of %post) posted (#3) for review on master by Aravinda VK (avishwan)

Comment 4 Worker Ant 2016-10-21 05:34:12 UTC
COMMIT: http://review.gluster.org/15670 committed in master by Aravinda VK (avishwan) 
------
commit ee4c768dafda992ab6bf3787b4efc8b0f330623e
Author: Aravinda VK <avishwan>
Date:   Tue Oct 18 14:57:47 2016 +0530

    eventsapi/packaging: Fix wrong usage of %post
    
    %postun was used for events package instead of %post. eventsd
    service should be restarted only after install/upgrade and not
    during uninstallation(%postun)
    
    BUG: 1386141
    Change-Id: Iae3eab06d02c5f4134b3de09f040123bed053bb8
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/15670
    Smoke: Gluster Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Niels de Vos <ndevos>
    NetBSD-regression: NetBSD Build System <jenkins.org>

Comment 5 Shyamsundar 2017-03-06 17:29:40 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.0, please open a new bug report.

glusterfs-3.10.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html
[2] https://www.gluster.org/pipermail/gluster-users/


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