> Hi,
> I'm trying to deploy new virtual machine from vmware image and it's failed.
> when i'm setting a vm with pxe install it's finish without any problems.
> all i see in the production.log is those lines
>
> Adding Compute instance for image1.example.com
> Successfully decrypted field for Foreman::Model::Vmware vc-foreman
> Successfully decrypted field for Foreman::Model::Vmware vc-foreman
> Rolling back due to a problem: [Set up compute instance image1.example.com
> 2 failed [#<Host::Managed id: nil, name: "image1.example.com", ip:
> "10.101.254.109", last_compile: nil, last_freshcheck: nil, last_report:
> nil, updated_at: nil, source_file_id: nil, created_at: nil, mac: nil,
> root_pass: "*", serial: nil, puppet_status: 0, domain_id: 1,
> architecture_id: 1, operatingsystem_id: 1, environment_id: 2, subnet_id: 1,
> ptable_id: nil, medium_id: nil, build: true, comment: "", disk: "",
> installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: 1,
> owner_type: "User", enabled: true, puppet_ca_proxy_id: 2, managed: true,
> use_image: nil, image_file: nil, uuid: nil, compute_resource_id: 3,
> puppet_proxy_id: 2, certname: nil, image_id: 2, organization_id: 5,
> location_id: 3, type: "Host::Managed", compute_profile_id: 8, otp: nil,
> realm_id: nil, provision_method: "image">, :setCompute]]
> Failed to save:
> Rendered hosts/_progress.html.erb (0.1ms)
> Rendered config_groups/_config_group.html.erb (18.1ms)
> Rendered config_groups/_config_group.html.erb (4.2ms)
> Rendered config_groups/_config_groups_selection.html.erb (24.2ms)
> Rendered puppetclasses/_selectedClasses.html.erb (0.0ms)
> Rendered puppetclasses/_classes_in_groups.html.erb (0.0ms)
> Rendered puppetclasses/_classes.html.erb (316.8ms)
> Rendered puppetclasses/_class_selection.html.erb (482.0ms)
> Rendered compute_resources_vms/form/vmware/_network.html.erb (66.7ms)
> Rendered compute_resources_vms/form/vmware/_network.html.erb (197.8ms)
>
>
> Any advises?
>
we had a recent bug [1] about Compute resources not showing the error
unless in debug mode, can you either enable debug more, or apply the ticket
from [2]? this would allow you to get a better error that is actually
coming from vmware.
[1] Bug #6099: New Host screen is eating Fog Errors - Foreman
[2] https://github.com/theforeman/foreman/pull/1525/files
···
On Wed, Jul 2, 2014 at 10:53 AM, eliran shlomo wrote:best regards,
eliran–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.