[Bugs] [Bug 1387492] New: Error and warning message getting while removing glusterfs-events package

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 21 05:42:50 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1387492

            Bug ID: 1387492
           Summary: Error and warning message getting while removing
                    glusterfs-events package
           Product: GlusterFS
           Version: 3.9
         Component: packaging
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: avishwan at redhat.com
                CC: amukherj at redhat.com, avishwan at redhat.com,
                    bsrirama at redhat.com, bugs at gluster.org,
                    rhinduja at redhat.com, rhs-bugs at redhat.com,
                    storage-qa-internal at redhat.com
        Depends On: 1386141
            Blocks: 1380605, 1386160



+++ This bug was initially created as a clone of Bug #1386141 +++

+++ 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.

--- Additional comment from Worker Ant on 2016-10-18 05:32:31 EDT ---

REVIEW: http://review.gluster.org/15670 (eventsapi/packaging: Fix wrong usage
of %post) posted (#1) for review on master by Aravinda VK (avishwan at redhat.com)

--- Additional comment from Worker Ant on 2016-10-18 07:05:21 EDT ---

REVIEW: http://review.gluster.org/15670 (eventsapi/packaging: Fix wrong usage
of %post) posted (#2) for review on master by Aravinda VK (avishwan at redhat.com)

--- Additional comment from Worker Ant on 2016-10-18 08:03:21 EDT ---

REVIEW: http://review.gluster.org/15670 (eventsapi/packaging: Fix wrong usage
of %post) posted (#3) for review on master by Aravinda VK (avishwan at redhat.com)

--- Additional comment from Worker Ant on 2016-10-21 01:34:12 EDT ---

COMMIT: http://review.gluster.org/15670 committed in master by Aravinda VK
(avishwan at redhat.com) 
------
commit ee4c768dafda992ab6bf3787b4efc8b0f330623e
Author: Aravinda VK <avishwan at redhat.com>
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 at redhat.com>
    Reviewed-on: http://review.gluster.org/15670
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1380605
[Bug 1380605] Error and warning message getting while removing 
glusterfs-events-3.8.4-2 package
https://bugzilla.redhat.com/show_bug.cgi?id=1386141
[Bug 1386141] Error and warning message getting while removing 
glusterfs-events package
https://bugzilla.redhat.com/show_bug.cgi?id=1386160
[Bug 1386160] Error and warning message getting while removing 
glusterfs-events package
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list