gray380
1
Hi,
KVM template tries to instantiate on LXD hypervisor, why is so?
[oneadmin@one-srv-01 ~]$ onetemplate show 19 | grep -i hyper
HYPERVISOR="kvm"
[oneadmin@one-srv-01 ~]$ onehost show 10 | grep -i 'mad\|hyper'
IM_MAD : lxd
VM_MAD : lxd
HYPERVISOR="lxd"
IM_MAD="lxd"
VM_MAD="lxd"
OpenNebula 5.8.1
ahuertas
(Alejandro Huertas)
2
Hello @gray380
You need to add an sched requirement, so kvm templates goes to kvm hosts, check this for more information.
gray380
3
Hello @ahuertas,
Do you mean put SCHED_REQUIREMENTS = “HYPERVISOR=kvm” to the Context Cusrom vars template section?
UPDATE: I find the place in the ‘advanced’ and put it under another requirement:
SCHED_DS_REQUIREMENTS = “ID="106"”
SCHED_REQUIREMENTS = “HYPERVISOR="kvm"”
Thanks for your assistance.
ahuertas
(Alejandro Huertas)
4
Yes, that’s correct, is it working now?
gray380
5
Yes, it does. Thanks.
I think it’s not bad idea to put these requirements (lxd to lxd, kvm to kvm) by default.