Project

General

Profile

Actions

Bug #3612

closed

Editing host after an compute associate ends in an oops

Added by Werner Dijkerman about 11 years ago. Updated about 11 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I've added an VMware "compute resources".
It has an valid connection and I see all VMs in Foreman which are present in vcenter. I've associated one host with an foreman host.

Now when I want to edit this server (from Hosts --> <server> --> Edit) I'll get an error:

undefined method `stringify_keys' for #<RbVmomi::VIM:0x007f592130a0d0>

Stacktrace:

NoMethodError
undefined method `stringify_keys' for #<RbVmomi::VIM:0x007f592130a0d0>
app/helpers/layout_helper.rb:108:in `block in selectable_f'
app/helpers/layout_helper.rb:130:in `block (2 levels) in field'
app/helpers/layout_helper.rb:129:in `block in field'
app/helpers/layout_helper.rb:124:in `field'
app/helpers/layout_helper.rb:107:in `selectable_f'
app/views/compute_resources_vms/form/_vmware.html.erb:5:in `_app_views_compute_resources_vms_form__vmware_html_erb__3919416122880988611_70321240'
app/views/hosts/_compute.html.erb:4:in `block in _app_views_hosts__compute_html_erb___2887658847824910434_70010391448020'
app/views/hosts/_compute.html.erb:1:in `_app_views_hosts__compute_html_erb___2887658847824910434_70010391448020'
app/views/hosts/_unattended.html.erb:2:in `_app_views_hosts__unattended_html_erb___53643206464098241_70010393230100'
app/views/hosts/_form.html.erb:79:in `block (2 levels) in _app_views_hosts__form_html_erb__1104210628030565048_72182420'
app/helpers/layout_helper.rb:205:in `form_for'
app/views/hosts/_form.html.erb:7:in `block in _app_views_hosts__form_html_erb__1104210628030565048_72182420'
app/models/taxonomy.rb:55:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:143:in `as_location'
app/models/taxonomy.rb:54:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:108:in `as_org'
app/models/taxonomy.rb:53:in `as_taxonomy'
app/views/hosts/_form.html.erb:5:in `_app_views_hosts__form_html_erb__1104210628030565048_72182420'
app/views/hosts/edit.html.erb:7:in `_app_views_hosts_edit_html_erb___3159881281948401086_72150600'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'


Files

weberror.log weberror.log 149 KB Werner Dijkerman, 11/11/2013 04:59 PM

Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #2680: Unable to provisioning host using UI - vSphere 4.1.0ClosedDominic Cleal06/19/201306/20/2013Actions
Actions

Also available in: Atom PDF