nova-cloud-controller should periodically perform cleanup of deleted instance records
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Cloud Controller Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
The nova database is not automatically trimmed over time. On more heavily-used clouds, this means that the database can significantly bloat in size from all the soft-deleted instances.
OpenStack provides two relevant nova-manage commands for this purpose: "nova-manage db archive_
The nova-cloud-
As a result, without unmanaged intervention, more heavily used environments may suffer from database bloat over time due to the ever-increasing number of soft-deleted instances taking more and more MySQL disk space.
Changed in charm-nova-cloud-controller: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
tags: | added: in-stable-victoria |
As a stopgap, I did write the following for one of the environments I manage and linked it in as a daily cron job. Maybe it can be a starting point for such functionality?