charm-rabbitmq-server/hooks
Zhang Hua ff4da882a2 Support timeout for stats capture cron job
In this charm we run a cron job to check rabbitmq status and it is
possible that the commands run could fail or hang if e.g. rabbit
is not healthy. Currently the cron will never timeout and could
hang forever so we add a new timeout config option 'cron-timeout'
which, when set, will result in the a SIGINT being sent to the
application and if that fails to exit within 10s a SIGKILL is sent.
We also fix logging so that all output goes to syslog local0.notice.

Change-Id: I0bb8780c5cc64a24384648f00c8068d5d666d28c
Closes-Bug: 1716854
2017-10-04 07:54:06 +08:00
..
charmhelpers Remove random wait use distributed_wait 2017-09-27 11:43:19 -07:00
lib Remove unused apt_install import. 2014-12-18 17:49:49 +00:00
amqp-relation-changed Refactoring to support use of openstack charm helpers 2013-03-18 10:28:17 +00:00
ceph-relation-changed Refactoring to support use of openstack charm helpers 2013-03-18 10:28:17 +00:00
ceph-relation-joined Refactoring to support use of openstack charm helpers 2013-03-18 10:28:17 +00:00
cluster-relation-broken Break cluster when relation is broken, as this will be run on the unit that's just been removed 2015-03-11 16:11:55 +00:00
cluster-relation-changed Refactoring to support use of openstack charm helpers 2013-03-18 10:28:17 +00:00
cluster-relation-joined Refactoring to support use of openstack charm helpers 2013-03-18 10:28:17 +00:00
config-changed Add missing hook and template 2013-05-21 06:59:02 +01:00
ha-relation-changed Refactoring to support use of openstack charm helpers 2013-03-18 10:28:17 +00:00
ha-relation-joined Refactoring to support use of openstack charm helpers 2013-03-18 10:28:17 +00:00
install Install python dependencies early for CH ip.py 2016-07-18 10:00:46 -07:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:55:23 +01:00
leader-deposed Add leader-settings-changed hook 2015-03-13 11:08:28 +00:00
leader-elected Add leader-settings-changed hook 2015-03-13 11:08:28 +00:00
leader-settings-changed Add leader-settings-changed hook 2015-03-13 11:08:28 +00:00
nrpe-external-master-relation-changed Enable nrpe-external-master-relation. Use charmhelpers (embedded for now) 2013-11-15 11:15:16 -08:00
rabbit_utils.py Remove random wait use distributed_wait 2017-09-27 11:43:19 -07:00
rabbitmq_context.py Expose performance tuning options via charm 2017-06-02 15:43:22 +01:00
rabbitmq_server_relations.py Support timeout for stats capture cron job 2017-10-04 07:54:06 +08:00
ssl_utils.py Unset ssl_port when disabling ssl 2017-09-21 14:48:27 +00:00
start Rebase on trunk changes 2014-03-26 10:23:01 +00:00
stop Rebase on trunk changes 2014-03-26 10:23:01 +00:00
update-status Add update-status hook and ensure that assessment is made of status even on hooks that are not actually registered in the charm codebase 2015-10-21 14:55:23 +01:00
upgrade-charm Refactoring to support use of openstack charm helpers 2013-03-18 10:28:17 +00:00