build_and_run_instance can error out with an UnboundException

Bug #1854848 reported by Erik Olof Gunnar Andersson
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress

Bug Description

If for some reason eventlet throws a timeout during a build event on the compute a eventlet.Timeout exception might be thrown and cause an UnboundException. This is because we only catch Exception, but Timeout is based on BaseException.

Revision history for this message
Matt Riedemann (mriedem) wrote :

Rather than change to catch BaseException I would probably just have it also catch eventlet.Timeout and/or initialize the result variable before the try/except/finally block.

tags: added: compute
Changed in nova:
status: New → Triaged
tags: added: low-hanging-fruit
Changed in nova:
assignee: nobody → XiaojueGuan (xiaojuegaun)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master

Changed in nova:
status: Triaged → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.