Error downloading: HTTP status: 404 when push application using Swift as blobstore

77 views
Skip to first unread message

iamflying

unread,
Sep 24, 2014, 10:45:53 PM9/24/14
to vcap...@cloudfoundry.org
Hi,

I am following the guide http://docs.cloudfoundry.org/deploying/openstack/using_swift_blobstore.html to use Swift as cloud foundry blobstore. However, I got HTTP 404 error.

From the Swift log, I found it can not download cloudfoundry-buildpacks and cloudfoundry-droplets from blobstore. Then I checked Swift in openstack. It shows empty cloudfoundry-buildpacks and cloudfoundry-droplets but cloudfoundry-packages contains the application packages. Anything wrong?
(Note: I did push the application before I switch to Swift from NFS. But I deleted the applications after I configured Swift.)

Sep 25 12:40:24 localhost @container-server: 137.172.74.130 - - [25/Sep/2014:02:40:24 +0000] "GET /swiftloopback/54673/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages" 200 2 "txa1dfacf349e240d897837-0054238098" "GET http://137.172.74.130:8080/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages?format=json" "proxy-server 18649" 0.0014
Sep 25 12:40:24 localhost @container-server: 137.172.74.130 - - [25/Sep/2014:02:40:24 +0000] "PUT /swiftloopback/54673/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e-0c9c-41e8-8ba1-d304e9c356d0" 201 - "tx7cf7867120004e9d82714-0054238098" "PUT http://137.172.74.130:8080/swiftloopback/73042/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e-0c9c-41e8-8ba1-d304e9c356d0" "obj-server 15202" 0.0003
Sep 25 12:40:24 localhost object-server: 137.172.74.130 - - [25/Sep/2014:02:40:24 +0000] "PUT /swiftloopback/73042/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e-0c9c-41e8-8ba1-d304e9c356d0" 201 - "PUT http://137.172.74.130:8080/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e-0c9c-41e8-8ba1-d304e9c356d0" "tx7cf7867120004e9d82714-0054238098" "proxy-server 18649" 0.0163
Sep 25 12:40:29 localhost @container-server: 137.172.74.130 - - [25/Sep/2014:02:40:29 +0000] "GET /swiftloopback/54673/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages" 200 196 "tx019462e69af24108b9359-005423809d" "GET http://137.172.74.130:8080/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages?format=json" "proxy-server 18647" 0.0149
Sep 25 12:40:29 localhost object-server: 137.172.74.130 - - [25/Sep/2014:02:40:29 +0000] "HEAD /swiftloopback/73042/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e-0c9c-41e8-8ba1-d304e9c356d0" 200 775 "HEAD http://137.172.74.130:8080/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e-0c9c-41e8-8ba1-d304e9c356d0" "tx07d933ed331f4e60b280c-005423809d" "proxy-server 18646" 0.0003
Sep 25 12:40:29 localhost @container-server: 137.172.74.130 - - [25/Sep/2014:02:40:29 +0000] "GET /swiftloopback/185089/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-droplets" 200 2 "txa9e993e418cd4416a4f36-005423809d" "GET http://137.172.74.130:8080/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-droplets?format=json" "proxy-server 18646" 0.0011
Sep 25 12:40:29 localhost object-server: 137.172.74.130 - - [25/Sep/2014:02:40:29 +0000] "HEAD /swiftloopback/191536/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-droplets/buildpack_cache/95/d8/95d8997e-0c9c-41e8-8ba1-d304e9c356d0" 404 - "HEAD http://137.172.74.130:8080/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-droplets/buildpack_cache/95/d8/95d8997e-0c9c-41e8-8ba1-d304e9c356d0" "tx5e43b819fe8e4a0b9ad0d-005423809d" "proxy-server 18646" 0.0002
Sep 25 12:40:29 localhost @container-server: 137.172.74.130 - - [25/Sep/2014:02:40:29 +0000] "GET /swiftloopback/76619/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-buildpacks" 200 2 "txbf95bcdb58384d0496209-005423809d" "GET http://137.172.74.130:8080/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-buildpacks?format=json" "proxy-server 18649" 0.0011
Sep 25 12:40:29 localhost object-server: 137.172.74.130 - - [25/Sep/2014:02:40:29 +0000] "HEAD /swiftloopback/68328/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-buildpacks/5d/49/5d49bcec-069d-48d4-9a6e-9efaf0c1aa4b_9a3079cd1c5ffce848d9aa492f73c42b48791d2e" 404 - "HEAD http://137.172.74.130:8080/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-buildpacks/5d/49/5d49bcec-069d-48d4-9a6e-9efaf0c1aa4b_9a3079cd1c5ffce848d9aa492f73c42b48791d2e" "tx5df792e3b09f4233ab0e7-005423809d" "proxy-server 18646" 0.0002
Sep 25 12:40:29 localhost object-server: 137.172.74.130 - - [25/Sep/2014:02:40:29 +0000] "HEAD /swiftloopback/111278/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-buildpacks/95/09/9509e809-845c-410d-8d2c-ae6e37c8eef9_0eac241dcc6b8def5066447ae62411bfa70572e0" 404 - "HEAD http://137.172.74.130:8080/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-buildpacks/95/09/9509e809-845c-410d-8d2c-ae6e37c8eef9_0eac241dcc6b8def5066447ae62411bfa70572e0" "tx5d6970dbc04d47d39659e-005423809d" "proxy-server 18651" 0.0002
Sep 25 12:40:29 localhost object-server: 137.172.74.130 - - [25/Sep/2014:02:40:29 +0000] "HEAD /swiftloopback/141197/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-buildpacks/6e/3e/6e3e4017-881f-47a9-bebb-14588bfeb432_e648ebc4eea0e9e78ac0fcd56e382c1a7637625b" 404 - "HEAD http://137.172.74.130:8080/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-buildpacks/6e/3e/6e3e4017-881f-47a9-bebb-14588bfeb432_e648ebc4eea0e9e78ac0fcd56e382c1a7637625b" "txafb075b56e8947c999272-005423809d" "proxy-server 18650" 0.0002
Sep 25 12:40:29 localhost object-server: 137.172.74.130 - - [25/Sep/2014:02:40:29 +0000] "HEAD /swiftloopback/175213/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-buildpacks/bd/8e/bd8ecaef-c06e-4a47-8472-4a86e3083685_6a77ede2993aeb18d6e8c17c18ec4aa2080b1350" 404 - "HEAD http://137.172.74.130:8080/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-buildpacks/bd/8e/bd8ecaef-c06e-4a47-8472-4a86e3083685_6a77ede2993aeb18d6e8c17c18ec4aa2080b1350" "txec981b55f1d44371838eb-005423809d" "proxy-server 18647" 0.0002
Sep 25 12:40:29 localhost object-server: 137.172.74.130 - - [25/Sep/2014:02:40:29 +0000] "HEAD /swiftloopback/156150/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-buildpacks/92/79/9279b7e0-836c-47bf-ad76-cc0e40f7e904_5ce1f73eeb2359111ee57566f760b650215054e6" 404 - "HEAD http://137.172.74.130:8080/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-buildpacks/92/79/9279b7e0-836c-47bf-ad76-cc0e40f7e904_5ce1f73eeb2359111ee57566f760b650215054e6" "txcc7720c129c74f3a9ecfd-005423809d" "proxy-server 18652" 0.0002
Sep 25 12:40:30 localhost account-server: 137.172.74.130 - - [25/Sep/2014:02:40:30 +0000] "GET /swiftloopback/139044/AUTH_91d1116420f34447959194fb7e1534b5" 404 - "tx4e9496c731b44d15bcbf6-005423809e" "GET http://137.172.74.130:8080/v1/AUTH_91d1116420f34447959194fb7e1534b5?format=json" "proxy-server 18648" 0.0002 ""


