Bug 1257871 - shinken-broker systemd script failed to restart broker daemon
Summary: shinken-broker systemd script failed to restart broker daemon
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: shinken
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: David Hannequin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-28 09:46 UTC by Dmitriy Kulishenko
Modified: 2015-11-02 01:21 UTC (History)
1 user (show)

Fixed In Version: shinken-2.4.2-1.el6 shinken-2.4.2-1.el7 shinken-2.4.2-1.fc22 shinken-2.4.2-1.fc21 shinken-2.4.2-1.fc23
Clone Of:
Environment:
Last Closed: 2015-11-01 16:23:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dmitriy Kulishenko 2015-08-28 09:46:46 UTC
Description of problem:
failed to restart shinken-broker with systemd script

Version-Release number of selected component (if applicable):
shinken-scheduler-2.4.1-1.el7.noarch
shinken-poller-2.4.1-1.el7.noarch
shinken-arbiter-2.4.1-1.el7.noarch
shinken-reactionner-2.4.1-1.el7.noarch
shinken-2.4.1-1.el7.noarch
shinken-receiver-2.4.1-1.el7.noarch
shinken-broker-2.4.1-1.el7.noarch

How reproducible:
every time

Steps to Reproduce:
1. systemctl start shinken-broker
2. systemctl restart shinken-broker


Actual results:
shinken-broker creates processes, systemd scripts not stopping it on restart,
then trying to start new broker, have en error in logs:

[1440753829] ERROR: [Shinken] The HTTP daemon failed with the error Error: Sorry, the port 7772 is not free: No socket could be created, exiting
[1440753829] ERROR: [Shinken] Back trace of this error: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/shinken/daemon.py", line 936, in http_daemon_thread
    self.http_daemon.run()
  File "/usr/lib/python2.7/site-packages/shinken/http_daemon.py", line 316, in run
    self.srv.run()
  File "/usr/lib/python2.7/site-packages/shinken/http_daemon.py", line 145, in run
    raise PortNotFree(msg)
PortNotFree: Error: Sorry, the port 7772 is not free: No socket could be created

in process tree appears +1 broker process on every restart

Expected results:
daemon restarted

Additional info:

Comment 1 David Hannequin 2015-08-28 14:54:43 UTC
Hi,

Can you list if you use module like webui ?

Thanks

Comment 2 Dmitriy Kulishenko 2015-08-31 12:45:34 UTC
(In reply to David Hannequin from comment #1)

yes, i have webui module installed.

here are all modules i have:
auth-active-directory
auth-cfg-password
graphite
livestatus
ui-graphite
webui

Comment 3 Fedora Update System 2015-09-03 16:03:40 UTC
shinken-2.4.1-5.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15000

Comment 4 Fedora Update System 2015-09-03 16:19:34 UTC
shinken-2.4.1-5.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15010

Comment 5 Fedora Update System 2015-09-03 16:22:37 UTC
shinken-2.4.1-5.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15011

Comment 6 Fedora Update System 2015-09-03 16:24:08 UTC
shinken-2.4.1-5.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-7919

Comment 7 Fedora Update System 2015-09-03 16:26:24 UTC
shinken-2.4.1-5.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-7920

Comment 8 Fedora Update System 2015-09-04 06:52:57 UTC
shinken-2.4.1-5.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update shinken'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15011

Comment 9 Fedora Update System 2015-09-04 07:29:31 UTC
shinken-2.4.1-5.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update shinken'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15010

Comment 10 Fedora Update System 2015-09-04 07:33:38 UTC
shinken-2.4.1-5.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update shinken'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15000

Comment 11 Fedora Update System 2015-09-04 15:47:35 UTC
shinken-2.4.1-5.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update shinken'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-7919

Comment 12 Fedora Update System 2015-09-04 19:17:43 UTC
shinken-2.4.1-5.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update shinken'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-7920

Comment 13 Fedora Update System 2015-10-03 19:53:50 UTC
shinken-2.4.2-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-4004b0116a

Comment 14 Fedora Update System 2015-10-03 20:09:50 UTC
shinken-2.4.2-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-6127a0d4fa

Comment 15 Fedora Update System 2015-10-03 20:12:02 UTC
shinken-2.4.2-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-968f1f1dad

Comment 16 Fedora Update System 2015-10-03 20:14:32 UTC
shinken-2.4.2-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-c7fbc11601

Comment 17 Fedora Update System 2015-10-03 20:20:03 UTC
shinken-2.4.2-1.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-cd7065c3f2

Comment 18 Fedora Update System 2015-10-05 01:51:26 UTC
shinken-2.4.2-1.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update shinken'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-cd7065c3f2

Comment 19 Fedora Update System 2015-10-05 02:52:03 UTC
shinken-2.4.2-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update shinken'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-968f1f1dad

Comment 20 Fedora Update System 2015-10-05 04:20:07 UTC
shinken-2.4.2-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update shinken'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-6127a0d4fa

Comment 21 Fedora Update System 2015-10-05 04:20:52 UTC
shinken-2.4.2-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update shinken'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-4004b0116a

Comment 22 Fedora Update System 2015-10-05 15:20:43 UTC
shinken-2.4.2-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update shinken'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-c7fbc11601

Comment 23 Fedora Update System 2015-11-01 16:23:00 UTC
shinken-2.4.2-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.

Comment 24 Fedora Update System 2015-11-01 17:24:15 UTC
shinken-2.4.2-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 25 Fedora Update System 2015-11-01 21:52:51 UTC
shinken-2.4.2-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 26 Fedora Update System 2015-11-01 22:21:46 UTC
shinken-2.4.2-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.

Comment 27 Fedora Update System 2015-11-02 01:21:42 UTC
shinken-2.4.2-1.fc23 has been pushed to the Fedora 23 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.