nova/releasenotes/notes/update-swap-decorator-7622a265df55feaa.yaml
Mark Giles b40d949b31 Do not attempt volume swap when guest is stopped/suspended
A swap on a stopped or suspended instance will fail silently. Remove
these allowed instance states on swap_volume:

suspended, stopped, soft_deleted

Change-Id: Iff17f7cee7a56037b35d1a361a0b3279d0a885d6
Closes-Bug: #1673090
2017-10-26 11:14:24 +00:00

7 lines
191 B
YAML

---
fixes:
- prevent swap_volume action if the instance is in state SUSPENDED,
STOPPED or SOFT_DELETED. A conflict (409) will be raised now as
previously it used to fail silently.