Project

General

Profile

Actions

Bug #8619

closed

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

Added by Tomer Paz over 9 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Compute resources - VMware
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi

Foreman 1.6 from following RPM:
http://yum.theforeman.org/releases/1.6/el6/x86_64/foreman-release.rpm
on that Centos 6 machine, also installed foreman-vmware using RPM as well (it brings entire Ruby stack as dependencies resolve).

steps:
1. install puppet+puppetdb+foreman (with foreman-vmware external compute resource) in docker containers, bring them up, all works fine thus far
2. Configure VMWare vSphere compute resource - works fine
3. go to (in foreman GUI) "Infrastructure -> Compute Profiles"
Boom:

Warning!

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

NoMethodError
undefined method `stringify_keys' for #<RbVmomi::VIM:0x00000009fa2130>
app/helpers/layout_helper.rb:119:in `block in selectable_f'
app/helpers/layout_helper.rb:161:in `block (3 levels) in field'
app/helpers/layout_helper.rb:160:in `block (2 levels) in field'
app/helpers/layout_helper.rb:150:in `block in field'
app/helpers/layout_helper.rb:149:in `field'
app/helpers/layout_helper.rb:117:in `selectable_f'
app/views/compute_resources_vms/form/_vmware.html.erb:6:in `_app_views_compute_resources_vms_form__vmware_html_erb__3876361227718184000_68405260'
app/views/compute_attributes/_form.html.erb:10:in `block (2 levels) in app_views_compute_attributes_form_html_erb__3643016566562734704_69900696321300'
app/views/compute_attributes/_form.html.erb:8:in `block in app_views_compute_attributes_form_html_erb__3643016566562734704_69900696321300'
app/helpers/layout_helper.rb:257:in `form_for'
app/views/compute_attributes/_form.html.erb:2:in `_app_views_compute_attributes__form_html_erb__3643016566562734704_69900696321300'
app/views/compute_attributes/new.html.erb:3:in `_app_views_compute_attributes_new_html_erb___4405136314802759480_69900698501900'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'


Related issues 1 (0 open1 closed)

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

Also available in: Atom PDF