upload failed when try cf push

83 views
Skip to first unread message

linxis...@gmail.com

unread,
May 14, 2014, 10:45:50 PM5/14/14
to bosh-...@cloudfoundry.org
Hi, I got this error when try cf push with this ruby demo:
ubuntu@bosh-client:~/cf-workspace/demo$ cf push
Name> demo

Instances> 1

1: 128M
2: 256M
3: 512M
4: 1G
Memory Limit> 1

Creating demo... OK

1: demo
2: none
Subdomain> demo

3: none
Domain> 1

Binding demo.bjtu.io to demo... OK

Create services for application?> n

Save configuration?> y

Saving to manifest.yml... OK
Uploading demo... FAILED
Upload failed. Try again with 'cf push'.
CFoundry::BadResponse: :

cf client version is v5.4.7, and here is the error part of the command cf push -t.
<<< .. >>>
REQUEST_HEADERS:
Accept : application/json
Authorization : [PRIVATE DATA HIDDEN]
Content-Length : 0 ...RESPONSE: [200]
RESPONSE_HEADERS:
content-length : 496
content-type : application/json;charset=utf-8
date : Thu, 15 May 2014 02:19:16 GMT
server : nginx
x-content-type-options : nosniff
x-vcap-request-id : aedaf1b86735af6e5c1ec069f00208db::abd3cce0-8d46-4a78-ab48-50dd42b1fafb
RESPONSE_BODY:
{
"metadata": {
"guid": "2ec05cde-84ca-4f0e-8260-2dca094ac4bc",
"created_at": "2014-05-15T02:19:14+00:00",
"url": "/v2/jobs/2ec05cde-84ca-4f0e-8260-2dca094ac4bc"
},
"entity": {
"guid": "2ec05cde-84ca-4f0e-8260-2dca094ac4bc",
"status": "failed",
"error": "Use of entity>error is deprecated in favor of entity>error_details.",
"error_details": {
"error_code": "UnknownError",
"description": "An unknown error occurred.",
"code": 10001
}
}
}
<<< ... FAILED
Upload failed. Try again with 'cf push'.
CFoundry::BadResponse: :

Details:
1. the deployment file of cf is here, which is generated as an aws-deployment. and I changed it myself. 
2. deployed with microbosh, and the stemcell version is 2366(openstack-kvm-ubuntu), releases version is v169.

anothere question: which jobs is neccessary in the deployment file, and what should  i do if I want an minimal deploy.

thanks,

James Bayer

unread,
May 15, 2014, 1:46:28 AM5/15/14
to bosh-users
you should try posting these questions to vcap-dev as bosh-users is only for bosh.

the cf cli should be 6.1.x [1], not 5.x



To unsubscribe from this group and stop receiving emails from it, send an email to bosh-users+...@cloudfoundry.org.



--
Thank you,

James Bayer

linxis...@gmail.com

unread,
May 15, 2014, 5:11:56 AM5/15/14
to bosh-...@cloudfoundry.org
thanks for you response, and I will try it later.

在 2014年5月15日星期四UTC+8下午1时46分28秒,jbayer写道:
Reply all
Reply to author
Forward
0 new messages