← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1632042] Re: ImageNotFound is not correctly handled by compute manager

 

Seems valid, although the API checks that the image is available, so the
image would have been deleted between the time the API calls conductor
which calls scheduler to pick a host to cast to to build the instance,
which seems pretty slim, but we should cleanup yeah.

** Tags added: compute

** Changed in: nova
   Importance: Undecided => Medium

** Changed in: nova
   Importance: Medium => Low

** Also affects: nova/newton
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1632042

Title:
  ImageNotFound is not correctly handled by compute manager

Status in OpenStack Compute (nova):
  In Progress
Status in OpenStack Compute (nova) newton series:
  New

Bug description:
  When building an instance, if the glance client throws an
  ImageNotFound exception the compute manager will reschedule the
  instance without cleaning up any networks that have been built out,
  leaking any ports that have been created.

  The correct behaviour should include cleaning up allocated networks
  and abandoning the instance creation, leaving it in error.

  The relevant exception handling is in nova/compute/manager.py starting
  at line 1923. The ImageNotFound exception should be included in the
  list at line 1960 so the BuildAbortException is thrown, which will be
  caught and handled correctly further up the stack.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1632042/+subscriptions


References