Skip to content

Instantly share code, notes, and snippets.

@bha123
Created April 23, 2015 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bha123/c45be28dadcf1a0398ab to your computer and use it in GitHub Desktop.
Save bha123/c45be28dadcf1a0398ab to your computer and use it in GitHub Desktop.
ubuntu@test1:~/cf-cli$ CF_TRACE=true ./cf push sample
VERSION:
6.2.0-c9d4aaa
REQUEST: [2015-04-22T15:07:14Z]
POST /oauth/token HTTP/1.1
Host: uaa.172.24.4.2.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/x-www-form-urlencoded
User-Agent: go-cli 6.2.0-c9d4aaa / linux
grant_type=refresh_token&refresh_token=eyJhbGciOiJSUzI1NiJ9.eyJqdGkiOiJlYWFkODdjNy0xNTRhLTRkOGYtODYyMy1lNmE3Nzk2NWNiYmUiLCJzdWIiOiJiMjhlNTJkMi04MDZkLTQzZjQtYThlMC1hMjJiYjVkODU0MjAiLCJzY29wZSI6WyJwYXNzd29yZC53cml0ZSIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiLCJvcGVuaWQiLCJjbG91ZF9jb250cm9sbGVyLnJlYWQiXSwiaWF0IjoxNDI5NzEzNDk5LCJleHAiOjE0MzIzMDU0OTksImNpZCI6ImNmIiwiaXNzIjoiaHR0cHM6Ly91YWEuMTcyLjI0LjQuMi54aXAuaW8vb2F1dGgvdG9rZW4iLCJncmFudF90eXBlIjoicGFzc3dvcmQiLCJ1c2VyX25hbWUiOiJiaGFyYXRoIiwidXNlcl9pZCI6ImIyOGU1MmQyLTgwNmQtNDNmNC1hOGUwLWEyMmJiNWQ4NTQyMCIsImF1ZCI6WyJjZiIsInBhc3N3b3JkIiwiY2xvdWRfY29udHJvbGxlciIsIm9wZW5pZCJdfQ.RQnnW8bJSiTiUtuiIOyVkPoA3CIlXUCJAsw43arg7gY87HVPCD_WjI6vJEwMLOmyNAOKzg2KKviT2gTW4HLii1ouESmVBZUX86uij-VQAb6dBdyCy45DL-9gtB3ZyQEKrTH7eUX24IeVKoMJ2-1aH1pZWaO9syrfyOwQIFeguaA6lHrYnhkAmtaGnyDDfgdcEcN5M8AU99SL8U_Jw4jjvspwZycsNmVU52cM-BmRVc6IWJgCifDac_HJrdk5xTN96cw-Awisn2Y1312D3z7ZK9fUTIc02lAdVsy5D57VVFkEEPYZeHWpkkOfR5qZwuAU0NSw6B0ygvI3Tc50CCbZFw&scope=
RESPONSE: [2015-04-22T15:07:29Z]
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Cache-Control: no-store
Content-Type: application/json;charset=UTF-8
Date: Wed, 22 Apr 2015 15:07:28 GMT
Pragma: no-cache
Server: Apache-Coyote/1.1
X-Cf-Requestid: ae748402-f5c0-4163-6808-005fc27304d3
838
{"access_token":"[PRIVATE DATA HIDDEN]","token_type":"bearer","refresh_token":"[PRIVATE DATA HIDDEN]","expires_in":599,"scope":"password.write openid cloud_controller.write cloud_controller.read","jti":"ac5fdb1a-8b55-4bfa-bd92-ef821f9622cd"}
0
REQUEST: [2015-04-22T15:07:29Z]
GET /v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/apps?q=name%3Asample&inline-relations-depth=1 HTTP/1.1
Host: api.172.24.4.2.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.2.0-c9d4aaa / linux
RESPONSE: [2015-04-22T15:07:45Z]
HTTP/1.1 200 OK
Content-Length: 107
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Apr 2015 15:07:43 GMT
Server: nginx
X-Cf-Requestid: d3c8df4b-f630-4c31-742c-34eb6e4724bd
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 58dbba95-3f87-46f6-754d-b8b773263794::1a4b042c-30d9-4402-921c-0c688da48436
{
"total_results": 0,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
]
}
Creating app sample in org vedams / space vedspace as bharath...
REQUEST: [2015-04-22T15:07:45Z]
POST /v2/apps?async=true HTTP/1.1
Host: api.172.24.4.2.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.2.0-c9d4aaa / linux
{"name":"sample","space_guid":"082f1fa1-1dab-4cc1-8d71-4faca2c232f3"}
RESPONSE: [2015-04-22T15:07:50Z]
HTTP/1.1 201 Created
Content-Length: 1328
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Apr 2015 15:07:48 GMT
Location: /v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847
Server: nginx
X-Cf-Requestid: fe9f3567-c938-435e-7b86-7e5ea763a857
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 1c6996eb-5a57-4ff2-6b0a-830fb78ef5e0::2086c015-555d-46e2-a4ab-16988f7aa830
{
"metadata": {
"guid": "39bd542f-44bb-438b-8a75-5716dd4cd847",
"url": "/v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847",
"created_at": "2015-04-22T15:07:48Z",
"updated_at": null
},
"entity": {
"name": "sample",
"production": false,
"space_guid": "082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"stack_guid": "b168a7ce-a622-449b-8fea-e3bbc06e0bbf",
"buildpack": null,
"detected_buildpack": null,
"environment_json": {
},
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "3a7e2fe1-63b5-43bb-a3e8-f3f63353a0f8",
"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,
"diego": false,
"docker_image": null,
"package_updated_at": null,
"detected_start_command": "",
"space_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"stack_url": "/v2/stacks/b168a7ce-a622-449b-8fea-e3bbc06e0bbf",
"events_url": "/v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847/events",
"service_bindings_url": "/v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847/service_bindings",
"routes_url": "/v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847/routes"
}
}
OK
REQUEST: [2015-04-22T15:07:50Z]
GET /v2/organizations/442b3f7b-b67c-4de2-b7f1-9f79b1de8c33/domains HTTP/1.1
Host: api.172.24.4.2.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.2.0-c9d4aaa / linux
RESPONSE: [2015-04-22T15:07:55Z]
HTTP/1.1 200 OK
Content-Length: 423
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Apr 2015 15:07:53 GMT
Server: nginx
X-Cf-Requestid: 68e23deb-a67d-4330-5345-2ad8c22bddfd
X-Cf-Warnings: Endpoint+deprecated
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 877783e8-84f6-48aa-78e2-858cc45365db::a5181cc9-8d38-402b-9142-bd05c6fac5c7
{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "9a09b547-4b2d-4ad8-8913-ca4436fe9eec",
"url": "/v2/domains/9a09b547-4b2d-4ad8-8913-ca4436fe9eec",
"created_at": "2015-04-22T12:03:56Z",
"updated_at": "2015-04-22T12:03:56Z"
},
"entity": {
"name": "172.24.4.2.xip.io"
}
}
]
}
REQUEST: [2015-04-22T15:07:55Z]
GET /v2/routes?inline-relations-depth=1&q=host%3Asample%3Bdomain_guid%3A9a09b547-4b2d-4ad8-8913-ca4436fe9eec HTTP/1.1
Host: api.172.24.4.2.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.2.0-c9d4aaa / linux
RESPONSE: [2015-04-22T15:08:00Z]
HTTP/1.1 200 OK
Content-Length: 2599
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Apr 2015 15:07:58 GMT
Server: nginx
X-Cf-Requestid: 9d5c0680-5b52-4a57-4102-dd1a422fa6e5
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: b9b70185-97df-43c2-7eaf-2791aa237d67::50a08728-d030-4b3b-864a-83f57f748fce
{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "f57c655f-5eee-47c0-9d16-8985e3871111",
"url": "/v2/routes/f57c655f-5eee-47c0-9d16-8985e3871111",
"created_at": "2015-04-22T14:25:52Z",
"updated_at": null
},
"entity": {
"host": "sample",
"domain_guid": "9a09b547-4b2d-4ad8-8913-ca4436fe9eec",
"space_guid": "082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"domain_url": "/v2/domains/9a09b547-4b2d-4ad8-8913-ca4436fe9eec",
"domain": {
"metadata": {
"guid": "9a09b547-4b2d-4ad8-8913-ca4436fe9eec",
"url": "/v2/domains/9a09b547-4b2d-4ad8-8913-ca4436fe9eec",
"created_at": "2015-04-22T12:03:56Z",
"updated_at": "2015-04-22T12:03:56Z"
},
"entity": {
"name": "172.24.4.2.xip.io"
}
},
"space_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"space": {
"metadata": {
"guid": "082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"created_at": "2015-04-22T13:06:39Z",
"updated_at": null
},
"entity": {
"name": "vedspace",
"organization_guid": "442b3f7b-b67c-4de2-b7f1-9f79b1de8c33",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/442b3f7b-b67c-4de2-b7f1-9f79b1de8c33",
"developers_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/developers",
"managers_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/managers",
"auditors_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/auditors",
"apps_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/apps",
"routes_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/routes",
"domains_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/domains",
"service_instances_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/service_instances",
"app_events_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/app_events",
"events_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/events",
"security_groups_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/security_groups"
}
},
"apps_url": "/v2/routes/f57c655f-5eee-47c0-9d16-8985e3871111/apps",
"apps": [
]
}
}
]
}
Using route sample.172.24.4.2.xip.io
Binding sample.172.24.4.2.xip.io to sample...
REQUEST: [2015-04-22T15:08:00Z]
PUT /v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847/routes/f57c655f-5eee-47c0-9d16-8985e3871111 HTTP/1.1
Host: api.172.24.4.2.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.2.0-c9d4aaa / linux
RESPONSE: [2015-04-22T15:08:05Z]
HTTP/1.1 201 Created
Content-Length: 1346
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Apr 2015 15:08:03 GMT
Server: nginx
X-Cf-Requestid: 9c3b26a0-3842-476d-5bf5-c933884195c6
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 930f4a30-2440-48e6-7c38-238445cf4148::6ab84507-acac-4805-8ce8-471e6a6f61e7
{
"metadata": {
"guid": "39bd542f-44bb-438b-8a75-5716dd4cd847",
"url": "/v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847",
"created_at": "2015-04-22T15:07:48Z",
"updated_at": "2015-04-22T15:08:03Z"
},
"entity": {
"name": "sample",
"production": false,
"space_guid": "082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"stack_guid": "b168a7ce-a622-449b-8fea-e3bbc06e0bbf",
"buildpack": null,
"detected_buildpack": null,
"environment_json": {
},
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "8d74a3ba-6cd4-49dc-986a-6c9750d634e1",
"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,
"diego": false,
"docker_image": null,
"package_updated_at": null,
"detected_start_command": "",
"space_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"stack_url": "/v2/stacks/b168a7ce-a622-449b-8fea-e3bbc06e0bbf",
"events_url": "/v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847/events",
"service_bindings_url": "/v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847/service_bindings",
"routes_url": "/v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847/routes"
}
}
OK
Uploading sample...
REQUEST: [2015-04-22T15:08:05Z]
PUT /v2/resource_match HTTP/1.1
Host: api.172.24.4.2.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.2.0-c9d4aaa / linux
[{"fn":"Calculator.war","sha1":"3404855c5448731b8467763d40e995ac9fb4cb6d","size":2828},{"fn":"cf","sha1":"d1a91058b25939fad3582d45df59efe570e69b20","size":19139792},{"fn":"sample","sha1":"0","size":0},{"fn":"sample/Calculator.war","sha1":"3404855c5448731b8467763d40e995ac9fb4cb6d","size":2828}]
RESPONSE: [2015-04-22T15:08:11Z]
HTTP/1.1 200 OK
Content-Length: 79
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Apr 2015 15:08:09 GMT
Server: nginx
X-Cf-Requestid: 5acd8e04-328f-4cba-6180-1de33891b31a
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: cf5c4e99-438e-40aa-4731-61bb94fd0fa4::0ce4202a-e71a-4290-ac12-c31b00191324
[{"fn":"cf","sha1":"d1a91058b25939fad3582d45df59efe570e69b20","size":19139792}]
Uploading app files from: /home/ubuntu/cf-cli
Uploading 5.9K, 3 files
REQUEST: [2015-04-22T15:08:11Z]
PUT /v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847/bits?async=true HTTP/1.1
Host: api.172.24.4.2.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: multipart/form-data; boundary=bfbbcde1f1078bfdd0d62129a30d01b0de3ec8233219168815a877563424
User-Agent: go-cli 6.2.0-c9d4aaa / linux
[MULTIPART/FORM-DATA CONTENT HIDDEN]
RESPONSE: [2015-04-22T15:08:16Z]
HTTP/1.1 201 Created
Content-Length: 270
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Apr 2015 15:08:14 GMT
Server: nginx
X-Cf-Requestid: ff951b3c-2efa-43b8-5740-fafa10912ead
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 08891664-1772-47e1-6468-0674d3c59d92::3a10ed04-4e2f-4bff-856f-50814d0b8106
{
"metadata": {
"guid": "7d9ba56c-98df-4b4b-8154-db711313445e",
"created_at": "2015-04-22T15:08:14Z",
"url": "/v2/jobs/7d9ba56c-98df-4b4b-8154-db711313445e"
},
"entity": {
"guid": "7d9ba56c-98df-4b4b-8154-db711313445e",
"status": "queued"
}
}
REQUEST: [2015-04-22T15:08:16Z]
GET /v2/jobs/7d9ba56c-98df-4b4b-8154-db711313445e HTTP/1.1
Host: api.172.24.4.2.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.2.0-c9d4aaa / linux
RESPONSE: [2015-04-22T15:08:21Z]
HTTP/1.1 200 OK
Content-Length: 167
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Apr 2015 15:08:19 GMT
Server: nginx
X-Cf-Requestid: 41fbb8c3-7624-4ca0-6432-f6dfcfd812ee
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 57ce28b2-eee2-4ea8-5da8-b9944e0ce8e0::23a96939-fa58-4bd6-9916-d548edcb7a07
{
"metadata": {
"guid": "0",
"created_at": "1970-01-01T00:00:00Z",
"url": "/v2/jobs/0"
},
"entity": {
"guid": "0",
"status": "finished"
}
}
OK
Starting app sample in org vedams / space vedspace as bharath...
REQUEST: [2015-04-22T15:08:31Z]
PUT /v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847?async=true&inline-relations-depth=1 HTTP/1.1
Host: api.172.24.4.2.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.2.0-c9d4aaa / linux
{"state":"STARTED"}
RESPONSE: [2015-04-22T15:08:37Z]
HTTP/1.1 201 Created
Content-Length: 3825
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Apr 2015 15:08:36 GMT
Server: nginx
X-App-Staging-Log: https://84c3afae10764ee48e1a73851d9603cf.172.24.4.2.xip.io/staging_tasks/6aaddde257744c528f89311c34ecb5f3/file_path?hmac=63eeadf8625fda39f3b183419d240e191acf9c323d4c6e85ddcbbb0dc02b169cac7944e258829965fb05d31290e499420db36ca1d62ac00d9bea464070c32a02&path=%2Ftmp%2Fstaged%2Flogs%2Fstaging_task.log&timestamp=1429715315
X-Cf-Requestid: 7df1b096-5902-4aa6-4def-edbcf5223f27
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 48830405-bed7-4e84-5796-7f8dab7c4fe6::43ac787a-3089-4ceb-bbe0-53265111b5d7
{
"metadata": {
"guid": "39bd542f-44bb-438b-8a75-5716dd4cd847",
"url": "/v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847",
"created_at": "2015-04-22T15:07:48Z",
"updated_at": "2015-04-22T15:08:34Z"
},
"entity": {
"name": "sample",
"production": false,
"space_guid": "082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"stack_guid": "b168a7ce-a622-449b-8fea-e3bbc06e0bbf",
"buildpack": null,
"detected_buildpack": null,
"environment_json": {
},
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STARTED",
"version": "352814c9-ac31-4d21-94f5-b8a5875f5b6e",
"command": null,
"console": false,
"debug": null,
"staging_task_id": "6aaddde257744c528f89311c34ecb5f3",
"package_state": "PENDING",
"health_check_type": "port",
"health_check_timeout": null,
"staging_failed_reason": null,
"diego": false,
"docker_image": null,
"package_updated_at": "2015-04-22T15:08:17Z",
"detected_start_command": "",
"space_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"space": {
"metadata": {
"guid": "082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"created_at": "2015-04-22T13:06:39Z",
"updated_at": null
},
"entity": {
"name": "vedspace",
"organization_guid": "442b3f7b-b67c-4de2-b7f1-9f79b1de8c33",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/442b3f7b-b67c-4de2-b7f1-9f79b1de8c33",
"developers_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/developers",
"managers_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/managers",
"auditors_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/auditors",
"apps_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/apps",
"routes_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/routes",
"domains_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/domains",
"service_instances_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/service_instances",
"app_events_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/app_events",
"events_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/events",
"security_groups_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3/security_groups"
}
},
"stack_url": "/v2/stacks/b168a7ce-a622-449b-8fea-e3bbc06e0bbf",
"stack": {
"metadata": {
"guid": "b168a7ce-a622-449b-8fea-e3bbc06e0bbf",
"url": "/v2/stacks/b168a7ce-a622-449b-8fea-e3bbc06e0bbf",
"created_at": "2015-04-22T12:03:56Z",
"updated_at": null
},
"entity": {
"name": "lucid64",
"description": "Ubuntu 10.04 on x86-64"
}
},
"events_url": "/v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847/events",
"service_bindings_url": "/v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847/service_bindings",
"service_bindings": [
],
"routes_url": "/v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847/routes",
"routes": [
{
"metadata": {
"guid": "f57c655f-5eee-47c0-9d16-8985e3871111",
"url": "/v2/routes/f57c655f-5eee-47c0-9d16-8985e3871111",
"created_at": "2015-04-22T14:25:52Z",
"updated_at": null
},
"entity": {
"host": "sample",
"domain_guid": "9a09b547-4b2d-4ad8-8913-ca4436fe9eec",
"space_guid": "082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"domain_url": "/v2/domains/9a09b547-4b2d-4ad8-8913-ca4436fe9eec",
"space_url": "/v2/spaces/082f1fa1-1dab-4cc1-8d71-4faca2c232f3",
"apps_url": "/v2/routes/f57c655f-5eee-47c0-9d16-8985e3871111/apps"
}
}
]
}
}
OK
REQUEST: [2015-04-22T15:08:37Z]
GET /v2/apps/39bd542f-44bb-438b-8a75-5716dd4cd847/instances HTTP/1.1
Host: api.172.24.4.2.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.2.0-c9d4aaa / linux
-----> Downloaded app package (4.0M)
Staging failed: An application could not be detected by any available buildpack
RESPONSE: [2015-04-22T15:08:52Z]
HTTP/1.1 400 Bad Request
Content-Length: 146
Content-Type: application/json;charset=utf-8
Date: Wed, 22 Apr 2015 15:08:51 GMT
Server: nginx
X-Cf-Requestid: 84052f3e-b815-4010-7372-d203c593e0dc
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 7604582e-61e1-4a76-73e4-4ad7cc455866::b85afec6-5a49-42c6-bade-5ccee109a92d
{
"code": 170003,
"description": "An app was not successfully detected by any available buildpack",
"error_code": "CF-NoAppDetectedError"
}
FAILED
Server error, status code: 400, error code: 170003, message: An app was not successfully detected by any available buildpack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment