commit ffff1cb13281894dcbbdfa4bc6f63fec4673f10c
Author: ZhiQiang Fan <email address hidden>
Date: Wed Mar 5 10:58:59 2014 +0800
Skip central agent interval_task when keystone fails
There is a chance when ceilometer-agent-central try to trigger interval_task
but keystone is not available, then an exception is raised but not caught, the
outside oslo.loopingcall will stop calling the task function, finally leading
to the agent-central service is no longer available forever, even the keystone
is available again.
We can skip the particular interval_task when keystone is not available.
Reviewed: https:/ /review. openstack. org/78079 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=ffff1cb1328 1894dcbbdfa4bc6 f63fec4673f10c
Committed: https:/
Submitter: Jenkins
Branch: master
commit ffff1cb13281894 dcbbdfa4bc6f63f ec4673f10c
Author: ZhiQiang Fan <email address hidden>
Date: Wed Mar 5 10:58:59 2014 +0800
Skip central agent interval_task when keystone fails
There is a chance when ceilometer- agent-central try to trigger interval_task
but keystone is not available, then an exception is raised but not caught, the
outside oslo.loopingcall will stop calling the task function, finally leading
to the agent-central service is no longer available forever, even the keystone
is available again.
We can skip the particular interval_task when keystone is not available.
Change-Id: I0849cafadac8fb 8a7670aaa4cc76d c708bdb25a1
Closes-Bug: #1287613