Bug 1316207 - rabbitmq-server rpm does not restart after yum/rpm update
Summary: rabbitmq-server rpm does not restart after yum/rpm update
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rabbitmq-server
Version: 5.0 (RHEL 6)
Hardware: All
OS: Linux
unspecified
high
Target Milestone: async
: 8.0 (Liberty)
Assignee: Peter Lemenkov
QA Contact: Udi Shkalim
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-09 17:00 UTC by Dan Yocum
Modified: 2019-10-10 11:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-27 13:54:58 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Dan Yocum 2016-03-09 17:00:47 UTC
Description of problem:

After a yum or rpm update, the rabbitmq-server does not restart automatically.

The %postinstall scriptlet should check to see if the service is enabled, and restart the server (and do nothing if it is not enabled).

Version-Release number of selected component (if applicable):

rabbitmq-server-3.1.5-6.1.el6ost.noarch

How reproducible:

every

Steps to Reproduce:
1. yum update rabbitmq-server

Actual results:

# yum history  info 275
Loaded plugins: priorities, rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Transaction ID : 275
Begin time     : Wed Mar  9 10:06:07 2016
Begin rpmdb    : 549:c4f71f794e733de1483d779a09c7857c01506b6a
End time       :            10:06:19 2016 (12 seconds)
End rpmdb      : 549:603d993c1bdd43ab6fc4400be036fbcd5d007e41
User           : root <root>
Return-Code    : Success
Command Line   : -y --security update
Transaction performed with:
    Installed     rpm-4.8.0-47.el6.x86_64                  @rhel-x86_64-server-6
    Installed     yum-3.2.29-69.el6.noarch                 @rhel-x86_64-server-6
    Installed     yum-metadata-parser-1.1.2-16.el6.x86_64  @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
    Installed     yum-plugin-security-1.1.30-30.el6.noarch @rhel-x86_64-server-6
Packages Altered:
    Updated nss-util-3.19.1-2.el6_7.x86_64          @rhel-x86_64-server-6
    Update           3.19.1-5.el6_7.x86_64          @rhel-x86_64-server-6
    Updated rabbitmq-server-3.1.5-6.0.el6ost.noarch @rhel-x86_64-server-6-ost-5
    Update                  3.1.5-6.1.el6ost.noarch @rhel-x86_64-server-6-ost-5
Scriptlet output:
   1 Stopping rabbitmq-server: rabbitmq-server.
history info


Expected results:

# yum history  info 275
Loaded plugins: priorities, rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Transaction ID : 275
Begin time     : Wed Mar  9 10:06:07 2016
Begin rpmdb    : 549:c4f71f794e733de1483d779a09c7857c01506b6a
End time       :            10:06:19 2016 (12 seconds)
End rpmdb      : 549:603d993c1bdd43ab6fc4400be036fbcd5d007e41
User           : root <root>
Return-Code    : Success
Command Line   : --disablerepo=epel,li,li-rhscl,li-staging,ops-rpm,ops-rpm-stg,zend,zend-noarch -y --security update
Transaction performed with:
    Installed     rpm-4.8.0-47.el6.x86_64                  @rhel-x86_64-server-6
    Installed     yum-3.2.29-69.el6.noarch                 @rhel-x86_64-server-6
    Installed     yum-metadata-parser-1.1.2-16.el6.x86_64  @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
    Installed     yum-plugin-security-1.1.30-30.el6.noarch @rhel-x86_64-server-6
Packages Altered:
    Updated nss-util-3.19.1-2.el6_7.x86_64          @rhel-x86_64-server-6
    Update           3.19.1-5.el6_7.x86_64          @rhel-x86_64-server-6
    Updated rabbitmq-server-3.1.5-6.0.el6ost.noarch @rhel-x86_64-server-6-ost-5
    Update                  3.1.5-6.1.el6ost.noarch @rhel-x86_64-server-6-ost-5
Scriptlet output:
   1 Stopping rabbitmq-server: rabbitmq-server.
   2 Starting rabbitmq-server: rabbitme-server.

history info

Additional info:

Comment 2 Peter Lemenkov 2016-03-10 10:04:13 UTC
This is the same issue as bug 1259564 and bug 1264083. Looks like we just forgot to update this branch as well.

Comment 3 Peter Lemenkov 2016-03-10 10:05:39 UTC
Fix proposed in bug 1259564#c4.

Comment 4 Mike McCune 2016-03-28 23:19:36 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 6 Peter Lemenkov 2016-10-27 13:54:58 UTC
We're going to close this. it's very unlikely that we're going to push any new builds into RHOS5el6, so this issue won't be triggered.

I'll keep the patch in the queue, and if we do consider backporting anything to this version, I'll apply it.


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