# Wild VMs from non-ONE host are missing name

**URL:** <https://forum.opennebula.io/t/wild-vms-from-non-one-host-are-missing-name/10741>\
**Category:** Product Support\
**Created:** [August 3, 2022, 3:36pm UTC](https://forum.opennebula.io/t/wild-vms-from-non-one-host-are-missing-name/10741 "2022-08-03T15:36:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![patsie75](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/patsie75/32/7476_2.png) [@patsie75](https://forum.opennebula.io/u/patsie75)\
**Post date:** [August 3, 2022, 3:36pm UTC](https://forum.opennebula.io/t/wild-vms-from-non-one-host-are-missing-name/10741/1 "2022-08-03T15:36:06Z")

</div>

We’re running a test with an OpenNebula cluster (6.4.0) to see if this might be something to migrate our current KVM setup to. The OpenNebula cluster is running fine. We can create, delete, start, stop new VMs like a charm.  
The next step is to see if we can import VMs from our current KVM (non OpenNebula) setup.  
I have created an OS user (oneadmin) with SSH access which is part of the kvm and libvirt groups, so that it can talk to libvirt via virsh.  
Once I have added the host to OpenNebula (either using Sunstone or via CLI), the host shows up and it reports that there are 3 WILD VMs found, but when I go to the Wild tab in Sunstone, no VMs show up. When using the commandline (onehost show) it does show 3 WILD VMs, but they are without name and only carry the UUID/IMPORT\_ID:

```auto
WILD VIRTUAL MACHINES

NAME IMPORT_ID CPU MEMORY
8f44ebfd-b59a-49c6-a8c9-f1e01e - - -
9a5c2d6f-8acf-4c9d-8749-4ea495 - - -
95383a60-8890-45cb-a8f2-877684 - - -

```

I have copied the KVM monitoring script (kvm.rb) that tries to fetch the information and have added a print of the `wilds_info` data:

```auto
dom = DomainList
p dom.wilds_info

```

This runs fine, and prints all information, including the VM\_NAME, properly:

```auto
oneadmin@importhost:~$ ./kvm.rb 
"VM = [ID=\"-1\", DEPLOY_ID=\"8f44ebfd-b59a-49c6-a8c9-f1e01e5189ca\", VM_NAME=\"VmInstance-9530\", IMPORT_TEMPLATE=\"TkFNRT0iVm1JbnN0YW5jZS05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LCBQT1JUPSI1OTUyOSIgXQo=\"]\n"

```

I’m currently running out of ideas why OpenNebula refuses to see the WILD VMs, so I’m hoping somebody here can give some help

---

<div class="post-metadata">

**Author:** ![patsie75](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/patsie75/32/7476_2.png) [@patsie75](https://forum.opennebula.io/u/patsie75)\
**Post date:** [August 5, 2022, 8:19am UTC](https://forum.opennebula.io/t/wild-vms-from-non-one-host-are-missing-name/10741/2 "2022-08-05T08:19:39Z")

</div>

I have found that in `/var/tmp/one/im/kvm-probes.d/host/system/wild_vm.rb` there is a call to `DomainList.info`. When I change this to `DomainList.wilds_info` instead, the Wild VM’s show up!

```auto
begin
# puts DomainList.info
    puts DomainList.wilds_info
rescue StandardError => e
    STDERR.puts e.message
    exit(-1)
end

```

Is this a known bug or am I doing something obviously wrong here?

At least now I can continue into looking into migrating these Wild VMs into OpenNebula.

---

<div class="post-metadata">

**Author:** ![dclavijo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dclavijo/32/5265_2.png) [@dclavijo](https://forum.opennebula.io/u/dclavijo)\
**Post date:** [August 5, 2022, 2:14pm UTC](https://forum.opennebula.io/t/wild-vms-from-non-one-host-are-missing-name/10741/3 "2022-08-05T14:14:14Z")

</div>

The bug was [reported](https://github.com/OpenNebula/one/issues/5846) and fixed on [6.4.1](https://docs.opennebula.io/6.4/intro_release_notes/release_notes_enterprise/resolved_issues_641.html?highlight=fix+kvm+wilds#resolved-issues-in-6-4-1).

In order to continue importing the VMs, you can follow [this section](https://docs.opennebula.io/6.4/management_and_operations/host_cluster_management/hosts.html#import-wild-vms) of the documentation. Keep in mind that imported VMs will have limited functionality compared to native OpenNebula VMs and ideally, you should import the disks to the datastore and generate an equivalent VM Template linking such disks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/1/14d66f1130b9cd292905f575da9b68a9f574dd03.png) [@system](https://forum.opennebula.io/u/system)\
**Post date:** [June 25, 2025, 3:48pm UTC](https://forum.opennebula.io/t/wild-vms-from-non-one-host-are-missing-name/10741/4 "2025-06-25T15:48:02Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
