Hey Parsa,
There are two-ways to reset the state of instance by Openstack API;
- Using the Nova reset-state;
$ nova reset-state --active c6bbbf26-b40a-47e7-8d5c-eb17bf65c485
- Using the os-resetstate;
POST /v2/{tenant_id}/servers/{server_id}/action
{
"os-resetState": {
"state": "active"
}
}
Best,
Kerem Çeliker