Comment 1 for bug 1506242

Revision history for this message
Mark Doffman (mjdoffma) wrote : Re: If instance spawn fails and shutdown_instance also fails, a new excpetion is raised, masking original spawn failure

Could I get some more info about what the issues is with the exception not being re-raised properly?

What Exception is being masked? What issues is this causing in Ironic?

My reading of the code is:

_build_resources is called by _build_and_run_instance.

_build_and_run_instance deals with exception handling.

Some of these exceptions are then translated to a ResceduledException which will retry the instance creation. Others to a BuildAbortException.

Are you saying that the creation of the BuildAbortException is masking one of the exceptions that could should have been translated to a retry?