Show server action details

Method URI Description
GET /v2/{tenant_id}/servers/{server_id}/os-instance-actions/{action_id} Shows details for a server action.

Normal response codes: 200

Request

This table shows the URI parameters for Show Server Action Details:

Name Type Description
{tenant_id} String Project ID
{server_id} UUID The UUID for the server of interest to you.
{action_id} String The request id generated when execute the API of this action

This operation does not require a request body.

Response

Example responses are shown below.

CAUTION:

Normally the results for events with the same name are each output singularly, but when an internal error occurs and re-trial is performed, the results for events with the same name may be output multiple times.

When processing after a re-trial is successful, the "result" in the results that are output multiple times will be "Success".

Example. Show Server Action Details: Action reboot: JSON response


       {
        "instanceAction": {
         "action": "reboot", 
         "events": [
          {
           "event": "compute_reboot_instance", 
           "finish_time": "2016-11-30T01:15:02.000000", 
           "result": "Success", 
           "start_time": "2016-11-30T01:14:53.000000", 
           "traceback": null
          }
         ], 
         "instance_uuid": "e39b684e-7da7-461e-8d21-37670b472b17", 
         "message": null, 
         "project_id": "bb46ff7286ed4e418958c2a5e06cd4a2", 
         "request_id": "req-6526fc56-b172-4f48-ae81-0cad0c60c82b", 
         "start_time": "2016-11-30T01:14:52.000000", 
         "user_id": "1f708e1376784e529a7b09eb5ff1a5fc"
        }
       }
     

Example. Show Server Action Details: Action rebuild: JSON response


       {
        "instanceAction": {
         "action": "rebuild", 
         "events": [
          {
           "event": "compute_stop_instance", 
           "finish_time": "2016-12-12T05:02:37.000000", 
           "result": "Success", 
           "start_time": "2016-12-12T05:02:35.000000", 
           "traceback": null
          }, 
          {
           "event": "compute_rebuild_instance", 
           "finish_time": "2016-12-12T05:02:37.000000", 
           "result": "Success", 
           "start_time": "2016-12-12T05:02:25.000000", 
           "traceback": null
          }
         ], 
         "instance_uuid": "fee86478-a120-488f-8359-97d200564b90", 
         "message": null, 
         "project_id": "bb46ff7286ed4e418958c2a5e06cd4a2", 
         "request_id": "req-73190894-7461-4b1e-abf9-dc31b9a64ced", 
         "start_time": "2016-12-12T05:02:23.000000", 
         "user_id": "1f708e1376784e529a7b09eb5ff1a5fc"
        }
       }
     

Example. Show Server Action Details: Action resize: JSON response


       {
        "instanceAction": {
         "action": "resize", 
         "events": [
          {
           "event": "compute_finish_resize", 
           "finish_time": "2016-12-02T05:55:28.000000", 
           "result": "Success", 
           "start_time": "2016-12-02T05:55:17.000000", 
           "traceback": null
          }, 
          {
           "event": "compute_resize_instance", 
           "finish_time": "2016-12-02T05:55:17.000000", 
           "result": "Success", 
           "start_time": "2016-12-02T05:55:10.000000", 
           "traceback": null
          }, 
          {
           "event": "compute_prep_resize", 
           "finish_time": "2016-12-02T05:55:10.000000", 
           "result": "Success", 
           "start_time": "2016-12-02T05:55:09.000000", 
           "traceback": null
          }, 
          {
           "event": "cold_migrate", 
           "finish_time": "2016-12-02T05:55:09.000000", 
           "result": "Success", 
           "start_time": "2016-12-02T05:55:06.000000", 
           "traceback": null
          }
         ], 
         "instance_uuid": "fee86478-a120-488f-8359-97d200564b90", 
         "message": null, 
         "project_id": "bb46ff7286ed4e418958c2a5e06cd4a2", 
         "request_id": "req-695e2d33-988f-4ba1-b02d-1f92ea95fba4", 
         "start_time": "2016-12-02T05:55:06.000000", 
         "user_id": "1f708e1376784e529a7b09eb5ff1a5fc"
        }
       }
     

Example. Show Server Action Details: Action confirmResize: JSON response


       {
        "instanceAction": {
         "action": "confirmResize", 
         "events": [
          {
           "event": "compute_confirm_resize", 
           "finish_time": "2016-12-02T06:05:08.000000", 
           "result": "Success", 
           "start_time": "2016-12-02T06:05:02.000000", 
           "traceback": null
          }
         ], 
         "instance_uuid": "fee86478-a120-488f-8359-97d200564b90", 
         "message": null, 
         "project_id": "bb46ff7286ed4e418958c2a5e06cd4a2", 
         "request_id": "req-17fd6031-d176-42fe-8a20-a3318fb04507", 
         "start_time": "2016-12-02T06:05:02.000000", 
         "user_id": "1f708e1376784e529a7b09eb5ff1a5fc"
        }
       }
     

