Comment 1 for bug 809614

Revision history for this message
Brian Lamar (blamar) wrote : Re: Disk Clean up on Build Failure in XenServer

The way I see this we have a couple of options:

1) Clean up all orphaned disks periodically.
2) Provide Admin API calls to list orphaned disks and delete said disks.

I'm a fan of providing this via the Admin API because then any operational team can decide what to do with that information. We don't have an admin API client (something we need?)

I don't love the periodic task strategy (feels like bailing out water when you could be finding the leak) but it might be prudent to make a task and then a blueprint for conversion to admin API and having an admin API client which could be run in a cron job?