I found that my repro hit scenario when the instance was already deleted, but quotas commit didn't happened yet (nova-* process died right after removing instance). This situation occured in _delete_instance method of nova/compute/manager.py before _complete_deletion happened - https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L2465
I found that my repro hit scenario when the instance was already deleted, but quotas commit didn't happened yet (nova-* process died right after removing instance). This situation occured in _delete_instance method of nova/compute/ manager. py before _complete_deletion happened - https:/ /github. com/openstack/ nova/blob/ master/ nova/compute/ manager. py#L2465