Example. Show Server Action Details: Action revertResize: JSON response


       {
        "instanceAction": {
         "action": "revertResize", 
         "events": [
          {
           "event": "compute_stop_instance", 
           "finish_time": "2016-12-02T06:23:46.000000", 
           "result": "Success", 
           "start_time": "2016-12-02T06:23:45.000000", 
           "traceback": null
          }, 
          {
           "event": "compute_finish_revert_resize", 
           "finish_time": "2016-12-02T06:23:46.000000", 
           "result": "Success", 
           "start_time": "2016-12-02T06:23:38.000000", 
           "traceback": null
          }, 
          {
           "event": "compute_revert_resize", 
           "finish_time": "2016-12-02T06:23:38.000000", 
           "result": "Success", 
           "start_time": "2016-12-02T06:23:33.000000", 
           "traceback": null
          }
         ], 
         "instance_uuid": "fee86478-a120-488f-8359-97d200564b90", 
         "message": null, 
         "project_id": "bb46ff7286ed4e418958c2a5e06cd4a2", 
         "request_id": "req-8498580f-81fe-43c1-b392-cfd10b805ed4", 
         "start_time": "2016-12-02T06:23:32.000000", 
         "user_id": "1f708e1376784e529a7b09eb5ff1a5fc"
        }
       }
     

Example. Show Server Action Details: Action shelve: JSON response


       
       "instanceAction": {
        "action": "shelve", 
        "events": [
         {
          "event": "compute_shelve_offload_instance", 
          "finish_time": "2017-02-15T08:50:31.000000", 
          "result": "Success", 
          "start_time": "2017-02-15T08:50:20.000000", 
          "traceback": null
         }
        ], 
        "instance_uuid": "609bedee-3c28-4d52-a4d6-3aca039a24d1", 
        "message": null, 
        "project_id": "bb46ff7286ed4e418958c2a5e06cd4a2", 
        "request_id": "req-6c0a3251-c2ab-4c06-b85b-acf719e0d41a", 
        "start_time": "2017-02-15T08:50:20.000000", 
        "user_id": "1f708e1376784e529a7b09eb5ff1a5fc"
        }
       }
     

Example. Show Server Action Details: Action unshelve: JSON response


       {
        "instanceAction": {
         "action": "unshelve", 
         "events": [
          {
           "event": "compute_unshelve_instance", 
           "finish_time": "2016-11-14T08:05:25.000000", 
           "result": "Success", 
           "start_time": "2016-11-14T08:05:17.000000", 
           "traceback": null
          }, 
          {
           "event": "schedule_instances", 
           "finish_time": "2016-11-14T08:05:17.000000", 
           "result": "Success", 
           "start_time": "2016-11-14T08:05:16.000000", 
           "traceback": null
          }
         ], 
         "instance_uuid": "e39b684e-7da7-461e-8d21-37670b472b17", 
         "message": null, 
         "project_id": "bb46ff7286ed4e418958c2a5e06cd4a2", 
         "request_id": "req-c13e5267-6afe-4370-a167-1862e8db703d", 
         "start_time": "2016-11-14T08:05:15.000000", 
         "user_id": "1f708e1376784e529a7b09eb5ff1a5fc"
        }
       }
     

Example. Show Server Action Details: Action start: JSON response


       {
        "instanceAction": {
         "action": "start", 
         "events": [
          {
           "event": "compute_start_instance", 
           "finish_time": "2016-11-30T01:13:12.000000", 
           "result": "Success", 
           "start_time": "2016-11-30T01:13:07.000000", 
           "traceback": null
          }
         ], 
         "instance_uuid": "e39b684e-7da7-461e-8d21-37670b472b17", 
         "message": null, 
         "project_id": "bb46ff7286ed4e418958c2a5e06cd4a2", 
         "request_id": "req-7a76e310-e0e7-46ec-80d4-da36161d254e", 
         "start_time": "2016-11-30T01:13:06.000000", 
         "user_id": "1f708e1376784e529a7b09eb5ff1a5fc"
        }
       }
     

Example. Show Server Action Details: Action stop: JSON response


       {
         "instanceAction": {
         "action": "stop", 
         "events": [
          {
           "event": "compute_stop_instance", 
           "finish_time": "2016-11-15T04:56:22.000000", 
           "result": "Success", 
           "start_time": "2016-11-15T04:56:20.000000", 
           "traceback": null
          }
         ], 
         "instance_uuid": "e39b684e-7da7-461e-8d21-37670b472b17", 
         "message": null, 
         "project_id": "bb46ff7286ed4e418958c2a5e06cd4a2", 
         "request_id": "req-f6d67e87-9b29-47f4-b3b7-8f1ebecebbbf", 
         "start_time": "2016-11-15T04:56:20.000000", 
         "user_id": "1f708e1376784e529a7b09eb5ff1a5fc"
        }
       }