Project

General

Profile

Actions

Bug #2680

closed

Unable to provisioning host using UI - vSphere 4.1.0

Added by Lucas E Holm over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
medium
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

Im unable to provision a new host using UI - vSphere 4.1.0.

Please let me know if there is a known solution.

FOREMAN: 1.2.0
RUBY: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
PUPPET: 3.2.2
Started POST "/hosts/compute_resource_selected" for 10.8.0.42 at 2013-06-19 14:43:55 +0000
Processing by HostsController#compute_resource_selected as */*
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"4riyLz3XRAgbpaNiTm5o4iH/uC2heApoYhodDezNR8U=", "host"=>{"name"=>"newhostname", "compute_resource_id"=>"1", "hostgroup_id"=>"", "environment_id"=>"", "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "mac"=>"", "domain_id"=>"", "ip"=>"", "interfaces_attributes"=>{"new_interfaces"=>{"_destroy"=>"false", "type"=>"Nic::Managed", "mac"=>"", "name"=>"", "domain_id"=>"", "ip"=>"", "provider"=>"IPMI"}}, "architecture_id"=>"", "provision_method"=>"build", "build"=>"1", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"", "enabled"=>"1", "model_id"=>"", "comment"=>"", "overwrite"=>"false"}}
  [1m[35mUser Load (0.4ms)[0m  SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1  [["id", 1]]
Setting current user thread-local variable to admin
  [1m[36mOrganization Load (0.3ms)[0m  [1mSELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') AND "taxonomies"."id" IS NULL LIMIT 1[0m
  [1m[35mLocation Load (0.2ms)[0m  SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" IS NULL LIMIT 1
Setting current organization thread-local variable to none
Setting current location thread-local variable to none
  [1m[36mComputeResource Load (0.3ms)[0m  [1mSELECT "compute_resources".* FROM "compute_resources" WHERE "compute_resources"."id" = 1 ORDER BY compute_resources.name LIMIT 1[0m
  [1m[35mComputeResource Exists (0.5ms)[0m  SELECT 1 AS one FROM "compute_resources" WHERE ("compute_resources"."name" = 'dmzhoster' AND "compute_resources"."id" != 1) LIMIT 1
  Rendered compute_resources_vms/form/_vmware.html.erb (39.8ms)
  Rendered hosts/_compute.html.erb (547.5ms)
Setting current location thread-local variable to none
Setting current organization thread-local variable to none
Operation FAILED: undefined method `stringify_keys' for #<RbVmomi::VIM:0x000000096d1e48>

Files

ui_foreman_host_new.png View ui_foreman_host_new.png 43.8 KB Lucas E Holm, 06/19/2013 11:07 AM
production.log production.log 88.9 KB Lucas E Holm, 06/19/2013 11:07 AM
foreman-install.log foreman-install.log 5.41 KB Lucas E Holm, 06/19/2013 11:07 AM
production_after_patch.log production_after_patch.log 23.3 KB Lucas E Holm, 06/19/2013 11:47 AM
tmp-log.txt tmp-log.txt 3.18 KB Lucas E Holm, 06/19/2013 01:30 PM
1-new_compute_resource.PNG View 1-new_compute_resource.PNG 27 KB Ben Fairless, 07/15/2013 04:33 AM
2-vsphere_instance_list.PNG View 2-vsphere_instance_list.PNG 15 KB Ben Fairless, 07/15/2013 04:33 AM
3-new_host.PNG View 3-new_host.PNG 38.9 KB Ben Fairless, 07/15/2013 04:33 AM
4-virtual_machine_error.PNG View 4-virtual_machine_error.PNG 10.1 KB Ben Fairless, 07/15/2013 04:33 AM
5-esxi_host_instance_list.PNG View 5-esxi_host_instance_list.PNG 51.2 KB Ben Fairless, 07/15/2013 04:43 AM
foreman-debug-MX9bY.tar.xz foreman-debug-MX9bY.tar.xz 68.3 KB Xavier ROUX, 11/06/2013 04:56 PM

Related issues 4 (0 open4 closed)

Related to Foreman - Bug #2612: VirtualMachine Tab empty when trying to create VM using fog 1.8.0-3 or 1.11.1ClosedDominic Cleal06/04/2013Actions
Related to Foreman - Bug #8619: undefined method `stringify_keys' for #<RbVmomi::VIM ..>Resolved12/09/2014Actions
Related to Foreman - Bug #10336: foreman-rake prints "Workaround for RbVmomi may not work as ComputeResource is already loaded: #{ComputeResource}"ClosedDominic Cleal04/30/2015Actions
Has duplicate Foreman - Bug #3612: Editing host after an compute associate ends in an oopsDuplicate11/08/2013Actions
Actions

Also available in: Atom PDF