# OpenNebula 5.0 Beta : Import datastore Vcenter 6.0

**URL:** <https://forum.opennebula.io/t/opennebula-5-0-beta-import-datastore-vcenter-6-0/2350>\
**Category:** Product Support\
**Created:** [June 7, 2016, 12:51pm UTC](https://forum.opennebula.io/t/opennebula-5-0-beta-import-datastore-vcenter-6-0/2350 "2016-06-07T12:51:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![steeve\_sanseverino](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/steeve_sanseverino/32/4681_2.png) [@steeve\_sanseverino](https://forum.opennebula.io/u/steeve_sanseverino)\
**Post date:** [June 7, 2016, 12:51pm UTC](https://forum.opennebula.io/t/opennebula-5-0-beta-import-datastore-vcenter-6-0/2350/1 "2016-06-07T12:51:23Z")

</div>

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

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

Connecting to vCenter: test.local…done!

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

root@nebula:/var/lib/one/datastores#

---

<div class="post-metadata">

**Author:** ![tinova](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tinova/32/25_2.png) [@tinova](https://forum.opennebula.io/u/tinova)\
**Post date:** [June 7, 2016, 5:44pm UTC](https://forum.opennebula.io/t/opennebula-5-0-beta-import-datastore-vcenter-6-0/2350/2 "2016-06-07T17:44:47Z")

</div>

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:

[https://gist.github.com/fb729827dcb53df43f369723ee1593cc](https://gist.github.com/fb729827dcb53df43f369723ee1593cc)
