After unshelved a shelved server(status: ACTIVE), it fails to suspend the server like the following:
$ nova list
+--------------------------------------+------+-------------------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+-------------------+------------+-------------+------------------+
| 152a323d-6309-48ef-9c4a-2b02aaf1a58c | vm01 | SHELVED_OFFLOADED | None | Shutdown | private=10.0.0.2 |
+--------------------------------------+------+-------------------+------------+-------------+------------------+
$ nova unshelve vm01
$ nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+------------------+
| 152a323d-6309-48ef-9c4a-2b02aaf1a58c | vm01 | ACTIVE | None | Running | private=10.0.0.2 |
+--------------------------------------+------+--------+------------+-------------+------------------+
$ nova suspend vm01
ERROR: Unable to process the contained instructions (HTTP 422) (Request-ID: req-5c8edaf3-abb7-4d00-af96-e8a6d9777910)
$
Fix proposed to branch: master /review. openstack. org/50884
Review: https:/