Set nova config for rbd instance folder cleanup after evacuations
After evacuations and revert resizes when using rbd storage backend,
the instance folder is usually left behind and causes issues when
migrating the instance back to the host.
With the config option set, the nova-compute service will cleanup
those folders as part of the periodic checks that run for instances
that have been evacuated/migrated.
Closes-bug: #2019141
Change-Id: I846ccb0a95d04139b41fdad6cbf465d303d6cc09
(cherry picked from commit e61d89aa47cba71bb4dda12d836fde8a8fa7092c)
(cherry picked from commit 003f6b6d70fe7998c57095abb6ac97d97cd2dff1)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- nova-compute/ +/892299 /opendev. org/openstack/ charm-nova- compute/ commit/ f6a2da6d187d6fe 53195e7b123e845 e2f80ebb4d
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/zed
commit f6a2da6d187d6fe 53195e7b123e845 e2f80ebb4d
Author: Rodrigo Barbieri <email address hidden>
Date: Wed May 10 13:33:08 2023 -0300
Set nova config for rbd instance folder cleanup after evacuations
After evacuations and revert resizes when using rbd storage backend,
the instance folder is usually left behind and causes issues when
migrating the instance back to the host.
With the config option set, the nova-compute service will cleanup
those folders as part of the periodic checks that run for instances
that have been evacuated/migrated.
Closes-bug: #2019141 39b41fdad6cbf46 5d303d6cc09 bb4dda12d836fde 8a8fa7092c) 8c57095abb6ac97 d97cd2dff1)
Change-Id: I846ccb0a95d041
(cherry picked from commit e61d89aa47cba71
(cherry picked from commit 003f6b6d70fe799