Bug 1302368 - rabbitmq-server service timeout on stop
Summary: rabbitmq-server service timeout on stop
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rabbitmq-server
Version: 23
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-27 15:57 UTC by Chris Abrams
Modified: 2016-02-15 03:20 UTC (History)
8 users (show)

Fixed In Version: rabbitmq-server-3.5.7-4.fc23 rabbitmq-server-3.5.7-4.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-15 02:54:02 UTC
Type: Bug


Attachments (Terms of Use)

Description Chris Abrams 2016-01-27 15:57:30 UTC
Description of problem:
The rabbitmq-server service times out when calling stop.

Version-Release number of selected component (if applicable):
rabbitmq-server-3.5.7-1.fc23.noarch

How reproducible:
Always

Steps to Reproduce:
1. sudo systemctl start rabbitmq-server
2. sudo systemctl stop rabbitmq-server

Actual results:
Stop times out after 90 seconds. From the systemd journal:

Jan 27 15:47:14 localhost.localdomain systemd[1]: Stopping RabbitMQ broker...
-- Subject: Unit rabbitmq-server.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit rabbitmq-server.service has begun shutting down.
Jan 27 15:47:14 localhost.localdomain systemd[1]: Cannot find unit for notify message of PID 10985.
Jan 27 15:47:14 localhost.localdomain systemd[1]: Cannot find unit for notify message of PID 10986.
Jan 27 15:47:14 localhost.localdomain systemd[1]: Cannot find unit for notify message of PID 10987.
Jan 27 15:47:14 localhost.localdomain rabbitmqctl[10874]: Stopping and halting node rabbit@localhost ...
Jan 27 15:48:44 localhost.localdomain systemd[1]: rabbitmq-server.service: State 'stop-final-sigterm' timed out. Killing.
Jan 27 15:48:44 localhost.localdomain systemd[1]: Stopped RabbitMQ broker.
-- Subject: Unit rabbitmq-server.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit rabbitmq-server.service has finished shutting down.
Jan 27 15:48:44 localhost.localdomain systemd[1]: rabbitmq-server.service: Unit entered failed state.
Jan 27 15:48:44 localhost.localdomain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=rabbitmq-server comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jan 27 15:48:44 localhost.localdomain systemd[1]: rabbitmq-server.service: Failed with result 'timeout'.

Expected results:
The service stops without timing out.

Additional info:
If I call 'sudo rabbitmqctl stop', RabbitMQ stops promptly. A subsequent call to 'sudo systemctl stop rabbitmq-server' then returns quickly.

Comment 1 Peter Lemenkov 2016-01-27 16:32:12 UTC
Confirmed.

Comment 2 Peter Lemenkov 2016-01-27 16:35:59 UTC
Chris, please downgrade your rabbitmq-server for now - I'll provide fixed package soon (couple of days).

Comment 3 Chris Abrams 2016-01-30 13:31:29 UTC
(In reply to Peter Lemenkov from comment #2)
> Chris, please downgrade your rabbitmq-server for now - I'll provide fixed
> package soon (couple of days).

Thanks Peter. Which version should I downgrade to?

Comment 4 Fedora Update System 2016-02-03 15:47:49 UTC
rabbitmq-server-3.5.7-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-75b9dcc7e1

Comment 5 Fedora Update System 2016-02-03 15:47:50 UTC
rabbitmq-server-3.5.7-4.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-2b98158285

Comment 6 Fedora Update System 2016-02-03 22:59:15 UTC
rabbitmq-server-3.5.7-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-75b9dcc7e1

Comment 7 Fedora Update System 2016-02-03 23:25:05 UTC
rabbitmq-server-3.5.7-4.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-2b98158285

Comment 8 Peter Lemenkov 2016-02-04 13:04:18 UTC
Chris, please try these recent packages. Does it work for you?

Comment 9 Chris Abrams 2016-02-04 15:59:38 UTC
(In reply to Peter Lemenkov from comment #8)
> Chris, please try these recent packages. Does it work for you?

Hi Peter,

Yes its working perfectly now.

Thanks for the fix.

Chris.

Comment 10 Fedora Update System 2016-02-15 02:53:59 UTC
rabbitmq-server-3.5.7-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2016-02-15 03:20:04 UTC
rabbitmq-server-3.5.7-4.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


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