Executing: cf enable-diego my-app
Setting my-app Diego support to true
REQUEST: [2016-10-05T15:10:39Z]
GET /v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a/apps?q=name%3Amy-app&inline-relations-depth=1 HTTP/1.1
Host: [redacted]
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Connection: close
Content-Type: application/json
User-Agent: go-cli 6.21.1+6fd3c9f / linux
RESPONSE: [2016-10-05T15:10:39Z]
HTTP/1.1 200 OK
Connection: close
Content-Length: 8169
Content-Type: application/json;charset=utf-8
Date: Wed, 05 Oct 2016 15:10:39 GMT
Server: nginx
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: f01e0e2e-046a-4260-5c7f-3971b2b37847
X-Vcap-Request-Id: f01e0e2e-046a-4260-5c7f-3971b2b37847::ff824c19-12fb-44db-94b3-b3012aa9d95f
{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "e8fb41f2-d276-489c-a124-e5caf319c745",
"url": "/v2/apps/e8fb41f2-d276-489c-a124-e5caf319c745",
"created_at": "2016-10-05T15:10:22Z",
"updated_at": "2016-10-05T15:10:38Z"
},
"entity": {
"name": "my-app",
"production": false,
"space_guid": "a04544e3-da13-4a8d-8ca1-e3f2c9496f1a",
"stack_guid": "dedf751a-1eac-4e81-967e-9eafc19444c6",
"buildpack": null,
"detected_buildpack": null,
"environment_json": {
[redacted]
},
"memory": 1536,
"instances": 5,
"disk_quota": 1024,
"state": "STOPPED",
"version": "2740ef24-5df4-4208-921d-a6e7c1978552",
"command": null,
"console": false,
"debug": null,
"staging_task_id": null,
"package_state": "PENDING",
"health_check_type": "port",
"health_check_timeout": null,
"staging_failed_reason": null,
"staging_failed_description": null,
"diego": false,
"docker_image": null,
"package_updated_at": "2016-10-05T15:10:30Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"ports": null,
"space_url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a",
"space": {
"metadata": {
"guid": "a04544e3-da13-4a8d-8ca1-e3f2c9496f1a",
"url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a",
"created_at": "2014-07-24T14:37:44Z",
"updated_at": null
},
"entity": {
"name": "live",
"organization_guid": "615f5381-54c8-4a0e-bad7-52007e14cf52",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/615f5381-54c8-4a0e-bad7-52007e14cf52",
"developers_url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a/developers",
"managers_url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a/managers",
"auditors_url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a/auditors",
"apps_url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a/apps",
"routes_url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a/routes",
"domains_url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a/domains",
"service_instances_url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a/service_instances",
"app_events_url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a/app_events",
"events_url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a/events",
"security_groups_url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a/security_groups"
}
},
"stack_url": "/v2/stacks/dedf751a-1eac-4e81-967e-9eafc19444c6",
"stack": {
"metadata": {
"guid": "dedf751a-1eac-4e81-967e-9eafc19444c6",
"url": "/v2/stacks/dedf751a-1eac-4e81-967e-9eafc19444c6",
"created_at": "2015-03-26T15:20:58Z",
"updated_at": null
},
"entity": {
"name": "cflinuxfs2",
"description": "Cloud Foundry Linux-based filesystem"
}
},
"routes_url": "/v2/apps/e8fb41f2-d276-489c-a124-e5caf319c745/routes",
"routes": [
{
"metadata": {
"guid": "b50f222d-142c-4dfa-a453-4c0695f82299",
"url": "/v2/routes/b50f222d-142c-4dfa-a453-4c0695f82299",
"created_at": "2016-10-05T15:10:22Z",
"updated_at": null
},
"entity": {
"host": "my-app",
"path": "",
"domain_guid": "7fb7343e-1f57-4b88-baaf-c15f701944c8",
"space_guid": "a04544e3-da13-4a8d-8ca1-e3f2c9496f1a",
"service_instance_guid": null,
"port": null,
"domain_url": "/v2/domains/7fb7343e-1f57-4b88-baaf-c15f701944c8",
"space_url": "/v2/spaces/a04544e3-da13-4a8d-8ca1-e3f2c9496f1a",
"apps_url": "/v2/routes/b50f222d-142c-4dfa-a453-4c0695f82299/apps",
"route_mappings_url": "/v2/routes/b50f222d-142c-4dfa-a453-4c0695f82299/route_mappings"
}
}
],
"events_url": "/v2/apps/e8fb41f2-d276-489c-a124-e5caf319c745/events",
"service_bindings_url": "/v2/apps/e8fb41f2-d276-489c-a124-e5caf319c745/service_bindings",
"service_bindings": [
{
"metadata": {
"guid": "f24472f7-3205-4b83-b3fc-f23d62ab3384",
"url": "/v2/service_bindings/f24472f7-3205-4b83-b3fc-f23d62ab3384",
"created_at": "2016-10-05T15:10:33Z",
"updated_at": null
},
"entity": {
"app_guid": "e8fb41f2-d276-489c-a124-e5caf319c745",
"service_instance_guid": "c16ba49c-a2ab-4cc0-87ff-a61069838dc2",
"credentials": {
"licenseKey": "b5ff8d0da7294c87fad4b921974563a245344b0b"
},
"binding_options": {
},
"gateway_data": null,
"gateway_name": "",
"syslog_drain_url": "",
"volume_mounts": [
],
"app_url": "/v2/apps/e8fb41f2-d276-489c-a124-e5caf319c745",
"service_instance_url": "/v2/user_provided_service_instances/c16ba49c-a2ab-4cc0-87ff-a61069838dc2"
}
}
],
"route_mappings_url": "/v2/apps/e8fb41f2-d276-489c-a124-e5caf319c745/route_mappings"
}
}
]
}
REQUEST: [2016-10-05T15:10:39Z]
GET /v2/apps/e8fb41f2-d276-489c-a124-e5caf319c745/summary HTTP/1.1
Host: [redacted]
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Connection: close
Content-Type: application/json
User-Agent: go-cli 6.21.1+6fd3c9f / linux
RESPONSE: [2016-10-05T15:10:40Z]
HTTP/1.1 200 OK
Connection: close
Content-Length: 76247
Content-Type: application/json;charset=utf-8
Date: Wed, 05 Oct 2016 15:10:40 GMT
Server: nginx
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: e3511050-1e78-4dbb-65c8-5c751b3beb6b
X-Vcap-Request-Id: e3511050-1e78-4dbb-65c8-5c751b3beb6b::4ba14f33-2b3d-47d5-b94d-3001249c5982
[redacted json blob (74K)]
REQUEST: [2016-10-05T15:10:40Z]
GET /v2/apps/e8fb41f2-d276-489c-a124-e5caf319c745/instances HTTP/1.1
Host: [redacted]
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Connection: close
Content-Type: application/json
User-Agent: go-cli 6.21.1+6fd3c9f / linux
RESPONSE: [2016-10-05T15:10:40Z]
HTTP/1.1 400 Bad Request
Connection: close
Content-Length: 102
Content-Type: application/json;charset=utf-8
Date: Wed, 05 Oct 2016 15:10:40 GMT
Server: nginx
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 4216149c-5724-4a24-4188-b4530047d829
X-Vcap-Request-Id: 4216149c-5724-4a24-4188-b4530047d829::21f3b7d8-ce57-4b2e-a63d-54b649e54e0a
{
"code": 170002,
"description": "App has not finished staging",
"error_code": "CF-NotStaged"
}
REQUEST: [2016-10-05T15:10:40Z]
GET /v2/stacks/dedf751a-1eac-4e81-967e-9eafc19444c6 HTTP/1.1
Host: [redacted]
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Connection: close
Content-Type: application/json
User-Agent: go-cli 6.21.1+6fd3c9f / linux
RESPONSE: [2016-10-05T15:10:40Z]
HTTP/1.1 200 OK
Connection: close
Content-Length: 305
Content-Type: application/json;charset=utf-8
Date: Wed, 05 Oct 2016 15:10:40 GMT
Server: nginx
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: bd7c5a1a-2a30-4619-543f-5f353b962e6f
X-Vcap-Request-Id: bd7c5a1a-2a30-4619-543f-5f353b962e6f::75a4314f-5e27-402a-984b-8875658d5b6e
{
"metadata": {
"guid": "dedf751a-1eac-4e81-967e-9eafc19444c6",
"url": "/v2/stacks/dedf751a-1eac-4e81-967e-9eafc19444c6",
"created_at": "2015-03-26T15:20:58Z",
"updated_at": null
},
"entity": {
"name": "cflinuxfs2",
"description": "Cloud Foundry Linux-based filesystem"
}
}
2016/10/05 15:10:40 rpc: gob error encoding body: gob: type not registered for interface: []interface {}
FAILED
Error: reading body EOF