cf create-buildpack fails in v233 with error 403 Forbidden


Wayne Ha <wayne.h.ha@...>
 

Hi,

I just deployed CF 233 using bosh-lite-v233.yml. After deployment, I tried create-buildpack and it failed:

cf create-buildpack noop-buildpack ./buildpack_noop-buildpack_v01.zip 1
Creating buildpack noop-buildpack...
OK
Uploading buildpack noop-buildpack...
FAILED
Server error, status code: 500, error code: 10001, message: An unknown error occurred.

I found the following in cloud_controller_ng/cloud_controller_ng.log:

{"timestamp":1459559430.5717704
,"message":"Request failed: 500: {\"code\"=>10001
, \"description\"=>\"Could not create object
, 403/<html>\\r\\n<head><title>403 Forbidden</title></head>\\r\\n<body bgcolor=\\\"white\\\">\\r\\n<center><h1>403 Forbidden</h1></center>\\r\\n<hr><center>nginx</center>\\r\\n</body>\\r\\n</html>\\r\\n\"
, \"error_code\"=>\"CF-BlobstoreError\"
, \"backtrace\"=>[\"/var/vcap/data/packages/cloud_controller_ng/0f8b96021b770958c5e092c2c985a4aeb7977f80.1-fede99189ea8fff7b54ba05780db0c0e67b213d0/cloud_controller_ng/lib/cloud_controller/blobstore/webdav/dav_client.rb:82:in `block (2 levels) in cp_to_blobstore'\"
etc...
, \"/var/vcap/packages/cloud_controller_ng/cloud_controller_ng/vendor/bundle/ruby/2.2.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:1067:in `block in spawn_threadpool'\"]}"
,"log_level":"error"
,"source":"cc.api"
,"data":{"request_guid":"029f33f9-30be-4c52-4993-8aad9b2c3889::8839c078-b9c5-4c68-a0f3-db4f45ff0340"}
,"thread_id":69990030933680
,"fiber_id":69990027455520
,"process_id":2661
,"file":"/var/vcap/packages/cloud_controller_ng/cloud_controller_ng/lib/sinatra/vcap.rb"
,"lineno":53
,"method":"block in registered"}

Please let me know what I can do to fix this problem.

Thanks,

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.