Bug #1420

Updated by Ruben S. Montero almost 9 years ago


Hello,

According to OpenNebula 3.6 documentation, CPU is a valid default attribute for KVM driver:

From http://opennebula.org/documentation:rel3.6:kvmg#default_attributes

Default Attributes:
There are some attributes required for KVM to boot a VM. You can set a suitable defaults for them so, all the VMs get needed values. These attributes are set in /etc/one/vmm_exec/vmm_exec_kvm.conf. The following can be set for KVM:

# emulator, path to the kvm executable. You may need to adjust it to your ditsro
# os, the attraibutes: kernel, initrd, boot, root, kernel_cmd, and arch
# memory
# cpu
# vcpu
# features, attributes: acpi, pae
# dis, attributes driver and cache. All disks will use that driver and caching algorithm
# nic, attribute filter.

However, when attempting to define this value in the driver file "exec/vmm_exec_kvm.conf", ONE ignores it. Moreover, that value is missing from the Valid attributes in that file:

From "/one/src/vmm_mad/exec/vmm_exec_kvm.conf" v 3.6,
Valid attributes are:

# - emulator
# - os [kernel,initrd,boot,root,kernel_cmd,arch]
# - vcpu
# - features [acpi, pae]
# - disk [driver, cache]
# - nic [filter]

Was "CPU" attribute removed intentionally from the supported defaults and the documentation is outdated? Or is it a bug with OpenNebula KVM driver after migration from earlier versions?

Thanks,

Back