← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1178639] Re: xenapi spawn clean up vdi logic needs work

 

On closer inspection, it looks like we are OK, in general. Will need to
find more specific cases.

** Changed in: nova
       Status: Triaged => Invalid

-- 
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/1178639

Title:
  xenapi spawn clean up vdi logic needs work

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Some issues with the current spawn cleanup code were raised during the work on this path:
  https://review.openstack.org/#/c/28664/
  https://code.launchpad.net/bugs/1015423

  If _create_disks raises an exception, vdis variable does not have the
  required information to do the cleanup. This code can probably be
  removed.

  There look to be similar issues with the kernel and ramdisk.

  The solution appears to be that each function should either create the
  disk, or throw an exception, (i.e. if there are any resources created
  during those functions, they should correctly clean themselves up).

  However the cases above are quite rare, and are mostly due to non-user
  trigger-able errors.

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