Foreman don't regonize

I have installed the foreman in vers "to 1.5.2, now added the foreman in
vsphere already signed up an image on the computer resource, but do not know how
to point the path relative, I've tried everything en" when you pull the
templates that exist in vmware.

When I click the button resolv he's the foreman seuinte error in the log:

Started POST "/hosts/template_used?provisioning=image" for 10.X.X.X at
2014-08-08 15:38:07 -0300Processing by HostsController#template_used as
/ Parameters: {"utf8"=>"✓",
"authenticity_token"=>"8Y6686YeTY64Z/HZSCj/JAPzjDBB5vEE3SfR9mJwrHc=",
"host"=>{"name"=>"centos-foreman", "hostgroup_id"=>"1",
"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"=>{"cpus"=>"1", "corespersocket"=>"1",
"memory_mb"=>"512", "cluster"=>"Vale Presente CMP",
"path"=>"/Datacenters/DC-VP-CM/vm", "guest_id"=>"centos64Guest",
"interfaces_attributes"=>{"new_interfaces"=>{"type"=>"VirtualE1000",
"network"=>"network-38", "_delete"=>""}, "0"=>{"type"=>"VirtualE1000",
"network"=>"network-173", "_delete"=>""}},
"volumes_attributes"=>{"new_volumes"=>{"datastore"=>"Local01",
"name"=>"Hard disk", "size_gb"=>"10", "thin"=>"true", "_delete"=>""},
"0"=>{"datastore"=>"Comum-01", "name"=>"Hard disk", "size_gb"=>"10",
"thin"=>"true", "_delete"=>""}},
"scsi_controller_type"=>"VirtualLsiLogicController", "start"=>"1",
"image_id"=>"vm"}, "domain_id"=>"1", "realm_id"=>"", "mac"=>"",
"subnet_id"=>"1", "ip"=>"",
"interfaces_attributes"=>{"new_interfaces"=>{"_destroy"=>"false",
"type"=>"Nic::Managed", "mac"=>"", "name"=>"", "domain_id"=>"", "ip"=>"",
"provider"=>"IPMI"}}, "architecture_id"=>"1", "operatingsystem_id"=>"1",
"provision_method"=>"image", "build"=>"1", "medium_id"=>"1",
"ptable_id"=>"7", "disk"=>"", "root_pass"=>"[FILTERED]",
"is_owned_by"=>"1-Users", "enabled"=>"1", "model_id"=>"", "comment"=>"",
"overwrite"=>"false"}, "capabilities"=>"build image", "provider"=>"Vmware",
"provisioning"=>"image"} Rendered common/404.html.erb within
layouts/application (0.9ms) Rendered home/_user_dropdown.html.erb
(1.3ms)Read fragment views/tabs_and_title_records-1 (0.1ms) Rendered
home/_topbar.html.erb (2.2ms) Rendered layouts/base.html.erb
(3.6ms)Completed 404 Not Found in 17ms (Views: 5.7ms | ActiveRecord: 3.9ms)

how I can get the patch relative? Has anyone had a similar experience?