Ask Your Question

API - Unable to perform Resume action on Paused instance

asked 2014-09-08 04:53:11 -0600

vickchak gravatar image


When we try to perform a Resume action on a paused instance through Horizon, it succeeds. But when we try to perform the same action through Openstack API, it fails with the following message "Cannot 'resume' while instance is in vm_state paused".

Rest of the actions performed through API are synchronous with that in horizon, can some one throw some light on why this happens, we are stuck with this issue for more than a week without any clue.


edit retag flag offensive close merge delete


maybe showing your code and adding more details about the SDK (if any) you're using will help.

smaffulli gravatar imagesmaffulli ( 2014-09-08 15:17:48 -0600 )edit

We are using REST services for the API call using JSON objects. No SDK used.

The URL we used is "<server-id>/action"

Method is post, input json used is {"resume":null}

rest is as usual http connection request

vickchak gravatar imagevickchak ( 2014-09-09 08:08:21 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-09-20 00:14:54 -0600

In case this problem still exists: There is the notion of pausing and unpausing an instance, which keeps the instance in its current state but "freezes" it. There is a separate concept of suspending/resuming an instance, which seems to be analogous to hibernating it. In your case, you will have to unpause, not resume your instance.

Perhaps Horizon confuses the terminology somewhat.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-09-08 04:53:11 -0600

Seen: 1,082 times

Last updated: Sep 20 '14