Started POST "/hosts/process_hostgroup" for 77.76.226.124 at 2015-03-30 15:00:13 +0200 Processing by HostsController#process_hostgroup as */* Parameters: {"utf8"=>"✓", "authenticity_token"=>"Gap/FpdDZCA1TfSQgCdLcX2hSaG4EXZ8Z7IT75rCqQ0=", "host"=>{"name"=>"foo", "hostgroup_id"=>"1", "compute_resource_id"=>"", "compute_profile_id"=>"", "environment_id"=>"", "puppet_ca_proxy_id"=>"", "puppet_proxy_id"=>"", "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "domain_id"=>"", "realm_id"=>"", "mac"=>"", "ip"=>"", "interfaces_attributes"=>{"new_interfaces"=>{"_destroy"=>"false", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"", "domain_id"=>"", "subnet_id"=>"", "ip"=>"", "managed"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>""}}, "architecture_id"=>"", "provision_method"=>"build", "build"=>"1", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "model_id"=>"", "comment"=>"", "overwrite"=>"false"}, "fakepassword"=>"[FILTERED]"} Rendered hosts/_progress.html.erb (0.3ms) Rendered puppetclasses/_selectedClasses.html.erb (0.0ms) Rendered puppetclasses/_classes_in_groups.html.erb (0.0ms) Rendered puppetclasses/_classes.html.erb (9.4ms) Rendered puppetclasses/_class_selection.html.erb (120.3ms) Rendered common/_domain.html.erb (29.4ms) Rendered nic/_base_form.html.erb (19.0ms) Rendered nic/_virtual_form.html.erb (1.1ms) Rendered nic/manageds/_managed.html.erb (22.1ms) Rendered common/os_selection/_architecture.html.erb (4.1ms) Rendered common/os_selection/_operatingsystem.html.erb (36.7ms) Rendered hosts/_operating_system.html.erb (56.2ms) Rendered hosts/_unattended.html.erb (132.2ms) Rendered puppetclasses/_class_parameters.html.erb (0.0ms) Rendered puppetclasses/_classes_parameters.html.erb (8.8ms) Rendered common_parameters/_inherited_parameters.html.erb (0.2ms) Rendered common_parameters/_puppetclass_parameter.html.erb (15.0ms) Rendered common_parameters/_puppetclasses_parameters.html.erb (16.5ms) Rendered common_parameters/_parameter.html.erb (7.4ms) Rendered common_parameters/_parameters.html.erb (9.8ms) Rendered hosts/_form.html.erb (695.1ms) Completed 200 OK in 768.1ms (Views: 540.0ms | ActiveRecord: 182.7ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started POST "/hosts/compute_resource_selected" for 77.76.226.124 at 2015-03-30 15:00:18 +0200 Processing by HostsController#compute_resource_selected as */* Parameters: {"utf8"=>"✓", "authenticity_token"=>"Gap/FpdDZCA1TfSQgCdLcX2hSaG4EXZ8Z7IT75rCqQ0=", "host"=>{"name"=>"foo", "hostgroup_id"=>"1", "compute_resource_id"=>"3", "compute_profile_id"=>"", "environment_id"=>"10", "puppet_ca_proxy_id"=>"", "puppet_proxy_id"=>"", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "domain_id"=>"1", "realm_id"=>"", "mac"=>"", "subnet_id"=>"1", "ip"=>"", "interfaces_attributes"=>{"new_interfaces"=>{"_destroy"=>"false", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"", "domain_id"=>"", "subnet_id"=>"", "ip"=>"", "managed"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>""}}, "architecture_id"=>"1", "operatingsystem_id"=>"1", "provision_method"=>"build", "build"=>"1", "medium_id"=>"", "ptable_id"=>"", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "model_id"=>"", "comment"=>"", "overwrite"=>"false"}, "fakepassword"=>"[FILTERED]"} Successfully decrypted field for Foreman::Model::Vmware Berlin Creating scope :completer_scope. Overwriting existing method Organization.completer_scope. Creating scope :completer_scope. Overwriting existing method Location.completer_scope. Started POST "/hosts/compute_resource_selected" for 77.76.226.124 at 2015-03-30 15:00:22 +0200 Processing by HostsController#compute_resource_selected as */* Parameters: {"utf8"=>"✓", "authenticity_token"=>"Gap/FpdDZCA1TfSQgCdLcX2hSaG4EXZ8Z7IT75rCqQ0=", "host"=>{"name"=>"foo", "hostgroup_id"=>"1", "compute_resource_id"=>"3", "compute_profile_id"=>"5", "environment_id"=>"10", "puppet_ca_proxy_id"=>"", "puppet_proxy_id"=>"", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "domain_id"=>"1", "realm_id"=>"", "mac"=>"", "subnet_id"=>"1", "ip"=>"", "interfaces_attributes"=>{"new_interfaces"=>{"_destroy"=>"false", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"", "domain_id"=>"", "subnet_id"=>"", "ip"=>"", "managed"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>""}}, "architecture_id"=>"1", "operatingsystem_id"=>"1", "provision_method"=>"build", "build"=>"1", "medium_id"=>"", "ptable_id"=>"", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "model_id"=>"", "comment"=>"", "overwrite"=>"false"}, "fakepassword"=>"[FILTERED]"} Successfully decrypted field for Foreman::Model::Vmware Berlin Rendered compute_resources_vms/form/vmware/_network.html.erb (1622.0ms) Rendered compute_resources_vms/form/vmware/_network.html.erb (1636.8ms) Rendered compute_resources_vms/form/vmware/_network.html.erb (1492.8ms) Rendered compute_resources_vms/form/vmware/_volume.html.erb (2503.2ms) Rendered compute_resources_vms/form/vmware/_network.html.erb (1725.5ms) Rendered compute_resources_vms/form/vmware/_volume.html.erb (2406.3ms) Rendered compute_resources_vms/form/_vmware.html.erb (10991.8ms) Rendered hosts/_compute.html.erb (11579.4ms) Completed 200 OK in 11604.1ms (Views: 11579.9ms | ActiveRecord: 11.0ms) Started GET "/compute_resources/3/images?search=operatingsystem%3D1%20architecture%3D1" for 77.76.226.124 at 2015-03-30 15:00:29 +0200 Processing by ImagesController#index as JSON Parameters: {"search"=>"operatingsystem=1 architecture=1", "compute_resource_id"=>"3"} Completed 200 OK in 241.6ms (Views: 202.4ms | ActiveRecord: 19.5ms) Rendered compute_resources_vms/form/vmware/_volume.html.erb (2489.4ms) Rendered compute_resources_vms/form/vmware/_volume.html.erb (2337.7ms) Rendered compute_resources_vms/form/_vmware.html.erb (10767.3ms) Rendered hosts/_compute.html.erb (11392.2ms) Completed 200 OK in 11429.9ms (Views: 11392.6ms | ActiveRecord: 2.4ms) Started GET "/compute_resources/3/images?search=operatingsystem%3D1%20architecture%3D1" for 77.76.226.124 at 2015-03-30 15:00:33 +0200 Processing by ImagesController#index as JSON Parameters: {"search"=>"operatingsystem=1 architecture=1", "compute_resource_id"=>"3"} Completed 200 OK in 14.5ms (Views: 3.1ms | ActiveRecord: 1.0ms) Started POST "/hosts/template_used?provisioning=image" for 77.76.226.124 at 2015-03-30 15:00:38 +0200 Processing by HostsController#template_used as */* Parameters: {"utf8"=>"✓", "authenticity_token"=>"Gap/FpdDZCA1TfSQgCdLcX2hSaG4EXZ8Z7IT75rCqQ0=", "host"=>{"name"=>"foo", "hostgroup_id"=>"1", "compute_resource_id"=>"3", "compute_profile_id"=>"5", "environment_id"=>"10", "puppet_ca_proxy_id"=>"", "puppet_proxy_id"=>"", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "compute_attributes"=>{"cpus"=>"1", "corespersocket"=>"1", "memory_mb"=>"1024", "cluster"=>"VMCLUSTER", "path"=>"/Datencenter/Berlin/vm/Test/foreman/vms", "guest_id"=>"ubuntu64Guest", "hardware_version"=>"Default", "interfaces_attributes"=>{"new_interfaces"=>{"type"=>"VirtualE1000", "network"=>"network-56", "_delete"=>""}, "0"=>{"type"=>"VirtualE1000", "network"=>"network-62", "_delete"=>""}}, "volumes_attributes"=>{"new_volumes"=>{"datastore"=>"VMDATASTORE", "name"=>"Hard disk", "size_gb"=>"10", "thin"=>"true", "eager_zero"=>"false", "_delete"=>""}, "0"=>{"datastore"=>"esx-r10_14", "name"=>"Hard disk", "size_gb"=>"10", "thin"=>"true", "eager_zero"=>"false", "_delete"=>""}}, "scsi_controller_type"=>"VirtualLsiLogicController", "start"=>"1", "image_id"=>"aaa_Templates/foreman-trusty-image-01"}, "domain_id"=>"1", "realm_id"=>"", "mac"=>"", "subnet_id"=>"1", "ip"=>"10.1.211.123", "interfaces_attributes"=>{"new_interfaces"=>{"_destroy"=>"false", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"", "domain_id"=>"", "subnet_id"=>"", "ip"=>"", "managed"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>""}}, "architecture_id"=>"1", "operatingsystem_id"=>"1", "provision_method"=>"image", "build"=>"1", "medium_id"=>"", "ptable_id"=>"", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "model_id"=>"", "comment"=>"", "overwrite"=>"false"}, "capabilities"=>"build image", "provider"=>"Vmware", "fakepassword"=>"[FILTERED]", "provisioning"=>"image"} Rendered hosts/_provisioning.html.erb (7.2ms) Completed 200 OK in 125.9ms (Views: 20.3ms | ActiveRecord: 38.3ms) Started POST "/hosts" for 77.76.226.124 at 2015-03-30 15:01:00 +0200 Processing by HostsController#create as */* Parameters: {"utf8"=>"✓", "authenticity_token"=>"Gap/FpdDZCA1TfSQgCdLcX2hSaG4EXZ8Z7IT75rCqQ0=", "host"=>{"name"=>"foo", "hostgroup_id"=>"1", "compute_resource_id"=>"3", "compute_profile_id"=>"5", "environment_id"=>"10", "puppet_ca_proxy_id"=>"", "puppet_proxy_id"=>"", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "compute_attributes"=>{"cpus"=>"1", "corespersocket"=>"1", "memory_mb"=>"1024", "cluster"=>"VMCLUSTER", "path"=>"/Datencenter/Berlin/vm/Test/foreman/vms", "guest_id"=>"ubuntu64Guest", "hardware_version"=>"Default", "interfaces_attributes"=>{"new_interfaces"=>{"type"=>"VirtualE1000", "network"=>"network-56", "_delete"=>""}, "0"=>{"type"=>"VirtualE1000", "network"=>"network-62", "_delete"=>""}}, "volumes_attributes"=>{"new_volumes"=>{"datastore"=>"VMDATASTORE", "name"=>"Hard disk", "size_gb"=>"10", "thin"=>"true", "eager_zero"=>"false", "_delete"=>""}, "0"=>{"datastore"=>"esx-r10_14", "name"=>"Hard disk", "size_gb"=>"10", "thin"=>"true", "eager_zero"=>"false", "_delete"=>""}}, "scsi_controller_type"=>"VirtualLsiLogicController", "start"=>"1", "image_id"=>"aaa_Templates/foreman-trusty-image-01"}, "domain_id"=>"1", "realm_id"=>"", "mac"=>"", "subnet_id"=>"1", "ip"=>"10.1.211.123", "interfaces_attributes"=>{"new_interfaces"=>{"_destroy"=>"false", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"", "domain_id"=>"", "subnet_id"=>"", "ip"=>"", "managed"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>""}}, "architecture_id"=>"1", "operatingsystem_id"=>"1", "provision_method"=>"image", "build"=>"1", "medium_id"=>"", "ptable_id"=>"", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "model_id"=>"", "comment"=>"", "overwrite"=>"false"}, "capabilities"=>"build image", "provider"=>"Vmware"} Adding Compute instance for foo.sub.domain.tld Successfully decrypted field for Foreman::Model::Vmware Berlin Successfully decrypted field for Foreman::Model::Vmware Berlin Successfully decrypted field for Foreman::Model::Vmware Berlin Started GET "/tasks/37311e27-ff9f-46ee-9605-801aa1d8a563" for 77.76.226.124 at 2015-03-30 15:01:01 +0200 Processing by TasksController#show as */* Parameters: {"id"=>"37311e27-ff9f-46ee-9605-801aa1d8a563"} Rendered tasks/_list.html.erb (0.8ms) Completed 200 OK in 12.5ms (Views: 1.9ms | ActiveRecord: 0.5ms) Failed to create a compute Berlin (VMWare) instance foo.sub.domain.tld : undefined method `[]' for nil:NilClass /usr/share/foreman/app/models/compute_resources/foreman/model/vmware.rb:352:in `clone_vm' /usr/share/foreman/app/models/compute_resources/foreman/model/vmware.rb:315:in `create_vm' /usr/share/foreman/app/models/concerns/orchestration/compute.rb:74:in `setCompute' /usr/share/foreman/app/models/concerns/orchestration.rb:137:in `execute' /usr/share/foreman/app/models/concerns/orchestration.rb:85:in `block in process' /usr/share/foreman/app/models/concerns/orchestration.rb:77:in `each' /usr/share/foreman/app/models/concerns/orchestration.rb:77:in `process' /usr/share/foreman/app/models/concerns/orchestration.rb:18:in `on_save' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:671:in `_run__1429892611355973034__save__4264797485056356534__callbacks' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_save_callbacks' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/callbacks.rb:264:in `create_or_update' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/persistence.rb:84:in `save' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/validations.rb:50:in `save' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/attribute_methods/dirty.rb:22:in `save' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/transactions.rb:259:in `block (2 levels) in save' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/transactions.rb:208:in `transaction' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/transactions.rb:259:in `block in save' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/transactions.rb:258:in `save' /usr/share/foreman/app/models/concerns/foreman/sti.rb:29:in `save_with_type' /usr/share/foreman/app/controllers/hosts_controller.rb:83:in `create' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/abstract_controller/base.rb:167:in `process_action' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_controller/metal/rendering.rb:10:in `process_action' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:604:in `block (3 levels) in _run__3143794820729974421__process_action__4463344883553371928__callbacks' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7245' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:326:in `around' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:310:in `_callback_around_1233' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7245' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:603:in `block (2 levels) in _run__3143794820729974421__process_action__4463344883553371928__callbacks' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7244' /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:33:in `clear_thread' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7244' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:426:in `block in _run__3143794820729974421__process_action__4463344883553371928__callbacks' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7243' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:326:in `around' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:310:in `_callback_around_13' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7243' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:414:in `_run__3143794820729974421__process_action__4463344883553371928__callbacks' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/abstract_controller/callbacks.rb:17:in `process_action' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_controller/metal/rescue.rb:29:in `process_action' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/notifications.rb:123:in `block in instrument' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/notifications.rb:123:in `instrument' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/abstract_controller/base.rb:121:in `process' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/abstract_controller/rendering.rb:45:in `process' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_controller/metal.rb:203:in `dispatch' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_controller/metal.rb:246:in `block in action' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:73:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:36:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' /usr/share/foreman/vendor/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' /usr/share/foreman/vendor/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:608:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/apipie-rails-0.2.6/lib/apipie/static_dispatcher.rb:65:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:35:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/middleware/head.rb:14:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/middleware/flash.rb:242:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/middleware/cookies.rb:341:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/query_cache.rb:64:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `_run__1016076252698760240__call__4264797485056356534__callbacks' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/railties-3.2.21/lib/rails/rack/logger.rb:32:in `call_app' /usr/share/foreman/vendor/ruby/1.9.1/gems/railties-3.2.21/lib/rails/rack/logger.rb:16:in `block in call' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/tagged_logging.rb:22:in `tagged' /usr/share/foreman/vendor/ruby/1.9.1/gems/railties-3.2.21/lib/rails/rack/logger.rb:16:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/middleware/request_id.rb:22:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.21/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/actionpack-3.2.21/lib/action_dispatch/middleware/static.rb:83:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/railties-3.2.21/lib/rails/engine.rb:484:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/railties-3.2.21/lib/rails/application.rb:231:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/railties-3.2.21/lib/rails/railtie/configurable.rb:30:in `method_missing' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:134:in `call' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/urlmap.rb:64:in `block in call' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `each' /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `call' /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:142:in `accept_and_process_next_request' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:448:in `block (3 levels) in start_threads' Rolling back due to a problem: [Set up compute instance foo.sub.domain.tld 2 failed [#, :setCompute]] Failed to save: Failed to create a compute Berlin (VMWare) instance foo.sub.domain.tld : undefined method `[]' for nil:NilClass Rendered hosts/_progress.html.erb (0.1ms) Rendered puppetclasses/_selectedClasses.html.erb (0.0ms) Rendered puppetclasses/_classes_in_groups.html.erb (0.0ms) Rendered puppetclasses/_classes.html.erb (3.0ms) Rendered puppetclasses/_class_selection.html.erb (50.7ms) Started GET "/tasks/37311e27-ff9f-46ee-9605-801aa1d8a563" for 77.76.226.124 at 2015-03-30 15:01:03 +0200 Processing by TasksController#show as */* Parameters: {"id"=>"37311e27-ff9f-46ee-9605-801aa1d8a563"} Rendered tasks/_list.html.erb (0.7ms) Completed 200 OK in 5.1ms (Views: 1.2ms | ActiveRecord: 0.4ms) Started GET "/tasks/37311e27-ff9f-46ee-9605-801aa1d8a563" for 77.76.226.124 at 2015-03-30 15:01:05 +0200 Processing by TasksController#show as */* Parameters: {"id"=>"37311e27-ff9f-46ee-9605-801aa1d8a563"} Rendered tasks/_list.html.erb (0.6ms) Completed 200 OK in 5.6ms (Views: 1.2ms | ActiveRecord: 0.5ms) Started GET "/tasks/37311e27-ff9f-46ee-9605-801aa1d8a563" for 77.76.226.124 at 2015-03-30 15:01:06 +0200 Processing by TasksController#show as */* Parameters: {"id"=>"37311e27-ff9f-46ee-9605-801aa1d8a563"} Rendered tasks/_list.html.erb (0.5ms) Completed 200 OK in 4.4ms (Views: 1.1ms | ActiveRecord: 0.3ms) Rendered compute_resources_vms/form/vmware/_network.html.erb (1623.1ms) Started GET "/tasks/37311e27-ff9f-46ee-9605-801aa1d8a563" for 77.76.226.124 at 2015-03-30 15:01:08 +0200 Processing by TasksController#show as */* Parameters: {"id"=>"37311e27-ff9f-46ee-9605-801aa1d8a563"} Rendered tasks/_list.html.erb (0.6ms) Completed 200 OK in 4.6ms (Views: 1.1ms | ActiveRecord: 0.3ms) Rendered compute_resources_vms/form/vmware/_network.html.erb (1623.4ms) Started GET "/tasks/37311e27-ff9f-46ee-9605-801aa1d8a563" for 77.76.226.124 at 2015-03-30 15:01:10 +0200 Processing by TasksController#show as */* Parameters: {"id"=>"37311e27-ff9f-46ee-9605-801aa1d8a563"} Rendered tasks/_list.html.erb (2.0ms) Completed 200 OK in 10.5ms (Views: 4.0ms | ActiveRecord: 0.6ms) Started GET "/tasks/37311e27-ff9f-46ee-9605-801aa1d8a563" for 77.76.226.124 at 2015-03-30 15:01:11 +0200 Processing by TasksController#show as */* Parameters: {"id"=>"37311e27-ff9f-46ee-9605-801aa1d8a563"} Rendered tasks/_list.html.erb (0.5ms) Completed 200 OK in 4.0ms (Views: 0.9ms | ActiveRecord: 0.3ms) Rendered compute_resources_vms/form/vmware/_volume.html.erb (2374.9ms) Started GET "/tasks/37311e27-ff9f-46ee-9605-801aa1d8a563" for 77.76.226.124 at 2015-03-30 15:01:13 +0200 Processing by TasksController#show as */* Parameters: {"id"=>"37311e27-ff9f-46ee-9605-801aa1d8a563"} Rendered tasks/_list.html.erb (0.5ms) Completed 200 OK in 4.4ms (Views: 1.1ms | ActiveRecord: 0.3ms) Rendered compute_resources_vms/form/vmware/_volume.html.erb (2517.0ms) Rendered compute_resources_vms/form/_vmware.html.erb (11022.8ms) Rendered hosts/_compute.html.erb (11027.2ms) Rendered common/_domain.html.erb (10.8ms) Rendered nic/_base_form.html.erb (7.7ms) Rendered nic/_virtual_form.html.erb (0.9ms) Rendered nic/manageds/_managed.html.erb (10.4ms) Rendered common/os_selection/_architecture.html.erb (3.5ms) Rendered common/os_selection/_operatingsystem.html.erb (15.5ms) Rendered hosts/_operating_system.html.erb (24.5ms) Rendered hosts/_unattended.html.erb (11081.7ms) Rendered puppetclasses/_class_parameters.html.erb (0.0ms) Rendered puppetclasses/_classes_parameters.html.erb (9.2ms) Rendered common_parameters/_inherited_parameters.html.erb (0.1ms) Rendered common_parameters/_puppetclass_parameter.html.erb (3.1ms) Rendered common_parameters/_puppetclasses_parameters.html.erb (4.6ms) Rendered common_parameters/_parameter.html.erb (1.7ms) Rendered common_parameters/_parameters.html.erb (3.9ms) Rendered hosts/_form.html.erb (11247.9ms) Rendered hosts/new.html.erb within layouts/application (11249.1ms) Rendered home/_user_dropdown.html.erb (9.2ms) Read fragment views/tabs_and_title_records-4 0.2ms Rendered home/_org_switcher.html.erb (0.1ms) Rendered home/_submenu.html.erb (5.5ms) Rendered home/_submenu.html.erb (6.4ms) Rendered home/_submenu.html.erb (5.2ms) Rendered home/_submenu.html.erb (4.8ms) Rendered home/_submenu.html.erb (5.5ms) Write fragment views/tabs_and_title_records-4 2.2ms Rendered home/_topbar.html.erb (46.4ms) Rendered layouts/base.html.erb (70.7ms) Completed 200 OK in 14512.2ms (Views: 11416.4ms | ActiveRecord: 33.2ms) Started GET "/tasks/37311e27-ff9f-46ee-9605-801aa1d8a563" for 77.76.226.124 at 2015-03-30 15:01:15 +0200 Processing by TasksController#show as */* Parameters: {"id"=>"37311e27-ff9f-46ee-9605-801aa1d8a563"} Rendered tasks/_list.html.erb (0.6ms) Completed 200 OK in 5.9ms (Views: 1.3ms | ActiveRecord: 0.5ms)