Comment 7 for bug 1793569

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

(10:07:47 AM) mriedem: bauzas: i think what i was thinking of was an audit command could detect that you have orphaned allocations tied to a not-in-progress migration, e.g. a migration that failed but we failed to cleanup the allocations,
(10:08:20 AM) mriedem: bauzas: and then that information could be provided to the admin to then determine what to do, e.g. delete the allocations for the migration record consumer and potentially the related instance,
(10:08:33 AM) bauzas: mriedem: yeah ok
(10:08:35 AM) mriedem: and if they delete the allocations for the instance, then they could run heal_allocations on the instance to fix things up
(10:08:49 AM) mriedem: we could also eventually build on that to make it automatic with options
(10:08:57 AM) mriedem: e.g. nova-manage placement audit --heal
(10:09:00 AM) mriedem: something like that