# Error while importing VM Template

**URL:** <https://forum.opennebula.io/t/error-while-importing-vm-template/9567>\
**Category:** Product Support\
**Created:** [May 30, 2021, 8:06am UTC](https://forum.opennebula.io/t/error-while-importing-vm-template/9567 "2021-05-30T08:06:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Niti](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/niti/32/6998_2.png) [@Niti](https://forum.opennebula.io/u/Niti)\
**Post date:** [May 30, 2021, 8:06am UTC](https://forum.opennebula.io/t/error-while-importing-vm-template/9567/1 "2021-05-30T08:06:51Z")

</div>

Hello all,

I am running newly installed Opennebula-6.0.2, and exploring functions for industrial use.

what worked fine:  
1)Imported Clusters successully  
2)Imported Networks successfully  
3)Imported Datastores succesfully  
4)Imported Disk Images successfully

Whats not working:  
1)Importing VM Template.  
-Initially I have successfully imported one VM-Template successfully.

But after that not able to import any more VM-Templates.

I have tried another VM teamplate moved to same datacenter as 1st one which I had imported successfully.  
Also set the same VLAN as 1st template.

but still not able to import 2nd template.

Appreciate your help .

* * *

**Versions of the related components and OS (frontend, hypervisors, VMs):**  
Opennebula - 6.0.2

**Steps to reproduce:**  
$onevcenter import vm-50614 -o templates -h 0

**Current results:**  
$ onevcenter import vm-50614 -o templates -h 0

- Template: centos6Final

Error: Couldn’t import vm-50614 due to  
There was an error trying to create an image for disk in vcenter template. Reason: datastore not found for VM’s device!

$

**Expected results:**