I found there is empty in buildpacks and droplets.
[root@ror-openstack ~(keystone_demo)]# swift list -l
    0            0 2014-09-23 05:25:27 cloudfoundry-buildpacks
    0            0 2014-09-23 05:22:19 cloudfoundry-droplets
    1          775 2014-09-23 05:22:14 cloudfoundry-packages
    1          775
[root@ror-openstack ~(keystone_demo)]#


from dea_next log,

{"timestamp":1411612685.0650532,"message":"varz access","log_level":"debug","source":"Dea::Bootstrap","data":{},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/vendor/cache/vcap-common-4ad156de3fcb/lib/vcap/component.rb","lineno":22,"method":"call"}
{"timestamp":1411612700.1995249,"message":"nats.message.received","log_level":"debug","source":"Dea::Nats","data":{"subject":"staging.stop","data":{"app_id":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0"}},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/nats.rb","lineno":146,"method":"handle_incoming_message"}
{"timestamp":1411612700.7579188,"message":"nats.message.received","log_level":"debug","source":"Dea::Nats","data":{"subject":"staging.0-62c70254cb71490f870ac23a75fe3c5d.start","data":{"app_id":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","task_id":"cd77d7bffe5e4af18886b658b2f98adc","properties":{"services":[],"resources":{"memory":128,"disk":1024,"fds":16384},"environment":["http_proxy=http://georgew...@137.172.74.222:58080","https_proxy=http://georgew:Xsw2...@137.172.74.222:58080","no_proxy=localhost,mycloud1.com,137.172.74.*"],"meta":{"console":false}},"download_uri":"http://137.172.74.130/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e%2D0c9c%2D41e8%2D8ba1%2Dd304e9c356d0?temp_url_sig=16ddb73fe01759bc178078bb75cd7b1e8054d2ce&temp_url_expires=1411616300","upload_uri":"http://upload:c1ou...@10.0.0.37:9022/staging/droplets/95d8997e-0c9c-41e8-8ba1-d304e9c356d0/upload","buildpack_cache_download_uri":null,"buildpack_cache_upload_uri":"http://upload:c1ou...@10.0.0.37:9022/staging/buildpack_cache/95d8997e-0c9c-41e8-8ba1-d304e9c356d0/upload","start_message":{"droplet":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","name":"nodejs","uris":["nodejs.mycloud.com"],"prod":false,"sha1":null,"executableFile":"deprecated","executableUri":null,"version":"28c7f4fa-b976-45f1-941c-b1c0d733bc64","services":[],"limits":{"mem":128,"disk":1024,"fds":16384},"cc_partition":"default","env":["http_proxy=http://georgew...@137.172.74.222:58080","https_proxy=http://georgew:Xsw2...@137.172.74.222:58080","no_proxy=localhost,mycloud1.com,137.172.74.*"],"console":false,"debug":null,"start_command":null,"health_check_timeout":null,"vcap_application":{"limits":{"mem":128,"disk":1024,"fds":16384},"application_version":"28c7f4fa-b976-45f1-941c-b1c0d733bc64","application_name":"nodejs","application_uris":["nodejs.mycloud.com"],"version":"28c7f4fa-b976-45f1-941c-b1c0d733bc64","name":"nodejs","space_name":"dev","space_id":"46152b52-c087-40d6-b84c-8794da2a4e51","uris":["nodejs.mycloud.com"],"users":null},"index":0},"admin_buildpacks":[]}},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/nats.rb","lineno":146,"method":"handle_incoming_message"}
{"timestamp":1411612700.7586787,"message":"staging.handle.start","log_level":"debug","source":"Staging","data":{"app_guid":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","request":"#<StagingMessage:0x00000003625c70 @message={\"app_id\"=>\"95d8997e-0c9c-41e8-8ba1-d304e9c356d0\", \"task_id\"=>\"cd77d7bffe5e4af18886b658b2f98adc\", \"properties\"=>{\"services\"=>[], \"resources\"=>{\"memory\"=>128, \"disk\"=>1024, \"fds\"=>16384}, \"environment\"=>[\"http_proxy=http://georgew...@137.172.74.222:58080\", \"https_proxy=http://georgew:Xsw2...@137.172.74.222:58080\", \"no_proxy=localhost,mycloud1.com,137.172.74.*\"], \"meta\"=>{\"console\"=>false}}, \"download_uri\"=>\"http://137.172.74.130/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e%2D0c9c%2D41e8%2D8ba1%2Dd304e9c356d0?temp_url_sig=16ddb73fe01759bc178078bb75cd7b1e8054d2ce&temp_url_expires=1411616300\", \"upload_uri\"=>\"http://upload:c1ou...@10.0.0.37:9022/staging/droplets/95d8997e-0c9c-41e8-8ba1-d304e9c356d0/upload\", \"buildpack_cache_download_uri\"=>nil, \"buildpack_cache_upload_uri\"=>\"http://upload:c1ou...@10.0.0.37:9022/staging/buildpack_cache/95d8997e-0c9c-41e8-8ba1-d304e9c356d0/upload\", \"start_message\"=>{\"droplet\"=>\"95d8997e-0c9c-41e8-8ba1-d304e9c356d0\", \"name\"=>\"nodejs\", \"uris\"=>[\"nodejs.mycloud.com\"], \"prod\"=>false, \"sha1\"=>nil, \"executableFile\"=>\"deprecated\", \"executableUri\"=>nil, \"version\"=>\"28c7f4fa-b976-45f1-941c-b1c0d733bc64\", \"services\"=>[], \"limits\"=>{\"mem\"=>128, \"disk\"=>1024, \"fds\"=>16384}, \"cc_partition\"=>\"default\", \"env\"=>[\"http_proxy=http://georgew...@137.172.74.222:58080\", \"https_proxy=http://georgew:Xsw2...@137.172.74.222:58080\", \"no_proxy=localhost,mycloud1.com,137.172.74.*\"], \"console\"=>false, \"debug\"=>nil, \"start_command\"=>nil, \"health_check_timeout\"=>nil, \"vcap_application\"=>{\"limits\"=>{\"mem\"=>128, \"disk\"=>1024, \"fds\"=>16384}, \"application_version\"=>\"28c7f4fa-b976-45f1-941c-b1c0d733bc64\", \"application_name\"=>\"nodejs\", \"application_uris\"=>[\"nodejs.mycloud.com\"], \"version\"=>\"28c7f4fa-b976-45f1-941c-b1c0d733bc64\", \"name\"=>\"nodejs\", \"space_name\"=>\"dev\", \"space_id\"=>\"46152b52-c087-40d6-b84c-8794da2a4e51\", \"uris\"=>[\"nodejs.mycloud.com\"], \"users\"=>nil}, \"index\"=>0}, \"admin_buildpacks\"=>[]}>"},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/responders/staging.rb","lineno":43,"method":"handle"}
{"timestamp":1411612700.7589867,"message":"snapshot_attributes","log_level":"info","source":"Staging","data":{"app_guid":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","task_id":"cd77d7bffe5e4af18886b658b2f98adc","properties":{"services":[],"resources":{"memory":128,"disk":1024,"fds":16384},"environment":["http_proxy=http://georgew...@137.172.74.222:58080","https_proxy=http://georgew:Xsw2...@137.172.74.222:58080","no_proxy=localhost,mycloud1.com,137.172.74.*"],"meta":{"console":false}}},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb","lineno":492,"method":"snapshot_attributes"}
{"timestamp":1411612700.7598345,"message":"Saving snapshot took: 0.001s","log_level":"debug","source":"Snapshot","data":{},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/snapshot.rb","lineno":40,"method":"save"}
{"timestamp":1411612700.7602262,"message":"admin-buildpacks.download","log_level":"debug","source":"AdminBuildpackDownloader","data":{"buildpacks":[]},"thread_id":9781380,"fiber_id":28437300,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/staging/admin_buildpack_downloader.rb","lineno":15,"method":"download"}
{"timestamp":1411612700.760491,"message":"{\"source_dir\"=>\"/tmp/unstaged\", \"dest_dir\"=>\"/tmp/staged\", \"cache_dir\"=>\"/tmp/cache\", \"environment\"=>{\"services\"=>[], \"resources\"=>{\"memory\"=>128, \"disk\"=>1024, \"fds\"=>16384}, \"environment\"=>[\"http_proxy=http://georgew...@137.172.74.222:58080\", \"https_proxy=http://georgew:Xsw2...@137.172.74.222:58080\", \"no_proxy=localhost,mycloud1.com,137.172.74.*\"], \"meta\"=>{\"console\"=>false}}, \"staging_info_name\"=>\"staging_info.yml\", \"buildpack_dirs\"=>[]}","log_level":"debug","source":"Dea::StagingTaskWorkspace","data":{},"thread_id":9781380,"fiber_id":28437300,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/staging/staging_task_workspace.rb","lineno":39,"method":"write_config_file"}
{"timestamp":1411612701.178402,"message":"staging.app-download.starting","log_level":"info","source":"Staging","data":{"app_guid":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","task_id":"cd77d7bffe5e4af18886b658b2f98adc","uri":"http://137.172.74.130/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e%2D0c9c%2D41e8%2D8ba1%2Dd304e9c356d0?temp_url_sig=16ddb73fe01759bc178078bb75cd7b1e8054d2ce&temp_url_expires=1411616300"},"thread_id":9781380,"fiber_id":26967200,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb","lineno":289,"method":"block in promise_app_download"}
{"timestamp":1411612701.1808586,"message":"Error downloading: HTTP status: 404","log_level":"warn","source":"Staging","data":{"app_guid":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","task_id":"cd77d7bffe5e4af18886b658b2f98adc","droplet_uri":"http://137.172.74.130/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e%2D0c9c%2D41e8%2D8ba1%2Dd304e9c356d0?temp_url_sig=16ddb73fe01759bc178078bb75cd7b1e8054d2ce&temp_url_expires=1411616300","droplet_http_status":404},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/utils/download.rb","lineno":71,"method":"block in download!"}
{"timestamp":1411612701.1809766,"message":"staging.app-download.failed","log_level":"debug","source":"Staging","data":{"app_guid":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","task_id":"cd77d7bffe5e4af18886b658b2f98adc","duration":null,"error":"Error downloading: HTTP status: 404","backtrace":null},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb","lineno":295,"method":"block (2 levels) in promise_app_download"}
{"timestamp":1411612701.1812713,"message":"staging.task.failed","log_level":"info","source":"Staging","data":{"app_guid":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","task_id":"cd77d7bffe5e4af18886b658b2f98adc","error":"Error downloading: HTTP status: 404","backtrace":["/var/vcap/packages/dea_next/lib/dea/promise.rb:81:in `resolve'","/var/vcap/packages/dea_next/lib/dea/promise.rb:31:in `each'","/var/vcap/packages/dea_next/lib/dea/promise.rb:31:in `run_in_parallel'","/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb:534:in `resolve_staging_setup'","/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb:47:in `block in start'","/var/vcap/packages/dea_next/lib/dea/promise.rb:92:in `call'","/var/vcap/packages/dea_next/lib/dea/promise.rb:92:in `block in run'"]},"thread_id":9781380,"fiber_id":28437400,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb","lineno":55,"method":"block in start"}
{"timestamp":1411612701.1818724,"message":"Saving snapshot took: 0.000s","log_level":"debug","source":"Snapshot","data":{},"thread_id":9781380,"fiber_id":28437400,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/snapshot.rb","lineno":40,"method":"save"}
{"timestamp":1411612701.328986,"message":"Caught exception: Error downloading: HTTP status: 404","log_level":"warn","source":"Dea::Promise","data":{"backtrace":["/var/vcap/packages/dea_next/lib/dea/promise.rb:81:in `resolve'","/var/vcap/packages/dea_next/lib/dea/promise.rb:31:in `each'","/var/vcap/packages/dea_next/lib/dea/promise.rb:31:in `run_in_parallel'","/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb:534:in `resolve_staging_setup'","/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb:47:in `block in start'","/var/vcap/packages/dea_next/lib/dea/promise.rb:92:in `call'","/var/vcap/packages/dea_next/lib/dea/promise.rb:92:in `block in run'"]},"thread_id":9781380,"fiber_id":28437400,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/promise.rb","lineno":22,"method":"rescue in block in resolve"}
{"timestamp":1411612715.097132,"message":"varz access","log_level":"debug","source":"Dea::Bootstrap","data":{},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/vendor/cache/vcap-common-4ad156de3fcb/lib/vcap/component.rb","lineno":22,"method":"call"}

iamflying

unread,
Sep 25, 2014, 3:46:11 AM9/25/14
to vcap...@cloudfoundry.org
Updated.  I redid the application push. And found the droplet can not be downloaded even it exists in Swift.  I found the tempurl.rb repeated 3 times to call its self due to missing temp_url_sig and temp_url_expires. However, from dea_next log, it did have two parameters. Any idea?

Log from dea_next:
{"timestamp":1411617160.0995681,"message":"Error downloading: HTTP status: 404","log_level":"warn","source":"AdminBuildpackDownloader","data":{"droplet_uri":"http://137.172.74.131/v1/AUTH_316ea002a4754fcb869b0edcad72b84d/mycloud1.com-cc-buildpacks/96/e0/96e0b4db%2D428e%2D4777%2D915d%2D3214109c011c_7a07d6162873fda29a0aceb03aaa53f6f0eff25a?temp_url_sig=d60bc83dca304e85e6be96ff84f6610153954377&temp_url_expires=1411620760","droplet_http_status":404},"thread_id":5841000,"fiber_id":14435820,"process_id":2165,"file":"/var/vcap/packages/dea_next/lib/dea/utils/download.rb","lineno":72,"method":"block in download!"}
{"timestamp":1411617160.1002877,"message":"staging.task.failed","log_level":"info","source":"Staging","data":{"app_guid":"e18c0599-8456-465d-bbcd-3dd8a0b01397","task_id":"1d87e7ccb4134708a02a54fdc69bd03d","error":"Error downloading: HTTP status: 404","backtrace":["/var/vcap/packages/dea_next/lib/dea/promise.rb:81:in `resolve'","/var/vcap/packages/dea_next/lib/dea/staging/admin_buildpack_downloader.rb:32:in `block (2 levels) in download'","/var/vcap/packages/dea_next/lib/dea/staging/admin_buildpack_downloader.rb:23:in `each'","/var/vcap/packages/dea_next/lib/dea/staging/admin_buildpack_downloader.rb:23:in `block in download'","/var/vcap/packages/dea_next/vendor/bundle/ruby/1.9.1/gems/em-synchrony-1.0.3/lib/em-synchrony/thread.rb:63:in `synchronize'","/var/vcap/packages/dea_next/lib/dea/staging/admin_buildpack_downloader.rb:22:in `download'","/var/vcap/packages/dea_next/lib/dea/staging/buildpack_manager.rb:12:in `download'","/var/vcap/packages/dea_next/lib/dea/staging/staging_task_workspace.rb:48:in `prepare'","/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb:525:in `resolve_staging_setup'","/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb:47:in `block in start'","/var/vcap/packages/dea_next/lib/dea/promise.rb:92:in `call'","/var/vcap/packages/dea_next/lib/dea/promise.rb:92:in `block in run'"]},"thread_id":5841000,"fiber_id":21602860,"process_id":2165,"file":"/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb","lineno":55,"method":"block in start"}
{"timestamp":1411617160.1193776,"message":"Saving snapshot took:

Log from swift (/var/log/message)
Sep 26 03:33:46 localhost swift: the is_admin feature has been deprecated and will be removed in the future update your config file (txn: tx13da922620a54765a66bf-00542451f9) (client_ip: 137.172.74.86)
Sep 26 03:33:46 localhost account-server: 137.172.74.131 - - [25/Sep/2014:17:33:46 +0000] "HEAD /swiftloopback/80022/AUTH_316ea002a4754fcb869b0edcad72b84d" 204 - "tx13da922620a54765a66bf-00542451f9" "HEAD http://137.172.74.131:8080/v1/AUTH_316ea002a4754fcb869b0edcad72b84d" "proxy-server 32048" 0.0021 ""
Sep 26 03:33:46 localhost @container-server: 137.172.74.131 - - [25/Sep/2014:17:33:46 +0000] "GET /swiftloopback/165480/AUTH_316ea002a4754fcb869b0edcad72b84d/mycloud1.com-cc-packages" 200 197 "tx13da922620a54765a66bf-00542451f9" "GET http://137.172.74.131:8080/v1/AUTH_316ea002a4754fcb869b0edcad72b84d/mycloud1.com-cc-packages?format=json&limit=1&max_keys=1" "proxy-server 32048" 0.0027
Sep 26 03:33:46 localhost swift: the is_admin feature has been deprecated and will be removed in the future update your config file (txn: tx90728bfbf600414b9dcf5-00542451fa) (client_ip: 137.172.74.86)
Sep 26 03:33:46 localhost @container-server: 137.172.74.131 - - [25/Sep/2014:17:33:46 +0000] "PUT /swiftloopback/165480/AUTH_316ea002a4754fcb869b0edcad72b84d/mycloud1.com-cc-packages/68/b9/68b9e7a5-0f47-4e57-af4b-617aa2bfa76f" 201 - "tx90728bfbf600414b9dcf5-00542451fa" "PUT http://137.172.74.131:8080/swiftloopback/191369/AUTH_316ea002a4754fcb869b0edcad72b84d/mycloud1.com-cc-packages/68/b9/68b9e7a5-0f47-4e57-af4b-617aa2bfa76f" "obj-server 12379" 0.0006
Sep 26 03:33:48 localhost @container-server: 137.172.74.131 - - [25/Sep/2014:17:33:48 +0000] "GET /swiftloopback/165480/AUTH_316ea002a4754fcb869b0edcad72b84d/mycloud1.com-cc-packages" 200 197 "tx1a12972f153647c1964f9-00542451fc" "GET http://137.172.74.131:8080/v1/AUTH_316ea002a4754fcb869b0edcad72b84d/mycloud1.com-cc-packages?format=json&limit=1&max_keys=1" "proxy-server 32065" 0.0868
Sep 26 03:33:49 localhost @container-server: 137.172.74.131 - - [25/Sep/2014:17:33:49 +0000] "GET /swiftloopback/53278/AUTH_316ea002a4754fcb869b0edcad72b84d/mycloud1.com-cc-droplets" 200 2 "tx0c2e2c3c08ac444cbe22e-00542451fd" "GET http://137.172.74.131:8080/v1/AUTH_316ea002a4754fcb869b0edcad72b84d/mycloud1.com-cc-droplets?format=json&limit=1&max_keys=1" "proxy-server 32065" 0.0023
Sep 26 03:33:49 localhost @container-server: 137.172.74.131 - - [25/Sep/2014:17:33:49 +0000] "GET /swiftloopback/18528/AUTH_316ea002a4754fcb869b0edcad72b84d/mycloud1.com-cc-buildpacks" 200 243 "tx7586d4db729e4c8a82d08-00542451fd" "GET http://137.172.74.131:8080/v1/AUTH_316ea002a4754fcb869b0edcad72b84d/mycloud1.com-cc-buildpacks?format=json&limit=1&max_keys=1" "proxy-server 32046" 0.0026




[root@ror-openstack-server ~(keystone_demo)]# swift list -l
   12   4165254023 2014-09-23 14:06:18 mycloud1.com-cc-buildpacks
    0            0 2014-09-23 14:12:11 mycloud1.com-cc-droplets
    1         4802 2014-09-23 14:12:20 mycloud1.com-cc-packages
   14   4180725321
[root@ror-openstack-server ~(keystone_demo)]#

[root@ror-openstack-server ~(keystone_demo)]# swift list mycloud1.com-cc-buildpacks --lh
400M 2014-09-25 13:11:40 27/09/27098810-7baf-4fbf-acea-488439b98693_653f3f66335f0c7f3e5a5eac5a6f2dfb80112a9f
281M 2014-09-25 13:12:20 33/a3/33a398ae-4985-41ff-86db-a6711fc063c9_9a19eb594a03d980ddc2de6822091e0e5eefa824
358M 2014-09-25 13:12:07 3a/6f/3a6fb8cf-e4ef-4e01-8648-57222a019f67_997ad01e0b9eedd5566c70480c7624c64d45ae0e
259M 2014-09-25 13:12:06 66/57/6657f258-e3ed-4169-88d6-22c7373c7746_f69ed831e6fc4654738e5d0ea253e132c0bb3513
281M 2014-09-25 11:19:47 6d/42/6d42db79-423a-4b9c-92b7-c78f3ea3e4c2_9a19eb594a03d980ddc2de6822091e0e5eefa824
375M 2014-09-25 11:19:04 73/89/73890749-486d-404a-ad1b-8ed7a0d3eabe_4eb0d5e5ebed88b9f11238cbb082b79b22064488
134K 2014-09-25 13:11:11 96/e0/96e0b4db-428e-4777-915d-3214109c011c_7a07d6162873fda29a0aceb03aaa53f6f0eff25a
695M 2014-09-25 11:19:04 9c/38/9c38381b-f09a-4842-bdc2-afe626187925_c75cbf3fad7b749654847f2668cc5154482547a8
259M 2014-09-25 11:19:38 9e/ac/9eac487f-34b5-4f5e-b647-271afb6ae25c_f69ed831e6fc4654738e5d0ea253e132c0bb3513
701M 2014-09-25 13:11:41 b6/73/b673fdb4-cce8-416a-9bb4-25138b2e1b60_b0ab22ef2c3fbc6ee2ddd532945322f5bfc8905d
358M 2014-09-25 11:19:18 d1/86/d186d514-c5a3-40a0-8e6a-a3553a5d2538_997ad01e0b9eedd5566c70480c7624c64d45ae0e
134K 2014-09-25 11:18:48 f7/50/f750ef60-378e-489c-89e9-6b1038d575a4_7a07d6162873fda29a0aceb03aaa53f6f0eff25a
3.9G
[root@ror-openstack-server ~(keystone_demo)]#
{"timestamp":1411612700.7579188,"message":"nats.message.received","log_level":"debug","source":"Dea::Nats","data":{"subject":"staging.0-62c70254cb71490f870ac23a75fe3c5d.start","data":{"app_id":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","task_id":"cd77d7bffe5e4af18886b658b2f98adc","properties":{"services":[],"resources":{"memory":128,"disk":1024,"fds":16384},"environment":["http_proxy=http://georgew...@137.172.74.222:58080","https_proxy=http://georgew:Xsw2...@137.172.74.222:58080","no_proxy=localhost,mycloud1.com,137.172.74.*"],"meta":{"console":false}},"download_uri":"http://137.172.74.130/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e%2D0c9c%2D41e8%2D8ba1%2Dd304e9c356d0?temp_url_sig=16ddb73fe01759bc178078bb75cd7b1e8054d2ce&temp_url_expires=1411616300","upload_uri":"http://upload:c1ou...@10.0.0.37:9022/staging/droplets/95d8997e-0c9c-41e8-8ba1-d304e9c356d0/upload","buildpack_cache_download_uri":null,"buildpack_cache_upload_uri":"http://upload:c1oudc0w@10.0.0.37:9022/staging/buildpack_cache/95d8997e-0c9c-41e8-8ba1-d304e9c356d0/upload","start_message":{"droplet":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","name":"nodejs","uris":["nodejs.mycloud.com"],"prod":false,"sha1":null,"executableFile":"deprecated","executableUri":null,"version":"28c7f4fa-b976-45f1-941c-b1c0d733bc64","services":[],"limits":{"mem":128,"disk":1024,"fds":16384},"cc_partition":"default","env":["http_proxy=http://georgew...@137.172.74.222:58080","https_proxy=http://georgew:Xsw2...@137.172.74.222:58080","no_proxy=localhost,mycloud1.com,137.172.74.*"],"console":false,"debug":null,"start_command":null,"health_check_timeout":null,"vcap_application":{"limits":{"mem":128,"disk":1024,"fds":16384},"application_version":"28c7f4fa-b976-45f1-941c-b1c0d733bc64","application_name":"nodejs","application_uris":["nodejs.mycloud.com"],"version":"28c7f4fa-b976-45f1-941c-b1c0d733bc64","name":"nodejs","space_name":"dev","space_id":"46152b52-c087-40d6-b84c-8794da2a4e51","uris":["nodejs.mycloud.com"],"users":null},"index":0},"admin_buildpacks":[]}},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/nats.rb","lineno":146,"method":"handle_incoming_message"}
{"timestamp":1411612700.7586787,"message":"staging.handle.start","log_level":"debug","source":"Staging","data":{"app_guid":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","request":"#<StagingMessage:0x00000003625c70 @message={\"app_id\"=>\"95d8997e-0c9c-41e8-8ba1-d304e9c356d0\", \"task_id\"=>\"cd77d7bffe5e4af18886b658b2f98adc\", \"properties\"=>{\"services\"=>[], \"resources\"=>{\"memory\"=>128, \"disk\"=>1024, \"fds\"=>16384}, \"environment\"=>[\"http_proxy=http://georgewXsw2cde3@137.172.74.222:58080\", \"https_proxy=http://georgew:Xsw2...@137.172.74.222:58080\", \"no_proxy=localhost,mycloud1.com,137.172.74.*\"], \"meta\"=>{\"console\"=>false}}, \"download_uri\"=>\"http://137.172.74.130/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e%2D0c9c%2D41e8%2D8ba1%2Dd304e9c356d0?temp_url_sig=16ddb73fe01759bc178078bb75cd7b1e8054d2ce&temp_url_expires=1411616300\", \"upload_uri\"=>\"http://upload:c1ou...@10.0.0.37:9022/staging/droplets/95d8997e-0c9c-41e8-8ba1-d304e9c356d0/upload\", \"buildpack_cache_download_uri\"=>nil, \"buildpack_cache_upload_uri\"=>\"http://upload:c1oudc0w@10.0.0.37:9022/staging/buildpack_cache/95d8997e-0c9c-41e8-8ba1-d304e9c356d0/upload\", \"start_message\"=>{\"droplet\"=>\"95d8997e-0c9c-41e8-8ba1-d304e9c356d0\", \"name\"=>\"nodejs\", \"uris\"=>[\"nodejs.mycloud.com\"], \"prod\"=>false, \"sha1\"=>nil, \"executableFile\"=>\"deprecated\", \"executableUri\"=>nil, \"version\"=>\"28c7f4fa-b976-45f1-941c-b1c0d733bc64\", \"services\"=>[], \"limits\"=>{\"mem\"=>128, \"disk\"=>1024, \"fds\"=>16384}, \"cc_partition\"=>\"default\", \"env\"=>[\"http_proxy=http://georgew...@137.172.74.222:58080\", \"https_proxy=http://georgew:Xsw2...@137.172.74.222:58080\", \"no_proxy=localhost,mycloud1.com,137.172.74.*\"], \"console\"=>false, \"debug\"=>nil, \"start_command\"=>nil, \"health_check_timeout\"=>nil, \"vcap_application\"=>{\"limits\"=>{\"mem\"=>128, \"disk\"=>1024, \"fds\"=>16384}, \"application_version\"=>\"28c7f4fa-b976-45f1-941c-b1c0d733bc64\", \"application_name\"=>\"nodejs\", \"application_uris\"=>[\"nodejs.mycloud.com\"], \"version\"=>\"28c7f4fa-b976-45f1-941c-b1c0d733bc64\", \"name\"=>\"nodejs\", \"space_name\"=>\"dev\", \"space_id\"=>\"46152b52-c087-40d6-b84c-8794da2a4e51\", \"uris\"=>[\"nodejs.mycloud.com\"], \"users\"=>nil}, \"index\"=>0}, \"admin_buildpacks\"=>[]}>"},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/responders/staging.rb","lineno":43,"method":"handle"}

{"timestamp":1411612700.7589867,"message":"snapshot_attributes","log_level":"info","source":"Staging","data":{"app_guid":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","task_id":"cd77d7bffe5e4af18886b658b2f98adc","properties":{"services":[],"resources":{"memory":128,"disk":1024,"fds":16384},"environment":["http_proxy=http://georgew...@137.172.74.222:58080","https_proxy=http://georgew:Xsw2...@137.172.74.222:58080","no_proxy=localhost,mycloud1.com,137.172.74.*"],"meta":{"console":false}}},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb","lineno":492,"method":"snapshot_attributes"}
{"timestamp":1411612700.7598345,"message":"Saving snapshot took: 0.001s","log_level":"debug","source":"Snapshot","data":{},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/snapshot.rb","lineno":40,"method":"save"}
{"timestamp":1411612700.7602262,"message":"admin-buildpacks.download","log_level":"debug","source":"AdminBuildpackDownloader","data":{"buildpacks":[]},"thread_id":9781380,"fiber_id":28437300,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/staging/admin_buildpack_downloader.rb","lineno":15,"method":"download"}
{"timestamp":1411612700.760491,"message":"{\"source_dir\"=>\"/tmp/unstaged\", \"dest_dir\"=>\"/tmp/staged\", \"cache_dir\"=>\"/tmp/cache\", \"environment\"=>{\"services\"=>[], \"resources\"=>{\"memory\"=>128, \"disk\"=>1024, \"fds\"=>16384}, \"environment\"=>[\"http_proxy=http://georgewXsw2cde3@137.172.74.222:58080\", \"https_proxy=http://georgew:Xsw2...@137.172.74.222:58080\", \"no_proxy=localhost,mycloud1.com,137.172.74.*\"], \"meta\"=>{\"console\"=>false}}, \"staging_info_name\"=>\"staging_info.yml\", \"buildpack_dirs\"=>[]}","log_level":"debug","source":"Dea::StagingTaskWorkspace","data":{},"thread_id":9781380,"fiber_id":28437300,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/staging/staging_task_workspace.rb","lineno":39,"method":"write_config_file"}

ferdy

unread,
Sep 25, 2014, 1:22:58 PM9/25/14
to vcap...@cloudfoundry.org
{"timestamp":1411612700.7579188,"message":"nats.message.received","log_level":"debug","source":"Dea::Nats","data":{"subject":"staging.0-62c70254cb71490f870ac23a75fe3c5d.start","data":{"app_id":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","task_id":"cd77d7bffe5e4af18886b658b2f98adc","properties":{"services":[],"resources":{"memory":128,"disk":1024,"fds":16384},"environment":["http_proxy=http://georgew...@137.172.74.222:58080","https_proxy=http://georgew:Xsw2...@137.172.74.222:58080","no_proxy=localhost,mycloud1.com,137.172.74.*"],"meta":{"console":false}},"download_uri":"http://137.172.74.130/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e%2D0c9c%2D41e8%2D8ba1%2Dd304e9c356d0?temp_url_sig=16ddb73fe01759bc178078bb75cd7b1e8054d2ce&temp_url_expires=1411616300","upload_uri":"http://upload:c1ou...@10.0.0.37:9022/staging/droplets/95d8997e-0c9c-41e8-8ba1-d304e9c356d0/upload","buildpack_cache_download_uri":null,"buildpack_cache_upload_uri":"http://upload:c1oudc0w@10.0.0.37:9022/staging/buildpack_cache/95d8997e-0c9c-41e8-8ba1-d304e9c356d0/upload","start_message":{"droplet":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","name":"nodejs","uris":["nodejs.mycloud.com"],"prod":false,"sha1":null,"executableFile":"deprecated","executableUri":null,"version":"28c7f4fa-b976-45f1-941c-b1c0d733bc64","services":[],"limits":{"mem":128,"disk":1024,"fds":16384},"cc_partition":"default","env":["http_proxy=http://georgew...@137.172.74.222:58080","https_proxy=http://georgew:Xsw2...@137.172.74.222:58080","no_proxy=localhost,mycloud1.com,137.172.74.*"],"console":false,"debug":null,"start_command":null,"health_check_timeout":null,"vcap_application":{"limits":{"mem":128,"disk":1024,"fds":16384},"application_version":"28c7f4fa-b976-45f1-941c-b1c0d733bc64","application_name":"nodejs","application_uris":["nodejs.mycloud.com"],"version":"28c7f4fa-b976-45f1-941c-b1c0d733bc64","name":"nodejs","space_name":"dev","space_id":"46152b52-c087-40d6-b84c-8794da2a4e51","uris":["nodejs.mycloud.com"],"users":null},"index":0},"admin_buildpacks":[]}},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/nats.rb","lineno":146,"method":"handle_incoming_message"}
{"timestamp":1411612700.7586787,"message":"staging.handle.start","log_level":"debug","source":"Staging","data":{"app_guid":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","request":"#<StagingMessage:0x00000003625c70 @message={\"app_id\"=>\"95d8997e-0c9c-41e8-8ba1-d304e9c356d0\", \"task_id\"=>\"cd77d7bffe5e4af18886b658b2f98adc\", \"properties\"=>{\"services\"=>[], \"resources\"=>{\"memory\"=>128, \"disk\"=>1024, \"fds\"=>16384}, \"environment\"=>[\"http_proxy=http://georgewXsw2cde3@137.172.74.222:58080\", \"https_proxy=http://georgew:Xsw2...@137.172.74.222:58080\", \"no_proxy=localhost,mycloud1.com,137.172.74.*\"], \"meta\"=>{\"console\"=>false}}, \"download_uri\"=>\"http://137.172.74.130/v1/AUTH_cfe9f5b6e3bf4bacaec2bfad67d21ba7/cloudfoundry-packages/95/d8/95d8997e%2D0c9c%2D41e8%2D8ba1%2Dd304e9c356d0?temp_url_sig=16ddb73fe01759bc178078bb75cd7b1e8054d2ce&temp_url_expires=1411616300\", \"upload_uri\"=>\"http://upload:c1ou...@10.0.0.37:9022/staging/droplets/95d8997e-0c9c-41e8-8ba1-d304e9c356d0/upload\", \"buildpack_cache_download_uri\"=>nil, \"buildpack_cache_upload_uri\"=>\"http://upload:c1oudc0w@10.0.0.37:9022/staging/buildpack_cache/95d8997e-0c9c-41e8-8ba1-d304e9c356d0/upload\", \"start_message\"=>{\"droplet\"=>\"95d8997e-0c9c-41e8-8ba1-d304e9c356d0\", \"name\"=>\"nodejs\", \"uris\"=>[\"nodejs.mycloud.com\"], \"prod\"=>false, \"sha1\"=>nil, \"executableFile\"=>\"deprecated\", \"executableUri\"=>nil, \"version\"=>\"28c7f4fa-b976-45f1-941c-b1c0d733bc64\", \"services\"=>[], \"limits\"=>{\"mem\"=>128, \"disk\"=>1024, \"fds\"=>16384}, \"cc_partition\"=>\"default\", \"env\"=>[\"http_proxy=http://georgew...@137.172.74.222:58080\", \"https_proxy=http://georgew:Xsw2...@137.172.74.222:58080\", \"no_proxy=localhost,mycloud1.com,137.172.74.*\"], \"console\"=>false, \"debug\"=>nil, \"start_command\"=>nil, \"health_check_timeout\"=>nil, \"vcap_application\"=>{\"limits\"=>{\"mem\"=>128, \"disk\"=>1024, \"fds\"=>16384}, \"application_version\"=>\"28c7f4fa-b976-45f1-941c-b1c0d733bc64\", \"application_name\"=>\"nodejs\", \"application_uris\"=>[\"nodejs.mycloud.com\"], \"version\"=>\"28c7f4fa-b976-45f1-941c-b1c0d733bc64\", \"name\"=>\"nodejs\", \"space_name\"=>\"dev\", \"space_id\"=>\"46152b52-c087-40d6-b84c-8794da2a4e51\", \"uris\"=>[\"nodejs.mycloud.com\"], \"users\"=>nil}, \"index\"=>0}, \"admin_buildpacks\"=>[]}>"},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/responders/staging.rb","lineno":43,"method":"handle"}

{"timestamp":1411612700.7589867,"message":"snapshot_attributes","log_level":"info","source":"Staging","data":{"app_guid":"95d8997e-0c9c-41e8-8ba1-d304e9c356d0","task_id":"cd77d7bffe5e4af18886b658b2f98adc","properties":{"services":[],"resources":{"memory":128,"disk":1024,"fds":16384},"environment":["http_proxy=http://georgew...@137.172.74.222:58080","https_proxy=http://georgew:Xsw2...@137.172.74.222:58080","no_proxy=localhost,mycloud1.com,137.172.74.*"],"meta":{"console":false}}},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/staging/staging_task.rb","lineno":492,"method":"snapshot_attributes"}
{"timestamp":1411612700.7598345,"message":"Saving snapshot took: 0.001s","log_level":"debug","source":"Snapshot","data":{},"thread_id":9781380,"fiber_id":22459260,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/snapshot.rb","lineno":40,"method":"save"}
{"timestamp":1411612700.7602262,"message":"admin-buildpacks.download","log_level":"debug","source":"AdminBuildpackDownloader","data":{"buildpacks":[]},"thread_id":9781380,"fiber_id":28437300,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/staging/admin_buildpack_downloader.rb","lineno":15,"method":"download"}
{"timestamp":1411612700.760491,"message":"{\"source_dir\"=>\"/tmp/unstaged\", \"dest_dir\"=>\"/tmp/staged\", \"cache_dir\"=>\"/tmp/cache\", \"environment\"=>{\"services\"=>[], \"resources\"=>{\"memory\"=>128, \"disk\"=>1024, \"fds\"=>16384}, \"environment\"=>[\"http_proxy=http://georgewXsw2cde3@137.172.74.222:58080\", \"https_proxy=http://georgew:Xsw2...@137.172.74.222:58080\", \"no_proxy=localhost,mycloud1.com,137.172.74.*\"], \"meta\"=>{\"console\"=>false}}, \"staging_info_name\"=>\"staging_info.yml\", \"buildpack_dirs\"=>[]}","log_level":"debug","source":"Dea::StagingTaskWorkspace","data":{},"thread_id":9781380,"fiber_id":28437300,"process_id":1400,"file":"/var/vcap/packages/dea_next/lib/dea/staging/staging_task_workspace.rb","lineno":39,"method":"write_config_file"}

Ferran Rodenas

unread,
Sep 25, 2014, 2:27:37 PM9/25/14
to vcap...@cloudfoundry.org

--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/bb25bd02-6511-49fd-87b9-3a61663b597d%40cloudfoundry.org.

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

Reply all
Reply to author
Forward
0 new messages