nova/releasenotes/notes/fix-group-policy-validation-with-deleted-groups-4f685fd1d6b84192.yaml
Sean Mooney cd2c2f359b ignore deleted server groups in validation
This change simply catches the exception raised when
we lookup a servergroup via a hint and the validation
upcall is enabled.

Change-Id: I858b4da35382a9f4dcf88f4b6db340e1f34eb82d
Closes-Bug: #1890244
2022-06-21 19:13:55 +01:00

14 lines
607 B
YAML

---
fixes:
- |
When the server group policy validation upcall is enabled
nova will assert that the policy is not violated on move operations
and initial instance creation. As noted in `bug 1890244`_, if a
server was created in a server group and that group was later deleted
the validation upcall would fail due to an uncaught excpetion if the
server group was deleted. This prevented evacuate and other move
operations form functioning. This has now been fixed and nova will
ignore deleted server groups.
.. _bug 1890244: https://bugs.launchpad.net/nova/+bug/1890244