vmware-archive / rvc

RVC is a Linux console UI for vSphere, built on the RbVmomi bindings to the vSphere API.
MIT License
240 stars 48 forks source link

RuntimeError: unknown VMODL type AnyType #91

Open richardmoe opened 10 years ago

richardmoe commented 10 years ago

I have a vSphere 5.5 cluster which I am connecting to. Installed rvc in Ubuntu 13.10 as a gem and patched it to support Windows Domain logins. I am able to login and run 'ls' on / (root), but when I 'cd 1' and try to run ls in the 'subdir' i just get an error message: RuntimeError: unknown VMODL type AnyType. Tried to downgrade rbvmomi to 1.6.0, but no luck. Any ideas?

gregschoen commented 10 years ago

I'm noticing the same issue with a vSphere 5.5 cluster on Ubuntu 12.04.4 LTS. The issue did not begin until I update the rvc gem to rvc-1.8.0. (I'm not sure of the previous version).

The first issue that I got was this:

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- rbvmomi/pbm (LoadError)

Then after upgrading rbvmomi to rbvmomi-1.8.1 I started getting this:

RuntimeError: unknown VMODL type AnyType
iiro commented 10 years ago

Hi, have you guys found a sensible way to fix this...? Some have downgraded the rbvmomi back to 1.6.0 I suppose...

spkane commented 10 years ago

I could only get this working by downgrading nokogiri to 1.5.5

rbwsam commented 10 years ago

@spkane's solution of downgrading to nokogiri 1.5.5 worked for me: ruby 2.1.2p95, rvc (1.8.0)

spkane commented 10 years ago

@rbwsam Yes, that works, but I really wish they'd just release the fix for this. Since lots of projects use nokogiri and being tied to an old version is not ideal or even possible in some cases.

harrytruman commented 10 years ago

@spkane Downgrading worked for me as well. Thanks!

GeorgFoc commented 9 years ago

I also have this Problem. The Downgrading of nokogiri works well, but I have to use nokogiri >= 1.5.11 for puppet beaker. Would rvc becomes an upgrade to support nokogiri > 1.5.10?

GeorgFoc commented 9 years ago

This was the working Workaround. THX @all https://github.com/dekz/rbvmomi/commit/571433c010c073202ace58f7619c0f54f48879e6