Advertisement
Guest User

Untitled

a guest
Sep 19th, 2012
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.28 KB | None | 0 0
  1. Started POST "/hosts" for 192.168.200.117 at Wed Sep 19 10:31:50 +0200 2012
  2. Processing by HostsController#create as
  3. 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
  4. SQL (0.3ms) BEGIN
  5. SQL (0.4ms) COMMIT
  6. SQL (0.4ms) BEGIN
  7. Hostgroup Load (0.5ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` = 5 LIMIT 1
  8. Environment Load (0.4ms) SELECT `environments`.* FROM `environments` WHERE `environments`.`id` = 2 ORDER BY LOWER(environments.name) LIMIT 1
  9. Domain Load (0.5ms) SELECT `domains`.* FROM `domains` WHERE `domains`.`id` = 4 ORDER BY LOWER(domains.name) LIMIT 1
  10. SmartProxy Load (0.5ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 2 ORDER BY LOWER(smart_proxies.name) LIMIT 1
  11. CACHE (0.0ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 2 ORDER BY LOWER(smart_proxies.name) LIMIT 1
  12. Operatingsystem Load (0.4ms) SELECT `operatingsystems`.* FROM `operatingsystems` WHERE `operatingsystems`.`id` = 2 ORDER BY LOWER(operatingsystems.name) LIMIT 1
  13. Medium Load (0.4ms) SELECT `media`.* FROM `media` WHERE `media`.`id` = 6 ORDER BY LOWER(media.name) LIMIT 1
  14. Architecture Load (0.4ms) SELECT `architectures`.* FROM `architectures` WHERE `architectures`.`id` = 1 LIMIT 1
  15. Ptable Load (0.5ms) SELECT `ptables`.* FROM `ptables` WHERE `ptables`.`id` = 6 ORDER BY LOWER(ptables.name) LIMIT 1
  16. Subnet Load (0.4ms) SELECT `subnets`.* FROM `subnets` WHERE `subnets`.`id` = 2 ORDER BY priority LIMIT 1
  17. Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'use_uuid_for_certificates' ORDER BY LOWER(settings.name) LIMIT 1
  18. SQL (0.8ms) SELECT 1 FROM `hosts` WHERE (`hosts`.`name` = BINARY 'romain.example.com') LIMIT 1
  19. SmartProxy Load (0.4ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 3 ORDER BY LOWER(smart_proxies.name) LIMIT 1
  20. ComputeResource Load (0.5ms) SELECT `compute_resources`.* FROM `compute_resources` WHERE `compute_resources`.`id` = 29 ORDER BY LOWER(compute_resources.name) LIMIT 1
  21. CACHE (0.0ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 2 ORDER BY LOWER(smart_proxies.name) LIMIT 1
  22. Scheduling new DNS entries
  23. CACHE (0.0ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 2 ORDER BY LOWER(smart_proxies.name) LIMIT 1
  24. CACHE (0.0ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 3 ORDER BY LOWER(smart_proxies.name) LIMIT 1
  25. Setting Load (0.6ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'manage_puppetca' ORDER BY LOWER(settings.name) LIMIT 1
  26. CACHE (0.0ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'manage_puppetca' ORDER BY LOWER(settings.name) LIMIT 1
  27. 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
  28. KeyPair Load (0.4ms) SELECT `key_pairs`.* FROM `key_pairs` WHERE (`key_pairs`.compute_resource_id = 29) LIMIT 1
  29. PARAMS: {}
  30. Fog error: The subnet ID 'vpc-e197008a' does not exist
  31. /opt/foreman/vendor/ruby/1.8/gems/excon-0.15.5/lib/excon/connection.rb:276:in `request_kernel'
  32. /opt/foreman/vendor/ruby/1.8/gems/excon-0.15.5/lib/excon/connection.rb:105:in `request'
  33. /opt/foreman/vendor/ruby/1.8/gems/fog-1.5.0/lib/fog/core/connection.rb:20:in `request'
  34. /opt/foreman/vendor/ruby/1.8/gems/fog-1.5.0/lib/fog/aws/compute.rb:368:in `request'
  35. /opt/foreman/vendor/ruby/1.8/gems/fog-1.5.0/lib/fog/aws/requests/compute/run_instances.rb:117:in `run_instances'
  36. /opt/foreman/vendor/ruby/1.8/gems/fog-1.5.0/lib/fog/aws/models/compute/server.rb:182:in `save'
  37. /opt/foreman/vendor/ruby/1.8/gems/fog-1.5.0/lib/fog/core/collection.rb:50:in `create'
  38. /opt/foreman/app/models/compute_resource.rb:108:in `create_vm'
  39. /opt/foreman/lib/foreman/model/ec2.rb:38:in `create_vm'
  40. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/associations/association_proxy.rb:227:in `send'
  41. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/associations/association_proxy.rb:227:in `method_missing'
  42. /opt/foreman/app/models/orchestration/compute.rb:59:in `setCompute'
  43. /opt/foreman/app/models/orchestration.rb:156:in `send'
  44. /opt/foreman/app/models/orchestration.rb:156:in `execute'
  45. /opt/foreman/app/models/orchestration.rb:96:in `process'
  46. /opt/foreman/app/models/orchestration.rb:88:in `each'
  47. /opt/foreman/app/models/orchestration.rb:88:in `process'
  48. /opt/foreman/app/models/orchestration.rb:33:in `on_save'
  49. /opt/foreman/vendor/ruby/1.8/gems/activesupport-3.0.15/lib/active_support/callbacks.rb:515:in `_run_save_callbacks'
  50. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/callbacks.rb:273:in `create_or_update'
  51. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/persistence.rb:40:in `save'
  52. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/validations.rb:43:in `save'
  53. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/attribute_methods/dirty.rb:21:in `save'
  54. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:240:in `save'
  55. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:292:in `with_transaction_returning_status'
  56. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
  57. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:207:in `transaction'
  58. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:290:in `with_transaction_returning_status'
  59. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:240:in `save'
  60. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:251:in `rollback_active_record_state!'
  61. /opt/foreman/vendor/ruby/1.8/gems/activerecord-3.0.15/lib/active_record/transactions.rb:239:in `save'
  62. /opt/foreman/app/controllers/hosts_controller.rb:89:in `create'
  63. /opt/foreman/vendor/ruby/1.8/gems/actionpack-3.0.15/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
  64. /opt/foreman/vendor/ruby/1.8/gems/actionpack-3.0.15/lib/action_controller/metal/implicit_render.
  65.  
  66. Rolling back due to a problem: Settings up compute instance romain.example.com 1 failed romain.example.comsetCompute
  67. SQL (0.5ms) ROLLBACK
  68. Failed to save:
  69. Rendered hosts/_progress.erb (0.3ms)
  70. Hypervisor Load (0.5ms) SELECT `hypervisors`.* FROM `hypervisors` ORDER BY LOWER(hypervisors.name) LIMIT 1
  71. CACHE (0.0ms) SELECT `hypervisors`.* FROM `hypervisors` ORDER BY LOWER(hypervisors.name) LIMIT 1
  72. ComputeResource Load (0.5ms) SELECT `compute_resources`.* FROM `compute_resources` ORDER BY LOWER(compute_resources.name)
  73. Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'entries_per_page' ORDER BY LOWER(settings.name) LIMIT 1
  74. 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