3 Jan
2024
3 Jan
'24
5:48 p.m.
thanks but I have this error on Api Response : Policy doesn't allow os_compute_api:os-admin-actions:reset_state to be performed. On Thu, Dec 28, 2023 at 3:41 AM Satish Patel <satish.txt@gmail.com> wrote:
Hope Horizon also has this feature. Sometimes we have to do things for customers which is annoying sometime :(
On Tue, Dec 26, 2023 at 1:47 PM KEREM CELIKER <kmceliker@gmail.com> wrote:
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