I check the patch, it cleans up the volumes attached when deleting instance. If i don’t delete this instance, then these volumes will never be used.
Why not cleanup volumes when scheduling fails,this will not affect the second use of the volume to boot instance. If follow the "Clean up network resources when reschedule fails" approach, i think it will be better than current situation.
https:/ /review. opendev. org/c/openstack /nova/+ /335358
I use Newton version, but backport some features according to our needs, such as above patch, so encounter the problem.
https:/ /review. opendev. org/q/I4dc6c8bd 3bb6c135f8a698a f41f5d0e026c391 17
I check the patch, it cleans up the volumes attached when deleting instance. If i don’t delete this instance, then these volumes will never be used.
Why not cleanup volumes when scheduling fails,this will not affect the second use of the volume to boot instance. If follow the "Clean up network resources when reschedule fails" approach, i think it will be better than current situation.
https:/ /review. opendev. org/c/openstack /nova/+ /243477
What do you think.