> If someone can backport that to stable/mitaka I'll +2 it. It's not a clean
> to mitaka.
> There are also archive scripts in the osops repo here:
> I haven't used ^ personally, but I know it was written because the archive
> in nova-manage were broken until a couple of releases back where we fixed the
> FKey issue.
> We're still working on getting a purge instances nova-manage command in
> ocata (don't archive, straight up delete).
I think you mean  and . But could you comment on comment of Sergii Rizvan
(srizvan) in  ("archiving tables like 'instances' still fails'):
"The patches from upstream ,  provide only partial fix of the original
issue. Before applying patches the command "nova-manage db
archive_deleted_rows" doesn't move the entries to the shadow tables at all
because of foreign key constraint issue. After applying patch  nova-manage
firstly process tables that don't have foreign keys. Patch  fixes issue with
archiving instance_actions and instance_actions_event. And after applying those
two patches we are able to archive some tables, but archiving tables with
foreign key constraint issue, like 'instances', still fails."
> Matt Riedemann
> OpenStack-operators mailing list
OpenStack-operators mailing list