Created
July 23, 2018 21:34
-
-
Save AparnaKarve/b8e977b511172c0db361af385203ea5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"href": "https://10.8.197.180/api/requests/7", | |
"id": "7", | |
"description": "plan2-playbook", | |
"approval_state": "approved", | |
"type": "ServiceTemplateTransformationPlanRequest", | |
"created_on": "2018-07-23T18:46:41Z", | |
"updated_on": "2018-07-23T18:57:13Z", | |
"fulfilled_on": "2018-07-23T18:57:13Z", | |
"requester_id": "1", | |
"requester_name": "Administrator", | |
"request_type": "transformation_plan", | |
"request_state": "finished", | |
"message": "VM Transformations completed", | |
"status": "Ok", | |
"options": { | |
"dialog": null, | |
"workflow_settings": { | |
"resource_action_id": "53" | |
}, | |
"initiator": null, | |
"src_id": "7", | |
"request_options": { | |
"submit_workflow": true | |
}, | |
"cart_state": "ordered", | |
"requester_group": "EvmGroup-super_administrator", | |
"executed_on_servers": [ | |
1, | |
1 | |
], | |
"delivered_on": "2018-07-23T18:46:57.596Z" | |
}, | |
"userid": "admin", | |
"source_id": "7", | |
"source_type": "ServiceTemplate", | |
"destination_id": null, | |
"destination_type": null, | |
"tenant_id": "1", | |
"service_order_id": "7", | |
"process": true, | |
"miq_request_tasks": [ | |
{ | |
"href": "https://10.8.197.180/api/request_tasks/7", | |
"id": "7", | |
"description": "Transforming VM [v2v-ubuntu16-2]", | |
"state": "finished", | |
"request_type": "transformation_plan", | |
"userid": "admin", | |
"options": { | |
"dialog": null, | |
"workflow_settings": { | |
"resource_action_id": "53" | |
}, | |
"initiator": null, | |
"src_id": "7", | |
"request_options": { | |
"submit_workflow": true | |
}, | |
"cart_state": "ordered", | |
"requester_group": "EvmGroup-super_administrator", | |
"executed_on_servers": [ | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1, | |
1 | |
], | |
"delivered_on": "2018-07-23T18:46:57.596Z", | |
"progress": { | |
"current_state": "/State28", | |
"current_description": "Virtual machine migrated", | |
"percent": 99.16, | |
"states": { | |
"/State2": { | |
"status": "finished", | |
"weight": 1, | |
"description": "Assess Migration", | |
"message": "State2 is finished.", | |
"started_on": "2018-07-23T18:57:07Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:57:08Z" | |
}, | |
"/State5": { | |
"status": "finished", | |
"weight": 1, | |
"description": "Acquire Transformation Host", | |
"message": "State5 is finished.", | |
"started_on": "2018-07-23T18:57:08Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:57:09Z" | |
}, | |
"/State8": { | |
"status": "finished", | |
"weight": 5, | |
"description": "Run pre-migration playbook", | |
"message": "State8 is finished.", | |
"started_on": "2018-07-23T18:47:07Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:47:10Z" | |
}, | |
"/State11": { | |
"status": "finished", | |
"weight": 1, | |
"description": "Power off", | |
"message": "State11 is finished.", | |
"started_on": "2018-07-23T18:47:11Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:47:27Z" | |
}, | |
"/State14": { | |
"status": "finished", | |
"weight": 1, | |
"description": "Collapse Snapshots", | |
"message": "State14 is finished.", | |
"started_on": "2018-07-23T18:47:28Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:47:29Z" | |
}, | |
"/State17": { | |
"status": "finished", | |
"weight": 84, | |
"description": "Transform VM", | |
"message": "State17 is finished.", | |
"started_on": "2018-07-23T18:47:29Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:57:05Z" | |
}, | |
"/State17/State2": { | |
"status": "finished", | |
"weight": 1, | |
"description": "Convert disks", | |
"message": "State2 is finished.", | |
"started_on": "2018-07-23T18:47:30Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:47:36Z" | |
}, | |
"/State17/State5": { | |
"status": "finished", | |
"weight": 85, | |
"description": "Convert disks", | |
"message": "Disks transformation succeeded.", | |
"started_on": "2018-07-23T18:47:37Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:54:48Z" | |
}, | |
"/State17/State8": { | |
"status": "finished", | |
"weight": 4, | |
"description": "Refresh inventory", | |
"message": "State8 is finished.", | |
"started_on": "2018-07-23T18:54:48Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:55:14Z" | |
}, | |
"/State17/State11": { | |
"status": "finished", | |
"weight": 1, | |
"description": "Update description of VM", | |
"message": "State11 is finished.", | |
"started_on": "2018-07-23T18:55:14Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:55:16Z" | |
}, | |
"/State17/State14": { | |
"status": "finished", | |
"weight": 1, | |
"description": "Power-on VM", | |
"message": "State14 is finished.", | |
"started_on": "2018-07-23T18:55:17Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:55:18Z" | |
}, | |
"/State17/State17": { | |
"status": "finished", | |
"weight": 7, | |
"description": "Power-on VM", | |
"message": "State17 is finished.", | |
"started_on": "2018-07-23T18:55:18Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:57:05Z" | |
}, | |
"/State20": { | |
"status": "finished", | |
"weight": 5, | |
"description": "Run post-migration playbook", | |
"message": "State20 is finished.", | |
"started_on": "2018-07-23T18:57:06Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:57:09Z" | |
}, | |
"/State23": { | |
"status": "finished", | |
"weight": 1, | |
"description": "Restore VM Attributes", | |
"message": "State23 is finished.", | |
"started_on": "2018-07-23T18:57:10Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:57:11Z" | |
}, | |
"/State26": { | |
"status": "finished", | |
"weight": 1, | |
"description": "Mark source as migrated", | |
"message": "State26 is finished.", | |
"started_on": "2018-07-23T18:57:11Z", | |
"percent": 100.0, | |
"updated_on": "2018-07-23T18:57:13Z" | |
}, | |
"/State28": { | |
"status": "active", | |
"weight": 1, | |
"description": "Virtual machine migrated", | |
"message": "Virtual machine migrated", | |
"started_on": "2018-07-23T18:57:13Z", | |
"percent": 0.0 | |
} | |
} | |
}, | |
"virtv2v_networks": [ | |
{ | |
"source": "VM Network", | |
"destination": "ovirtmgmt", | |
"mac_address": "00:50:56:be:75:10" | |
} | |
], | |
"virtv2v_disks": [ | |
{ | |
"path": "[NFS_Datastore_1] v2v-ubuntu16-2/v2v-ubuntu16-2.vmdk", | |
"size": 21474836480, | |
"percent": 100, | |
"weight": 100.0 | |
} | |
], | |
"source_vm_power_state": "on", | |
"collapse_snapshots": true, | |
"power_off": true, | |
"transformation_host_id": "4", | |
"transformation_host_name": "cfme-smicro-628-b01.cfme2.lab.eng.rdu2.redhat.com", | |
"virtv2v_wrapper": { | |
"wrapper_log": "/var/log/vdsm/import/v2v-import-20180723T144735-22197-wrapper.log", | |
"v2v_log": "/var/log/vdsm/import/v2v-import-20180723T144735-22197.log", | |
"state_file": "/tmp/v2v-import-20180723T144735-22197.state" | |
}, | |
"virtv2v_started_on": "2018-07-23 18:47:31", | |
"virtv2v_status": "active", | |
"virtv2v_finished_on": "20180723_1854", | |
"destination_vm_id": "58" | |
}, | |
"created_on": "2018-07-23T18:46:57Z", | |
"updated_on": "2018-07-23T18:57:13Z", | |
"message": "VM Transformations completed", | |
"status": "Ok", | |
"type": "ServiceTemplateTransformationPlanTask", | |
"miq_request_id": "7", | |
"source_id": "56", | |
"source_type": "VmOrTemplate", | |
"destination_id": null, | |
"destination_type": null, | |
"miq_request_task_id": null, | |
"phase": null, | |
"phase_context": { | |
}, | |
"tenant_id": "1" | |
} | |
], | |
"actions": [ | |
{ | |
"name": "edit", | |
"method": "post", | |
"href": "https://10.8.197.180/api/requests/7" | |
}, | |
{ | |
"name": "approve", | |
"method": "post", | |
"href": "https://10.8.197.180/api/requests/7" | |
}, | |
{ | |
"name": "deny", | |
"method": "post", | |
"href": "https://10.8.197.180/api/requests/7" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment