Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started POST "/hosts" for 192.168.200.117 at Wed Sep 19 10:31:50 +0200 2012
- Processing by HostsController#create as
- Parameters: {"capabilities"=>"image", "authenticity_token"=>"6ax+GxxxGJKsyuvB2yJxxxrSNOwG+6wExY=", "utf8"=>"✓", "host"=>{"name"=>"romain", "managed"=>"true", "subnet_id"=>"2", "architecture_id"=>"1", "comment"=>"", "compute_resource_id"=>"29", "compute_attributes"=>{"groups"=>["default"], "subnet_id"=>"vpc-e197008a", "image_id"=>"ami-80cf31e9", "availability_zone"=>"", "flavor_id"=>"m1.small"}, "sp_mac"=>"", "provision_method"=>"image", "overwrite"=>"false", "puppet_proxy_id"=>"2", "puppet_ca_proxy_id"=>"2", "mac"=>"", "domain_id"=>"4", "sp_name"=>"", "hostgroup_id"=>"5", "build"=>"1", "medium_id"=>"6", "root_pass"=>"[FILTERED]", "enabled"=>"1", "ptable_id"=>"6", "is_owned_by"=>"", "environment_id"=>"2", "progress_report_id"=>"[FILTERED]", "ip"=>"", "sp_subnet_id"=>"", "model_id"=>"", "puppetclass_ids"=>[""], "sp_ip"=>"", "disk"=>"", "operatingsystem_id"=>"2"}}`settings`.`name` = 'authorize_login_delegation' ORDER BY LOWER(settings.name) LIMIT 1
- SQL (0.3ms) BEGIN
- SQL (0.4ms) COMMIT
- SQL (0.4ms) BEGIN
- Hostgroup Load (0.5ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` = 5 LIMIT 1
- Environment Load (0.4ms) SELECT `environments`.* FROM `environments` WHERE `environments`.`id` = 2 ORDER BY LOWER(environments.name) LIMIT 1
- Domain Load (0.5ms) SELECT `domains`.* FROM `domains` WHERE `domains`.`id` = 4 ORDER BY LOWER(domains.name) LIMIT 1
- SmartProxy Load (0.5ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 2 ORDER BY LOWER(smart_proxies.name) LIMIT 1
- CACHE (0.0ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 2 ORDER BY LOWER(smart_proxies.name) LIMIT 1
- Operatingsystem Load (0.4ms) SELECT `operatingsystems`.* FROM `operatingsystems` WHERE `operatingsystems`.`id` = 2 ORDER BY LOWER(operatingsystems.name) LIMIT 1
- Medium Load (0.4ms) SELECT `media`.* FROM `media` WHERE `media`.`id` = 6 ORDER BY LOWER(media.name) LIMIT 1
- Architecture Load (0.4ms) SELECT `architectures`.* FROM `architectures` WHERE `architectures`.`id` = 1 LIMIT 1
- Ptable Load (0.5ms) SELECT `ptables`.* FROM `ptables` WHERE `ptables`.`id` = 6 ORDER BY LOWER(ptables.name) LIMIT 1
- Subnet Load (0.4ms) SELECT `subnets`.* FROM `subnets` WHERE `subnets`.`id` = 2 ORDER BY priority LIMIT 1
- Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'use_uuid_for_certificates' ORDER BY LOWER(settings.name) LIMIT 1
- SQL (0.8ms) SELECT 1 FROM `hosts` WHERE (`hosts`.`name` = BINARY 'romain.example.com') LIMIT 1
- SmartProxy Load (0.4ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 3 ORDER BY LOWER(smart_proxies.name) LIMIT 1
- ComputeResource Load (0.5ms) SELECT `compute_resources`.* FROM `compute_resources` WHERE `compute_resources`.`id` = 29 ORDER BY LOWER(compute_resources.name) LIMIT 1
- CACHE (0.0ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 2 ORDER BY LOWER(smart_proxies.name) LIMIT 1
- Scheduling new DNS entries
- CACHE (0.0ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 2 ORDER BY LOWER(smart_proxies.name) LIMIT 1
- CACHE (0.0ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 3 ORDER BY LOWER(smart_proxies.name) LIMIT 1
- Setting Load (0.6ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'manage_puppetca' ORDER BY LOWER(settings.name) LIMIT 1
- CACHE (0.0ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'manage_puppetca' ORDER BY LOWER(settings.name) LIMIT 1
- ConfigTemplate Load (0.4ms) SELECT `config_templates`.* FROM `config_templates` INNER JOIN `config_templates_operatingsystems` ON `config_templates_operatingsystems`.`config_template_id` = `config_templates`.`id` INNER JOIN `operatingsystems` ON `operatingsystems`.`id` = `config_templates_operatingsystems`.`operatingsystem_id` INNER JOIN `template_kinds` ON `template_kinds`.`id` = `config_templates`.`template_kind_id` INNER JOIN `template_combinations` ON `config_templates`.`id` = `template_combinations`.`config_template_id` INNER JOIN `hostgroups` ON `hostgroups`.`id` = `template_combinations`.`hostgroup_id` INNER JOIN `template_combinations` `environments_config_templates_join` ON `config_templates`.`id` = `environments_config_templates_join`.`config_template_id` INNER JOIN `environments` ON `environments`.`id` = `environments_config_templates_join`.`environment_id` WHERE `operatingsystems`.`id` = 2 AND `template_kinds`.`name` = 'finish' AND `hostgroups`.`id` = 5 AND `environments`.`id` = 2 ORDER BY LOWER(config_templates.name) LIMIT 1systems`.`id` = 2 AND `template_kinds`.`name` = 'finish' AND `environments`.`id` = 2 ORDER BY LOWER(config_templates.name) LIMIT 1(`media_operatingsystems`.operatingsystem_id = 2 ) ORDER BY LOWER(media.name) LIMIT 1`architectures` INNER JOIN `architectures_operatingsystems` ON `architectures`.id = `architectures_operatingsystems`.architecture_id WHERE `architectures`.`id` = 1 AND (`architectures_operatingsystems`.operatingsystem_id = 2 ) LIMIT 1
- KeyPair Load (0.4ms) SELECT `key_pairs`.* FROM `key_pairs` WHERE (`key_pairs`.compute_resource_id = 29) LIMIT 1
- PARAMS: {}
- Fog error: The subnet ID 'vpc-e197008a' does not exist
- /opt/foreman/vendor/ruby/1.8/gems/excon-0.15.5/lib/excon/connection.rb:276:in `request_kernel'
- /opt/foreman/vendor/ruby/1.8/gems/excon-0.15.5/lib/excon/connection.rb:105:in `request'
- /opt/foreman/vendor/ruby/1.8/gems/fog-1.5.0/lib/fog/core/connection.rb:20:in `request'
- /opt/foreman/vendor/ruby/1.8/gems/fog-1.5.0/lib/fog/aws/compute.rb:368:in `request'
- /opt/foreman/vendor/ruby/1.8/gems/fog-1.5.0/lib/fog/aws/requests/compute/run_instances.rb:117:in `run_instances'
- /opt/foreman/vendor/ruby/1.8/gems/fog-1.5.0/lib/fog/aws/models/compute/server.rb:182:in `save'
- /opt/foreman/vendor/ruby/1.8/gems/fog-1.5.0/lib/fog/core/collection.rb:50:in `create'
- /opt/foreman/app/models/compute_resource.rb:108:in `create_vm'
- /opt/foreman/lib/foreman/model/ec2.rb:38:in `create_vm'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/associations/association_proxy.rb:227:in `send'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/associations/association_proxy.rb:227:in `method_missing'
- /opt/foreman/app/models/orchestration/compute.rb:59:in `setCompute'
- /opt/foreman/app/models/orchestration.rb:156:in `send'
- /opt/foreman/app/models/orchestration.rb:156:in `execute'
- /opt/foreman/app/models/orchestration.rb:96:in `process'
- /opt/foreman/app/models/orchestration.rb:88:in `each'
- /opt/foreman/app/models/orchestration.rb:88:in `process'
- /opt/foreman/app/models/orchestration.rb:33:in `on_save'
- /opt/foreman/vendor/ruby/1.8/gems/activesupport-3.0.15/lib/active_support/callbacks.rb:515:in `_run_save_callbacks'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/callbacks.rb:273:in `create_or_update'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/persistence.rb:40:in `save'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/validations.rb:43:in `save'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/attribute_methods/dirty.rb:21:in `save'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:240:in `save'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:292:in `with_transaction_returning_status'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:207:in `transaction'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:290:in `with_transaction_returning_status'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:240:in `save'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:251:in `rollback_active_record_state!'
- /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:239:in `save'
- /opt/foreman/app/controllers/hosts_controller.rb:89:in `create'
- /opt/foreman/vendor/ruby/1.8/gems/actionpack-3.0.15/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- /opt/foreman/vendor/ruby/1.8/gems/actionpack-3.0.15/lib/action_controller/metal/implicit_render.
- Rolling back due to a problem: Settings up compute instance romain.example.com 1 failed romain.example.comsetCompute
- SQL (0.5ms) ROLLBACK
- Failed to save:
- Rendered hosts/_progress.erb (0.3ms)
- Hypervisor Load (0.5ms) SELECT `hypervisors`.* FROM `hypervisors` ORDER BY LOWER(hypervisors.name) LIMIT 1
- CACHE (0.0ms) SELECT `hypervisors`.* FROM `hypervisors` ORDER BY LOWER(hypervisors.name) LIMIT 1
- ComputeResource Load (0.5ms) SELECT `compute_resources`.* FROM `compute_resources` ORDER BY LOWER(compute_resources.name)
- Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'entries_per_page' ORDER BY LOWER(settings.name) LIMIT 1
- CACHE (0.0ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'entries_per_page' ORDER BY LOWER(settings.name) LIMIT 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement