Reviewed: https://review.openstack.org/153491 Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=e5e4ac9997715049076d1516ef07acf1d69c4a06 Submitter: Jenkins Branch: master
commit e5e4ac9997715049076d1516ef07acf1d69c4a06 Author: ZhiQiang Fan <email address hidden> Date: Fri Feb 6 16:25:01 2015 +0800
correctly leave group when process is stopped
ceilometer.notification.NotificationService.stop() use attribute before it is initialized, it will raise exception when start() fails.
This patch fixes it by putting initialization in __init__().
Note, also adds coordinator.stop() when service is stopped for polling agents.
Change-Id: Ied2f086e1f50950b430095ae7ee89036fd4a89d9 Closes-Bug: #1418793
Reviewed: https:/ /review. openstack. org/153491 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=e5e4ac99977 15049076d1516ef 07acf1d69c4a06
Committed: https:/
Submitter: Jenkins
Branch: master
commit e5e4ac999771504 9076d1516ef07ac f1d69c4a06
Author: ZhiQiang Fan <email address hidden>
Date: Fri Feb 6 16:25:01 2015 +0800
correctly leave group when process is stopped
ceilometer. notification. NotificationSer vice.stop( ) use attribute before
it is initialized, it will raise exception when start() fails.
This patch fixes it by putting initialization in __init__().
Note, also adds coordinator.stop() when service is stopped for
polling agents.
Change-Id: Ied2f086e1f5095 0b430095ae7ee89 036fd4a89d9
Closes-Bug: #1418793