--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: http://user:pass@www.example.com:80/transactions.json body: headers: content-type: - application/json authorization: - Basic WHAT response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-ua-compatible: - IE=Edge,chrome=1 etag: - "\"1b05f8bc579a80d7fee0591936ab4ae4\"" x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 x-runtime: - "26.181226" server: - Apache/2.2.3 (CentOS) date: - Tue, 03 May 2011 18:03:40 GMT set-cookie: - _onapp_session=WHAT; path=/; HttpOnly status: - "200" cache-control: - max-age=0, private, must-revalidate transfer-encoding: - chunked body: "[{\"transaction\":{\"pid\":2180,\"created_at\":\"2011-05-03T13:56:42Z\",\"actor\":null,\"updated_at\":\"2011-05-03T13:56:57Z\",\"action\":\"startup_virtual_machine\",\"parent_type\":\"VirtualMachine\",\"priority\":10,\"id\":3,\"allowed_cancel\":true,\"dependent_transaction_id\":null,\"user_id\":2,\"parent_id\":1,\"log_output\":\"System Error ('undefined method `ip_addresses' for nil:NilClass')\\n./lib/transactions/startup_virtual_machine.rb:42:in `execute'\\n./lib/transactions/base.rb:35:in `run!'\\n/onapp/interface/app/models/transaction.rb:131:in `run'\\n./lib/servers/transaction_runner.rb:7:in `run'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/relation.rb:13:in `each'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/relation.rb:13:in `__send__'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/relation.rb:13:in `each'\\n./lib/servers/transaction_runner.rb:5:in `run'\\n./lib/servers/loopable_runner.rb:48:in `execute!'\\n./lib/servers/loopable_runner.rb:47:in `loop'\\n./lib/servers/loopable_runner.rb:47:in `execute!'\\n/onapp/interface/lib/tasks/servers.rake:37\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'\\n/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31\\n/usr/bin/rake:19:in `load'\\n/usr/bin/rake:19\",\"params\":{},\"identifier\":\"7z2gzavnrhmmt3\",\"status\":\"failed\"}},{\"transaction\":{\"pid\":2178,\"created_at\":\"2011-04-29T15:54:28Z\",\"actor\":null,\"updated_at\":\"2011-04-29T15:54:39Z\",\"action\":\"destroy_virtual_machine\",\"parent_type\":\"VirtualMachine\",\"priority\":10,\"id\":2,\"allowed_cancel\":true,\"dependent_transaction_id\":null,\"user_id\":2,\"parent_id\":2,\"log_output\":\"System Error ('undefined method `*' for nil:NilClass')\\n/onapp/interface/app/models/resource/cpu_share.rb:79:in `store_billing_stat!'\\n/onapp/interface/app/models/user/billing_stats.rb:16:in `store_vm_billing_stats!'\\n/onapp/interface/app/models/user/billing_stats.rb:12:in `each'\\n/onapp/interface/app/models/user/billing_stats.rb:12:in `store_vm_billing_stats!'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/associations/association_proxy.rb:218:in `send'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/associations/association_proxy.rb:218:in `method_missing'\\n/onapp/interface/app/models/virtual_machine.rb:533:in `store_vm_billing_stats'\\n/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/callbacks.rb:484:in `_run_destroy_callbacks'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/callbacks.rb:260:in `destroy'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/transactions.rb:235:in `destroy'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/transactions.rb:292:in `with_transaction_returning_status'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/transactions.rb:207:in `transaction'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/transactions.rb:290:in `with_transaction_returning_status'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/transactions.rb:235:in `destroy'\\n/onapp/interface/app/models/virtual_machine.rb:462:in `destroy'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/associations/association_proxy.rb:218:in `send'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/associations/association_proxy.rb:218:in `method_missing'\\n./lib/transactions/destroy_virtual_machine.rb:63:in `execute'\\n./lib/transactions/base.rb:35:in `run!'\\n/onapp/interface/app/models/transaction.rb:131:in `run'\\n./lib/servers/transaction_runner.rb:7:in `run'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/relation.rb:13:in `each'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/relation.rb:13:in `__send__'\\n/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.5/lib/active_record/relation.rb:13:in `each'\\n./lib/servers/transaction_runner.rb:5:in `run'\\n./lib/servers/loopable_runner.rb:48:in `execute!'\\n./lib/servers/loopable_runner.rb:47:in `loop'\\n./lib/servers/loopable_runner.rb:47:in `execute!'\\n/onapp/interface/lib/tasks/servers.rake:37\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'\\n/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'\\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31\\n/usr/bin/rake:19:in `load'\\n/usr/bin/rake:19\",\"params\":{},\"identifier\":\"asdfasdfdas\",\"status\":\"failed\"}},{\"transaction\":{\"pid\":2180,\"created_at\":\"2011-04-28T15:31:22Z\",\"actor\":null,\"updated_at\":\"2011-04-28T15:31:27Z\",\"action\":\"reset_root_password\",\"parent_type\":\"VirtualMachine\",\"priority\":10,\"id\":1,\"allowed_cancel\":true,\"dependent_transaction_id\":null,\"user_id\":2,\"parent_id\":1,\"log_output\":\"\",\"params\":{\"new_password\":null},\"identifier\":\"7z2gzavnrhmmt3\",\"status\":\"complete\"}}]" http_version: "1.1"