Bug 1540637
Summary: | [Nova] [Doc patch] - Guidance for db purge prior to major version and Fast Forward Upgrade | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Carlos Camacho <ccamacho> |
Component: | openstack-nova | Assignee: | Eoghan Glynn <eglynn> |
Status: | CLOSED DUPLICATE | QA Contact: | Joe H. Rahme <jhakimra> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 13.0 (Queens) | CC: | berrange, ccamacho, dasmith, eglynn, kchamart, ltamagno, mbooth, sbauza, sferdjao, sgordon, srevivo, vromanso |
Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
Target Release: | 14.0 (Rocky) | Flags: | ccamacho:
needinfo-
|
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-09 14:50:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1541693 |
Description
Carlos Camacho
2018-01-31 15:17:47 UTC
(In reply to Carlos Camacho from comment #0) > - Can you clarify the process of cleaning and maintain Nova databases? I'm going to interpret this as a request to implement purge-deleted-instances, because if you just want information you're better asking for it on a mailing list. Hi Matthew, Yeah, well we will like first to know what to check before asking for the purge-delete-instances implementation. Let's keep this BZ to track all the effort to document/implement this and I'll send an email to the mailing list. Thanks, Carlos. Ok, This is the mail thread in the mailing list[1]. Even though would be nice if you can give us information about it or reply to the thread. [1]: http://lists.openstack.org/pipermail/openstack-dev/2018-February/126914.html Thanks, Carlos. This has nothing to do with fast-forward upgrade that I know of, other than potentially pre-purging the database to make schema changes faster. The general process here is to archive the db per the command you mentioned, followed by a purge of the shadow tables, which currently is only doable in SQL: DELETE FROM shadow_instances; for example. I do think we should make this an RFE and implement it though, for what its worth. I'm closing this as a dupe of bz1154875, which is new DB purging functionality merged in master and to be released in OSP14. *** This bug has been marked as a duplicate of bug 1154875 *** |