Skip to content

Instantly share code, notes, and snippets.

@khalfella
Created February 28, 2017 17:32
Show Gist options
  • Save khalfella/83725f82b758168a98494bbfa53d069c to your computer and use it in GitHub Desktop.
Save khalfella/83725f82b758168a98494bbfa53d069c to your computer and use it in GitHub Desktop.
[root@headnode (swdemo01) ~]# sdc-vmapi /vms/05837e8b-44a2-62fe-fc55-f717448fb658/jobs
HTTP/1.1 200 OK
Connection: close
Content-Type: application/json
Content-Length: 20562
Content-MD5: 3Di8A/aIdlCOfAd2pi64hQ==
Date: Tue, 28 Feb 2017 17:28:42 GMT
Server: VMAPI
x-request-id: 31ce7bcd-3486-48d3-a99b-92d220b1f3b3
x-response-time: 41
x-server-name: f1928bea-296c-49a5-b456-9d4b4e58881a
[
{
"name": "reboot-7.0.5",
"uuid": "a1acd396-dee9-479e-9bd4-7dd4502a5123",
"execution": "succeeded",
"params": {
"task": "reboot",
"vm_uuid": "05837e8b-44a2-62fe-fc55-f717448fb658",
"owner_uuid": "a53d5d0d-2964-4f2b-aa27-a6676a0bbac5",
"server_uuid": "44454c4c-3900-1046-8059-c6c04f395231",
"current_state": "running",
"x-request-id": "4235da00-fdcc-11e6-81fe-df56dca821fa",
"creator_uuid": "930896af-bf8c-48d4-885c-6573a94b1853",
"origin": "adminui",
"jobid": "a1acd396-dee9-479e-9bd4-7dd4502a5123"
},
"exec_after": null,
"created_at": "2017-02-28T15:40:40.868Z",
"timeout": 590,
"chain_results": [
{
"result": "All parameters OK!",
"error": "",
"name": "common.validate_params",
"started_at": "2017-02-28T15:40:41.529Z",
"finished_at": "2017-02-28T15:40:41.531Z"
},
{
"result": "Request has been setup!",
"error": "",
"name": "common.setup_request",
"started_at": "2017-02-28T15:40:41.550Z",
"finished_at": "2017-02-28T15:40:41.552Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.acquire_vm_ticket",
"started_at": "2017-02-28T15:40:41.569Z",
"finished_at": "2017-02-28T15:40:41.616Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.wait_on_vm_ticket",
"started_at": "2017-02-28T15:40:41.631Z",
"finished_at": "2017-02-28T15:40:41.635Z"
},
{
"result": "VM is running",
"error": "",
"name": "common.ensure_vm_state",
"started_at": "2017-02-28T15:40:41.649Z",
"finished_at": "2017-02-28T15:40:41.668Z"
},
{
"result": "Task id: db2fd81c-a413-ebbb-b429-e783e16bca75 queued to CNAPI!",
"error": "",
"name": "cnapi.reboot_vm",
"started_at": "2017-02-28T15:40:41.687Z",
"finished_at": "2017-02-28T15:40:41.725Z"
},
{
"result": "Job succeeded!",
"error": "",
"name": "cnapi.wait_task",
"started_at": "2017-02-28T15:40:41.739Z",
"finished_at": "2017-02-28T15:40:54.658Z"
},
{
"result": "put VM 05837e8b-44a2-62fe-fc55-f717448fb658 to VMAPI",
"error": "",
"name": "vmapi.put_vm",
"started_at": "2017-02-28T15:40:54.676Z",
"finished_at": "2017-02-28T15:40:54.719Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.release_vm_ticket",
"started_at": "2017-02-28T15:40:54.735Z",
"finished_at": "2017-02-28T15:40:54.769Z"
}
]
},
{
"name": "update-nics-7.0.3",
"uuid": "a44a29a1-5d1d-4300-8b53-d058f8971256",
"execution": "succeeded",
"params": {
"update_nics": [
{
"mac": "90:b8:d0:9b:3b:a5",
"primary": true,
"interface": "net0"
}
],
"task": "update_nics",
"vm_uuid": "05837e8b-44a2-62fe-fc55-f717448fb658",
"owner_uuid": "a53d5d0d-2964-4f2b-aa27-a6676a0bbac5",
"server_uuid": "44454c4c-3900-1046-8059-c6c04f395231",
"last_modified": "2017-02-23T13:58:47.000Z",
"x-request-id": "aa370620-fdcb-11e6-81fe-df56dca821fa",
"creator_uuid": "930896af-bf8c-48d4-885c-6573a94b1853",
"origin": "adminui",
"jobid": "a44a29a1-5d1d-4300-8b53-d058f8971256"
},
"exec_after": null,
"created_at": "2017-02-28T15:36:25.768Z",
"timeout": 300,
"chain_results": [
{
"result": "All parameters OK!",
"error": "",
"name": "common.validate_params",
"started_at": "2017-02-28T15:36:26.506Z",
"finished_at": "2017-02-28T15:36:26.508Z"
},
{
"result": "Request has been setup!",
"error": "",
"name": "common.setup_request",
"started_at": "2017-02-28T15:36:26.525Z",
"finished_at": "2017-02-28T15:36:26.527Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.acquire_vm_ticket",
"started_at": "2017-02-28T15:36:26.542Z",
"finished_at": "2017-02-28T15:36:26.587Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.wait_on_vm_ticket",
"started_at": "2017-02-28T15:36:26.603Z",
"finished_at": "2017-02-28T15:36:26.606Z"
},
{
"result": "Task id: 316876e9-615c-6e51-afa9-b7bf89004407 queued to CNAPI!",
"error": "",
"name": "cnapi.update_vm",
"started_at": "2017-02-28T15:36:26.622Z",
"finished_at": "2017-02-28T15:36:26.664Z"
},
{
"result": "Job succeeded!",
"error": "",
"name": "cnapi.wait_task",
"started_at": "2017-02-28T15:36:26.682Z",
"finished_at": "2017-02-28T15:36:30.190Z"
},
{
"result": "VM data has been updated",
"error": "",
"name": "vmapi.check_updated",
"started_at": "2017-02-28T15:36:30.207Z",
"finished_at": "2017-02-28T15:36:30.247Z"
},
{
"result": "put VM 05837e8b-44a2-62fe-fc55-f717448fb658 to VMAPI",
"error": "",
"name": "vmapi.put_vm",
"started_at": "2017-02-28T15:36:30.265Z",
"finished_at": "2017-02-28T15:36:30.292Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.release_vm_ticket",
"started_at": "2017-02-28T15:36:30.309Z",
"finished_at": "2017-02-28T15:36:30.337Z"
}
]
},
{
"name": "add-nics-7.0.10",
"uuid": "047aa0b6-14f5-4760-9893-a08b325fe6c4",
"execution": "succeeded",
"params": {
"networks": [
{
"ipv4_uuid": "b4f0a888-36c3-4963-9414-59f7c48cb6b1",
"ipv4_count": 1,
"uuid": "b4f0a888-36c3-4963-9414-59f7c48cb6b1"
}
],
"task": "add_nics",
"vm_uuid": "05837e8b-44a2-62fe-fc55-f717448fb658",
"owner_uuid": "a53d5d0d-2964-4f2b-aa27-a6676a0bbac5",
"server_uuid": "44454c4c-3900-1046-8059-c6c04f395231",
"last_modified": "2017-02-09T19:34:52.000Z",
"oldResolvers": [
"8.8.8.8",
"8.8.4.4"
],
"wantResolvers": true,
"x-request-id": "3048ccd0-f9d0-11e6-affa-dd2e5960678e",
"creator_uuid": "930896af-bf8c-48d4-885c-6573a94b1853",
"origin": "adminui",
"jobid": "047aa0b6-14f5-4760-9893-a08b325fe6c4",
"add_nics": [
{
"belongs_to_type": "zone",
"belongs_to_uuid": "05837e8b-44a2-62fe-fc55-f717448fb658",
"mac": "90:b8:d0:9b:3b:a5",
"owner_uuid": "a53d5d0d-2964-4f2b-aa27-a6676a0bbac5",
"primary": false,
"state": "provisioning",
"ip": "64.30.138.25",
"gateway": "64.30.138.1",
"mtu": 1500,
"netmask": "255.255.255.224",
"nic_tag": "mantanat",
"resolvers": [
"8.8.8.8",
"8.8.4.4"
],
"vlan_id": 1116,
"network_uuid": "b4f0a888-36c3-4963-9414-59f7c48cb6b1"
}
],
"resolvers": [
"8.8.8.8",
"8.8.4.4"
]
},
"exec_after": null,
"created_at": "2017-02-23T13:58:44.033Z",
"timeout": 300,
"chain_results": [
{
"result": "All parameters OK!",
"error": "",
"name": "common.validate_params",
"started_at": "2017-02-23T13:58:44.672Z",
"finished_at": "2017-02-23T13:58:44.674Z"
},
{
"result": "Request has been setup!",
"error": "",
"name": "common.setup_request",
"started_at": "2017-02-23T13:58:44.708Z",
"finished_at": "2017-02-23T13:58:44.710Z"
},
{
"result": "Networks are valid",
"error": "",
"name": "napi.validate_networks",
"started_at": "2017-02-23T13:58:44.729Z",
"finished_at": "2017-02-23T13:58:44.750Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.get_server_nic_tags",
"started_at": "2017-02-23T13:58:44.771Z",
"finished_at": "2017-02-23T13:58:44.798Z"
},
{
"result": "Server has all the required NIC tags",
"error": "",
"name": "napi.check_server_nic_tags",
"started_at": "2017-02-23T13:58:44.818Z",
"finished_at": "2017-02-23T13:58:44.821Z"
},
{
"result": "NICs looked up or allocated",
"error": "",
"name": "napi.provision_nics",
"started_at": "2017-02-23T13:58:44.841Z",
"finished_at": "2017-02-23T13:58:44.871Z"
},
{
"result": "Added network parameters to payload",
"error": "",
"name": "common.update_network_params",
"started_at": "2017-02-23T13:58:44.892Z",
"finished_at": "2017-02-23T13:58:44.913Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.acquire_vm_ticket",
"started_at": "2017-02-23T13:58:44.932Z",
"finished_at": "2017-02-23T13:58:44.969Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.wait_on_vm_ticket",
"started_at": "2017-02-23T13:58:45.008Z",
"finished_at": "2017-02-23T13:58:45.013Z"
},
{
"result": "Task id: 1685f6a1-e2cf-4229-85ae-b759ddebbaae queued to CNAPI!",
"error": "",
"name": "cnapi.update_vm",
"started_at": "2017-02-23T13:58:45.041Z",
"finished_at": "2017-02-23T13:58:45.096Z"
},
{
"result": "Job succeeded!",
"error": "",
"name": "cnapi.wait_task",
"started_at": "2017-02-23T13:58:45.116Z",
"finished_at": "2017-02-23T13:59:00.697Z"
},
{
"result": "VM data has been updated",
"error": "",
"name": "vmapi.check_updated",
"started_at": "2017-02-23T13:59:00.721Z",
"finished_at": "2017-02-23T13:59:00.779Z"
},
{
"result": "put VM 05837e8b-44a2-62fe-fc55-f717448fb658 to VMAPI",
"error": "",
"name": "vmapi.put_vm",
"started_at": "2017-02-23T13:59:00.801Z",
"finished_at": "2017-02-23T13:59:00.829Z"
},
{
"result": "Updated FWAPI with update UUID: 63e70dcc-8fce-4d68-9f7e-ba77c7e505ad",
"error": "",
"name": "fwapi.update",
"started_at": "2017-02-23T13:59:00.852Z",
"finished_at": "2017-02-23T13:59:00.875Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.release_vm_ticket",
"started_at": "2017-02-23T13:59:00.899Z",
"finished_at": "2017-02-23T13:59:00.943Z"
}
]
},
{
"name": "remove-nics-7.0.5",
"uuid": "b8074553-badf-4d4b-a3af-3a7366a764d4",
"execution": "succeeded",
"params": {
"remove_nics": [
"90:b8:d0:03:c4:f7"
],
"task": "remove_nics",
"vm_uuid": "05837e8b-44a2-62fe-fc55-f717448fb658",
"owner_uuid": "a53d5d0d-2964-4f2b-aa27-a6676a0bbac5",
"server_uuid": "44454c4c-3900-1046-8059-c6c04f395231",
"last_modified": "2017-01-25T16:00:55.000Z",
"wantResolvers": true,
"x-request-id": "d26d4860-eefe-11e6-affa-dd2e5960678e",
"creator_uuid": "930896af-bf8c-48d4-885c-6573a94b1853",
"origin": "adminui",
"oldMacs": [
"90:b8:d0:03:c4:f7"
],
"jobid": "b8074553-badf-4d4b-a3af-3a7366a764d4",
"resolvers": [],
"remove_ips": [
"64.30.137.142"
]
},
"exec_after": null,
"created_at": "2017-02-09T19:34:50.121Z",
"timeout": 300,
"chain_results": [
{
"result": "All parameters OK!",
"error": "",
"name": "common.validate_params",
"started_at": "2017-02-09T19:34:50.215Z",
"finished_at": "2017-02-09T19:34:50.217Z"
},
{
"result": "Request has been setup!",
"error": "",
"name": "common.setup_request",
"started_at": "2017-02-09T19:34:50.235Z",
"finished_at": "2017-02-09T19:34:50.237Z"
},
{
"result": "Added network parameters to payload",
"error": "",
"name": "common.remove_network_params",
"started_at": "2017-02-09T19:34:50.265Z",
"finished_at": "2017-02-09T19:34:50.321Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.acquire_vm_ticket",
"started_at": "2017-02-09T19:34:50.382Z",
"finished_at": "2017-02-09T19:34:50.433Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.wait_on_vm_ticket",
"started_at": "2017-02-09T19:34:50.456Z",
"finished_at": "2017-02-09T19:34:50.460Z"
},
{
"result": "Task id: 5ea02220-43fc-4d7a-bd79-f1239d84b373 queued to CNAPI!",
"error": "",
"name": "cnapi.update_vm",
"started_at": "2017-02-09T19:34:50.480Z",
"finished_at": "2017-02-09T19:34:50.517Z"
},
{
"result": "NICs removed",
"error": "",
"name": "napi.remove_nics",
"started_at": "2017-02-09T19:34:50.538Z",
"finished_at": "2017-02-09T19:34:50.574Z"
},
{
"result": "Job succeeded!",
"error": "",
"name": "cnapi.wait_task",
"started_at": "2017-02-09T19:34:50.620Z",
"finished_at": "2017-02-09T19:35:04.084Z"
},
{
"result": "VM data has been updated",
"error": "",
"name": "vmapi.check_updated",
"started_at": "2017-02-09T19:35:04.104Z",
"finished_at": "2017-02-09T19:35:04.146Z"
},
{
"result": "put VM 05837e8b-44a2-62fe-fc55-f717448fb658 to VMAPI",
"error": "",
"name": "vmapi.put_vm",
"started_at": "2017-02-09T19:35:04.167Z",
"finished_at": "2017-02-09T19:35:04.202Z"
},
{
"result": "Updated FWAPI with update UUID: 8002cac6-411a-4157-9296-dda54b600363",
"error": "",
"name": "fwapi.update",
"started_at": "2017-02-09T19:35:04.231Z",
"finished_at": "2017-02-09T19:35:04.259Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.release_vm_ticket",
"started_at": "2017-02-09T19:35:04.286Z",
"finished_at": "2017-02-09T19:35:04.332Z"
}
]
},
{
"name": "update-7.1.8",
"uuid": "d5331633-1a0f-4655-8f01-192469edab93",
"execution": "succeeded",
"params": {
"payload": {
"billing_id": "f1e9e97b-bb13-c955-a991-b38d1407b76e",
"cpu_cap": 400,
"max_lwps": 4000,
"max_swap": 16384,
"package_name": "sample-4G",
"package_version": "1.0.0",
"quota": 100,
"ram": 4096,
"zfs_io_priority": 256,
"max_physical_memory": 4096,
"cpu_shares": 256
},
"subtask": "resize",
"task": "update",
"vm_uuid": "05837e8b-44a2-62fe-fc55-f717448fb658",
"image_uuid": "65454f54-2f5c-46d3-8253-2d32a3f0c0f0",
"vm_brand": "joyent",
"owner_uuid": "a53d5d0d-2964-4f2b-aa27-a6676a0bbac5",
"server_uuid": "44454c4c-3900-1046-8059-c6c04f395231",
"last_modified": "2017-01-24T23:05:59.000Z",
"x-request-id": "71e58900-e317-11e6-affa-dd2e5960678e",
"creator_uuid": "930896af-bf8c-48d4-885c-6573a94b1853",
"origin": "adminui",
"current_ram": 1024,
"current_quota": 25,
"jobid": "d5331633-1a0f-4655-8f01-192469edab93"
},
"exec_after": null,
"created_at": "2017-01-25T16:00:51.750Z",
"timeout": 300,
"chain_results": [
{
"result": "All parameters OK!",
"error": "",
"name": "common.validate_params",
"started_at": "2017-01-25T16:00:52.614Z",
"finished_at": "2017-01-25T16:00:52.616Z"
},
{
"result": "Request has been setup!",
"error": "",
"name": "common.setup_request",
"started_at": "2017-01-25T16:00:52.631Z",
"finished_at": "2017-01-25T16:00:52.633Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.acquire_vm_ticket",
"started_at": "2017-01-25T16:00:52.649Z",
"finished_at": "2017-01-25T16:00:52.699Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.wait_on_vm_ticket",
"started_at": "2017-01-25T16:00:52.715Z",
"finished_at": "2017-01-25T16:00:52.718Z"
},
{
"result": "Task id: d31ea466-3497-44b0-8642-fb758dc19248 queued to CNAPI!",
"error": "",
"name": "cnapi.update_vm",
"started_at": "2017-01-25T16:00:52.737Z",
"finished_at": "2017-01-25T16:00:52.772Z"
},
{
"result": "Job succeeded!",
"error": "",
"name": "cnapi.wait_task",
"started_at": "2017-01-25T16:00:52.805Z",
"finished_at": "2017-01-25T16:00:56.540Z"
},
{
"result": "put VM 05837e8b-44a2-62fe-fc55-f717448fb658 to VMAPI",
"error": "",
"name": "vmapi.put_vm",
"started_at": "2017-01-25T16:00:56.557Z",
"finished_at": "2017-01-25T16:00:56.589Z"
},
{
"result": "No properties affecting FWAPI found: not updating",
"error": "",
"name": "fwapi.update",
"started_at": "2017-01-25T16:00:56.608Z",
"finished_at": "2017-01-25T16:00:56.612Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.release_vm_ticket",
"started_at": "2017-01-25T16:00:56.627Z",
"finished_at": "2017-01-25T16:00:56.651Z"
}
]
},
{
"name": "provision-7.3.0",
"uuid": "eccb8be5-17d2-4dd1-897e-4decfc4a0e35",
"execution": "succeeded",
"params": {
"image_uuid": "65454f54-2f5c-46d3-8253-2d32a3f0c0f0",
"owner_uuid": "a53d5d0d-2964-4f2b-aa27-a6676a0bbac5",
"brand": "joyent",
"alias": "demodata",
"server_uuid": "44454c4c-3900-1046-8059-c6c04f395231",
"billing_id": "df884ed2-c5eb-c204-9c0c-f811f5a5e939",
"quota": 25,
"customer_metadata": {},
"networks": [
{
"primary": true,
"ipv4_uuid": "2ad56e67-00b6-49e7-bfde-4cf2679abd2d",
"ipv4_count": 1,
"uuid": "2ad56e67-00b6-49e7-bfde-4cf2679abd2d"
}
],
"vm_uuid": "05837e8b-44a2-62fe-fc55-f717448fb658",
"job_uuid": "6733343a-4401-47ac-80f9-9f65494c5119",
"creator_uuid": "930896af-bf8c-48d4-885c-6573a94b1853",
"origin": "adminui",
"cpu_cap": 100,
"max_lwps": 4000,
"max_physical_memory": 1024,
"max_swap": 4096,
"zfs_io_priority": 64,
"ram": 1024,
"cpu_shares": 64,
"package": {
"name": "sample-1G",
"version": "1.0.0",
"active": true,
"cpu_cap": 100,
"max_lwps": 4000,
"max_physical_memory": 1024,
"max_swap": 4096,
"quota": 25600,
"zfs_io_priority": 64,
"fss": 64,
"billing_tag": "sample-1G",
"uuid": "df884ed2-c5eb-c204-9c0c-f811f5a5e939",
"created_at": "2017-01-24T21:52:46.874Z",
"updated_at": "2017-01-24T21:52:46.874Z",
"default": true,
"v": 1
},
"image": {
"v": 2,
"uuid": "65454f54-2f5c-46d3-8253-2d32a3f0c0f0",
"owner": "930896af-bf8c-48d4-885c-6573a94b1853",
"name": "sample-data",
"version": "2017Q1",
"state": "active",
"disabled": false,
"public": false,
"published_at": "2017-01-13T18:36:14.955Z",
"type": "zone-dataset",
"os": "smartos",
"files": [
{
"sha1": "3c68c482f7e3e35978240059334d9e512bbcc36d",
"size": 5058170806,
"compression": "gzip"
}
],
"requirements": {
"min_platform": {
"7.0": "20151208T003358Z"
}
},
"origin": "088b97b0-e1a1-11e5-b895-9baa2086eb33"
},
"firewall_enabled": false,
"sync": false,
"task": "provision",
"current_state": "provisioning",
"x-request-id": "c1295580-e288-11e6-affa-dd2e5960678e",
"fabricNatNics": [],
"nics": [
{
"belongs_to_type": "zone",
"belongs_to_uuid": "05837e8b-44a2-62fe-fc55-f717448fb658",
"mac": "90:b8:d0:03:c4:f7",
"owner_uuid": "a53d5d0d-2964-4f2b-aa27-a6676a0bbac5",
"primary": true,
"state": "provisioning",
"ip": "64.30.137.142",
"gateway": "64.30.137.129",
"mtu": 1500,
"netmask": "255.255.255.240",
"nic_tag": "external",
"resolvers": [
"8.8.8.8",
"8.8.4.4"
],
"vlan_id": 1111,
"network_uuid": "2ad56e67-00b6-49e7-bfde-4cf2679abd2d",
"cn_uuid": "44454c4c-3900-1046-8059-c6c04f395231"
}
],
"jobid": "eccb8be5-17d2-4dd1-897e-4decfc4a0e35",
"payload": {
"uuid": "05837e8b-44a2-62fe-fc55-f717448fb658",
"image": {
"v": 2,
"uuid": "65454f54-2f5c-46d3-8253-2d32a3f0c0f0",
"owner": "930896af-bf8c-48d4-885c-6573a94b1853",
"name": "sample-data",
"version": "2017Q1",
"state": "active",
"disabled": false,
"public": false,
"published_at": "2017-01-13T18:36:14.955Z",
"type": "zone-dataset",
"os": "smartos",
"files": [
{
"sha1": "3c68c482f7e3e35978240059334d9e512bbcc36d",
"size": 5058170806,
"compression": "gzip"
}
],
"requirements": {
"min_platform": {
"7.0": "20151208T003358Z"
}
},
"origin": "088b97b0-e1a1-11e5-b895-9baa2086eb33"
},
"alias": "demodata",
"billing_id": "df884ed2-c5eb-c204-9c0c-f811f5a5e939",
"brand": "joyent",
"cpu_cap": 100,
"cpu_shares": 64,
"customer_metadata": {},
"firewall_enabled": false,
"max_lwps": 4000,
"max_physical_memory": 1024,
"max_swap": 4096,
"nics": [
{
"belongs_to_type": "zone",
"belongs_to_uuid": "05837e8b-44a2-62fe-fc55-f717448fb658",
"mac": "90:b8:d0:03:c4:f7",
"owner_uuid": "a53d5d0d-2964-4f2b-aa27-a6676a0bbac5",
"primary": true,
"state": "provisioning",
"ip": "64.30.137.142",
"gateway": "64.30.137.129",
"mtu": 1500,
"netmask": "255.255.255.240",
"nic_tag": "external",
"resolvers": [
"8.8.8.8",
"8.8.4.4"
],
"vlan_id": 1111,
"network_uuid": "2ad56e67-00b6-49e7-bfde-4cf2679abd2d",
"cn_uuid": "44454c4c-3900-1046-8059-c6c04f395231"
}
],
"owner_uuid": "a53d5d0d-2964-4f2b-aa27-a6676a0bbac5",
"quota": 25,
"ram": 1024,
"zfs_io_priority": 64,
"archive_on_delete": true,
"resolvers": [
"8.8.8.8",
"8.8.4.4"
],
"image_uuid": "65454f54-2f5c-46d3-8253-2d32a3f0c0f0"
}
},
"exec_after": null,
"created_at": "2017-01-24T22:59:26.762Z",
"timeout": 3810,
"chain_results": [
{
"result": "All parameters OK!",
"error": "",
"name": "common.validate_params",
"started_at": "2017-01-24T22:59:27.735Z",
"finished_at": "2017-01-24T22:59:27.738Z"
},
{
"result": "Action set",
"error": "",
"name": "workflow.set_job_action",
"started_at": "2017-01-24T22:59:27.774Z",
"finished_at": "2017-01-24T22:59:27.776Z"
},
{
"result": "Image has generate_passwords=true but no users found",
"error": "",
"name": "imgapi.generate_passwords",
"started_at": "2017-01-24T22:59:27.808Z",
"finished_at": "2017-01-24T22:59:27.811Z"
},
{
"result": "Networks are valid",
"error": "",
"name": "napi.validate_networks",
"started_at": "2017-01-24T22:59:27.840Z",
"finished_at": "2017-01-24T22:59:27.858Z"
},
{
"result": "Manual server meets NIC Tag requirements",
"error": "",
"name": "cnapi.check_manual_server_nics",
"started_at": "2017-01-24T22:59:27.888Z",
"finished_at": "2017-01-24T22:59:27.910Z"
},
{
"result": "OK",
"error": "",
"name": "dapi.get_allocation_ticket",
"started_at": "2017-01-24T22:59:27.937Z",
"finished_at": "2017-01-24T22:59:27.983Z"
},
{
"result": "OK",
"error": "",
"name": "dapi.wait_allocation_ticket",
"started_at": "2017-01-24T22:59:28.010Z",
"finished_at": "2017-01-24T22:59:28.013Z"
},
{
"result": "Server UUID present, no need to get allocation from DAPI",
"error": "",
"name": "dapi.get_allocation",
"started_at": "2017-01-24T22:59:28.064Z",
"finished_at": "2017-01-24T22:59:28.067Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.acquire_vm_ticket",
"started_at": "2017-01-24T22:59:28.095Z",
"finished_at": "2017-01-24T22:59:28.129Z"
},
{
"result": "OK",
"error": "",
"name": "dapi.release_allocation_ticket",
"started_at": "2017-01-24T22:59:28.157Z",
"finished_at": "2017-01-24T22:59:28.183Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.wait_on_vm_ticket",
"started_at": "2017-01-24T22:59:28.211Z",
"finished_at": "2017-01-24T22:59:28.215Z"
},
{
"result": "NICs allocated",
"error": "",
"name": "napi.provision_nics",
"started_at": "2017-01-24T22:59:28.242Z",
"finished_at": "2017-01-24T22:59:28.288Z"
},
{
"result": "No fabric NATs to provision",
"error": "",
"name": "cnapi.acquire_fabric_nat_tickets",
"started_at": "2017-01-24T22:59:28.317Z",
"finished_at": "2017-01-24T22:59:28.320Z"
},
{
"result": "No fabric NATs to provision",
"error": "",
"name": "napi.provision_fabric_nats",
"started_at": "2017-01-24T22:59:28.355Z",
"finished_at": "2017-01-24T22:59:28.359Z"
},
{
"result": "Payload prepared successfully",
"error": "",
"name": "prepare_payload",
"started_at": "2017-01-24T22:59:28.388Z",
"finished_at": "2017-01-24T22:59:28.392Z"
},
{
"result": "Ensure image task queued!",
"error": "",
"name": "cnapi.ensure_image",
"started_at": "2017-01-24T22:59:28.419Z",
"finished_at": "2017-01-24T22:59:28.443Z"
},
{
"result": "Job succeeded!",
"error": "",
"name": "cnapi.wait_task_ensure_image",
"started_at": "2017-01-24T22:59:28.474Z",
"finished_at": "2017-01-24T23:05:02.218Z"
},
{
"result": "No fabric NATs provisioned",
"error": "",
"name": "cnapi.wait_for_fabric_nat_provisions",
"started_at": "2017-01-24T23:05:02.254Z",
"finished_at": "2017-01-24T23:05:02.260Z"
},
{
"result": "Provision task: 70b2eb3b-a449-47d0-86bd-42241b35edeb queued!",
"error": "",
"name": "cnapi.provision_vm",
"started_at": "2017-01-24T23:05:02.294Z",
"finished_at": "2017-01-24T23:05:02.351Z"
},
{
"result": "Job succeeded!",
"error": "",
"name": "cnapi.wait_task",
"started_at": "2017-01-24T23:05:02.397Z",
"finished_at": "2017-01-24T23:06:00.563Z"
},
{
"result": "put VM 05837e8b-44a2-62fe-fc55-f717448fb658 to VMAPI",
"error": "",
"name": "vmapi.put_vm",
"started_at": "2017-01-24T23:06:00.617Z",
"finished_at": "2017-01-24T23:06:00.653Z"
},
{
"result": "Updated FWAPI with update UUID: 5d06e7b2-04cf-4050-8ad8-379d12f96057",
"error": "",
"name": "fwapi.update",
"started_at": "2017-01-24T23:06:00.728Z",
"finished_at": "2017-01-24T23:06:00.756Z"
},
{
"result": "OK",
"error": "",
"name": "cnapi.release_vm_ticket",
"started_at": "2017-01-24T23:06:00.802Z",
"finished_at": "2017-01-24T23:06:00.848Z"
},
{
"result": "No ticket to release",
"error": "",
"name": "cnapi.release_fabric_nat_ticket",
"started_at": "2017-01-24T23:06:00.882Z",
"finished_at": "2017-01-24T23:06:00.890Z"
}
]
}
]
[root@headnode (swdemo01) ~]#
[root@headnode (swdemo01) ~]#
[root@headnode (swdemo01) ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment