Project

General

Profile

Actions

Bug #3931

closed

compute resource vmware generates unknown VMODL type AnyType after upgrade to 1.3.2

Added by Jelle B. over 10 years ago. Updated almost 6 years ago.

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

Description

After upgrading to foreman 1.3.2 the web ui started generating error "unknown VMODL type AnyType" with anything reladet to vmware vcenter interactions.

Some googleing brought an issue with rbvmomi at version 1.8.1 to the service which causes this. The work around found was to downgrade it to version 1.6.0.

This I can confirm fixed it without any drawbacks , so far.

on debian the file edited was /usr/share/foreman/bundler.d/vmware.rb

changed the line :

_ gem "rbvmomi"_
to
_ gem "rbvmomi", '~> 1.6.0'_

and re-ran bundle install, after that restarted foreman and nginx and all was working. This ia dependency to fog if my info is correct but sofar I only found refferences on twitter.

Mind you besides in the logs :
Rendered compute_resources_vms/_error.html.erb (0.1ms)
There are no loggedd errors so far (without debugging on !!)


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #5018: Unpin rbvmomi 1.6.0ClosedShlomi Zadok04/02/2014Actions
Actions

Also available in: Atom PDF