From d1dbcb7b8ac3c427a9c99ba6ae6f2c44378dba0a Mon Sep 17 00:00:00 2001 From: Munir Siddiqui Date: Tue, 10 Nov 2026 12:40:01 +0500 Subject: [PATCH] fix: reserve DISK_GB for libvirt image cache in nova.conf Nova omits the shared libvirt image cache (_base) from reported DISK_GB inventory, causing Placement to overcommit disk space. Under high utilization, the cache can grow to hundreds of GBs, exhausting the host disk, failing new builds, and interrupting active instances. Enable workarounds.reserve_disk_resource_for_image_cache so nova-compute tracks cache size against reserved disk. Closes-bug: #2173743 (cherry picked from commit 9185ca4027c5cfedeb112006871b6e8280a36a32) --- templates/nova.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/nova.conf.j2 b/templates/nova.conf.j2 index 7094a7d..23e0dd4 100644 --- a/templates/nova.conf.j2 +++ b/templates/nova.conf.j2 @@ -54,6 +54,7 @@ instance_usage_audit_period = hour [workarounds] disable_rootwrap = True +reserve_disk_resource_for_image_cache = True # Needed for live live migration, skip CPU comparison on destination host. # Until https://bugs.launchpad.net/nova/+bug/2039803 is fixed.