OpenNebula 5.0 Beta : Import datastore Vcenter 6.0

Hi! Have problem with import datastores on OpenNebula 5.0 Beta.

root@nebula:/var/lib/one/datastores# onevcenter datastores --vcenter --vuser administrator@test.local --vpass ************

Connecting to vCenter: test.local…done!

Looking for Datastores…error: undefined method `host’ for #< RbVmomi::VIM::Folder:0x00000002af5788 >


Hi! Thanks a lot for your feedback on the Beta.

I believe you hit a bug in OpenNebula when dealing with datastores nested within folders.

Please replace /usr/lib/one/ruby/vcenter_driver.rb with the follwing file and try again: