Hi, Foreman is not provisioning EC2 instances for me. Could someone please
help me figure out from the log excerpt below exactly what the error is?
Thank you.
···
----------------------------------------------------------------------------------------------------Started POST “/hosts” for 127.0.0.1 at 2014-07-16 10:14:37 -0400
Processing by HostsController#create as /
Parameters: {“utf8”=>“✓”, “authenticity_token”=>“SOMETOKEN”,
“host”=>{“name”=>“provtest.example.com”, “organization_id”=>“2”,
“location_id”=>“4”, “hostgroup_id”=>"", “compute_resource_id”=>“1”,
“compute_profile_id”=>“1”, “environment_id”=>“1”,
“puppet_ca_proxy_id”=>“1”, “puppet_proxy_id”=>“1”, “puppetclass_ids”=>[""],
“managed”=>“true”, “progress_report_id”=>"[FILTERED]",
“type”=>“Host::Managed”, “compute_attributes”=>{“flavor_id”=>“t1.micro”,
“availability_zone”=>“us-east-1a”, “subnet_id”=>"",
“security_group_ids”=>["", “sg-X”], “managed_ip”=>“public”,
“image_id”=>“ami-c07dbaa8”}, “domain_id”=>“1”, “realm_id”=>"", “mac”=>"",
“architecture_id”=>“1”, “operatingsystem_id”=>“2”,
“provision_method”=>“image”, “build”=>“1”, “disk”=>"",
“root_pass”=>"[FILTERED]", “is_owned_by”=>“3-Users”, “enabled”=>“1”,
“comment”=>"", “overwrite”=>“false”}, “capabilities”=>“image”,
“provider”=>“EC2”}
Adding Compute instance for provtest.example.com
Rolling back due to a problem: [Set up compute instance
provtest.example.com 2 failed [#<Host::Managed id: nil, name:
“provtest.example.com”, ip: nil, last_compile: nil, last_freshcheck: nil,
last_report: nil, updated_at: nil, source_file_id: nil, created_at: nil,
mac: nil, root_pass: nil, serial: nil, puppet_status: 0, domain_id: 1,
architecture_id: 1, operatingsystem_id: 2, environment_id: 1, subnet_id:
nil, ptable_id: nil, medium_id: nil, build: true, comment: “”, disk: “”,
installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: 3,
owner_type: “User”, enabled: true, puppet_ca_proxy_id: 1, managed: true,
use_image: nil, image_file: nil, uuid: nil, compute_resource_id: 1,
puppet_proxy_id: 1, certname: nil, image_id: 3, organization_id: 2,
location_id: 4, type: “Host::Managed”, compute_profile_id: 1, otp: nil,
realm_id: nil, provision_method: “image”>, :setCompute]]
Failed to save:
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 (433.0ms)
Rendered puppetclasses/_class_selection.html.erb (457.5ms)
Started GET “/tasks/4b67bbd0-671b-4f3a-85e1-5d36d73b3ff6” for 127.0.0.1 at
2014-07-16 10:14:39 -0400
Processing by TasksController#show as /
Parameters: {“id”=>“4b67bbd0-671b-4f3a-85e1-5d36d73b3ff6”}
Rendered tasks/_list.html.erb (0.5ms)
Completed 200 OK in 4.9ms (Views: 1.1ms | ActiveRecord: 0.2ms)
Started GET “/tasks/4b67bbd0-671b-4f3a-85e1-5d36d73b3ff6” for 127.0.0.1 at
2014-07-16 10:14:41 -0400
Processing by TasksController#show as /
Parameters: {“id”=>“4b67bbd0-671b-4f3a-85e1-5d36d73b3ff6”}
Rendered tasks/_list.html.erb (97.3ms)
Completed 200 OK in 100.9ms (Views: 97.8ms | ActiveRecord: 0.2ms)
Rendered compute_resources_vms/form/_ec2.html.erb (2008.5ms)
Rendered hosts/_compute.html.erb (2265.7ms)
Rendered common/os_selection/_architecture.html.erb (4.1ms)
Rendered common/os_selection/_operatingsystem.html.erb (39.0ms)
Rendered hosts/_operating_system.html.erb (47.9ms)
Rendered hosts/_unattended.html.erb (2322.9ms)
Rendered puppetclasses/_class_parameters.html.erb (0.0ms)
Rendered puppetclasses/_classes_parameters.html.erb (4.8ms)
Rendered common_parameters/_inherited_parameters.html.erb (6.7ms)
Rendered common_parameters/_puppetclass_parameter.html.erb (1.8ms)
Rendered common_parameters/_puppetclasses_parameters.html.erb (2.8ms)
Rendered common_parameters/_parameter.html.erb (1.2ms)
Rendered common_parameters/_parameters.html.erb (2.8ms)
Rendered hosts/_form.html.erb (2862.7ms)
Rendered hosts/new.html.erb within layouts/application (2863.2ms)
Rendered home/_user_dropdown.html.erb (1.2ms)
Read fragment views/tabs_and_title_records-3 0.1ms
Rendered home/_topbar.html.erb (2.2ms)
Rendered layouts/base.html.erb (3.7ms)
Completed 200 OK in 3608.7ms (Views: 2860.5ms | ActiveRecord: 10.3ms)
Started GET “/tasks/4b67bbd0-671b-4f3a-85e1-5d36d73b3ff6” for 127.0.0.1 at
2014-07-16 10:14:42 -0400
Processing by TasksController#show as /
Parameters: {“id”=>“4b67bbd0-671b-4f3a-85e1-5d36d73b3ff6”}
Rendered tasks/_list.html.erb (0.4ms)
Completed 200 OK in 4.3ms (Views: 1.0ms | ActiveRecord: 0.2ms)