Skip to content

Instantly share code, notes, and snippets.

@tcotav
Created June 27, 2014 21:06
Show Gist options
  • Save tcotav/a8bef9e0a3c8ffb853df to your computer and use it in GitHub Desktop.
Save tcotav/a8bef9e0a3c8ffb853df to your computer and use it in GitHub Desktop.
NoMemoryError: microsoft_azure_storage_container -- fails on getblob
test-box-0.cloudapp.net [2014-06-27T21:05:00+00:00] INFO: Processing chef_gem[azure] action install (microsoft_azure::default line 28)
test-box-0.cloudapp.net [2014-06-27T21:05:00+00:00] INFO: Processing microsoft_azure_storage_container[my-node] action retrieve (windowsapp::default line 25)
test-box-0.cloudapp.net Target content length: 118525358
test-box-0.cloudapp.net
test-box-0.cloudapp.net ================================================================================
test-box-0.cloudapp.net Error executing action `retrieve` on resource 'microsoft_azure_storage_container[my-node]'
test-box-0.cloudapp.net ================================================================================
test-box-0.cloudapp.net
test-box-0.cloudapp.net NoMemoryError
test-box-0.cloudapp.net -------------
test-box-0.cloudapp.net failed to allocate memory
test-box-0.cloudapp.net
test-box-0.cloudapp.net Cookbook Trace:
test-box-0.cloudapp.net ---------------
test-box-0.cloudapp.net c:/chef/cache/cookbooks/microsoft_azure/providers/storage_container.rb:96:in `block (2 levels) in class_from_file'
test-box-0.cloudapp.net c:/chef/cache/cookbooks/microsoft_azure/providers/storage_container.rb:84:in `open'
test-box-0.cloudapp.net c:/chef/cache/cookbooks/microsoft_azure/providers/storage_container.rb:84:in `block in class_from_file'
test-box-0.cloudapp.net
test-box-0.cloudapp.net Resource Declaration:
test-box-0.cloudapp.net ---------------------
test-box-0.cloudapp.net # In c:/chef/cache/cookbooks/windowsapp/recipes/default.rb
test-box-0.cloudapp.net
test-box-0.cloudapp.net 25: microsoft_azure_storage_container 'my-node' do
test-box-0.cloudapp.net 26: storage_account storage_account
test-box-0.cloudapp.net 27: access_key account_key
test-box-0.cloudapp.net 28: container_name container_name
test-box-0.cloudapp.net 29: blob_name archive_name
test-box-0.cloudapp.net 30: local_filename archive_name
test-box-0.cloudapp.net 31: action :retrieve
test-box-0.cloudapp.net 32: end
test-box-0.cloudapp.net 33:
test-box-0.cloudapp.net
test-box-0.cloudapp.net Compiled Resource:
test-box-0.cloudapp.net ------------------
test-box-0.cloudapp.net # Declared in c:/chef/cache/cookbooks/windowsapp/recipes/default.rb:25:in `from_file'
test-box-0.cloudapp.net
test-box-0.cloudapp.net microsoft_azure_storage_container("my-node") do
test-box-0.cloudapp.net action [:retrieve]
test-box-0.cloudapp.net retries 0
test-box-0.cloudapp.net retry_delay 2
test-box-0.cloudapp.net guard_interpreter :default
test-box-0.cloudapp.net cookbook_name "windowsapp"
test-box-0.cloudapp.net recipe_name "default"
test-box-0.cloudapp.net storage_account "myarchives"
test-box-0.cloudapp.net access_key "f92OyHC1uiaRbp6AIM9cRAaZRincKVAhyectvrt+lMhLs0BMVX23gzmrWHrdOKgHETkLZIJlwRekNio/JbH+tA=="
test-box-0.cloudapp.net container_name "archives"
test-box-0.cloudapp.net blob_name "placefull.package.7z"
test-box-0.cloudapp.net local_filename "placefull.package.7z"
test-box-0.cloudapp.net end
test-box-0.cloudapp.net
test-box-0.cloudapp.net [2014-06-27T21:05:02+00:00] INFO: Running queued delayed notifications before re-raising exception
test-box-0.cloudapp.net [2014-06-27T21:05:02+00:00] ERROR: Running exception handlers
test-box-0.cloudapp.net [2014-06-27T21:05:02+00:00] ERROR: Exception handlers complete
test-box-0.cloudapp.net [2014-06-27T21:05:02+00:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out
test-box-0.cloudapp.net [2014-06-27T21:05:02+00:00] INFO: Sending resource update report (run-id: 5f397273-ff70-4b95-a2b6-f07397f2f536)
test-box-0.cloudapp.net [2014-06-27T21:05:03+00:00] FATAL: NoMemoryError: microsoft_azure_storage_container[my-node] (windowsapp::default line 25) had an error: NoMemoryError: failed to allocate memory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment