all periodic_task died due to uncaught exceptions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.service |
Fix Released
|
Undecided
|
xhzhf |
Bug Description
Description
===========
all periodic tasks of nova-compute don't work in environment of our customers
report_state works.
Steps to reproduce
==================
after some error of our virtulization product happened.
At that time, get_available_nodes of the driver can not fulfil and throw a exception that does nto inherit from Excetipn
Analysis
=============
I found that the coroutine has disappear and run_periodic_tasks in periodic_task.py does not catch BaseException
Solution
=============
run_periodic_tasks should catch all exception.
This is a major problem. All periodic_task died even those tasks which work well and don't throw exception.
Because they belong to a same coroutine.
We should keep nova-compute robust.
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://
openstack-
python2-
python-
openstack-
2. Which hypervisor did you use?
Our own virtulization product
2. Which storage type did you use?
None
3. Which networking type did you use?
Neutron with our sdn
Changed in nova: | |
assignee: | nobody → xhzhf (guoyongxhzhf) |
affects: | nova → oslo.service |
description: | updated |
Fix proposed to branch: master /review. openstack. org/518249
Review: https:/