OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.23k stars 478 forks source link

Allow to change CPU_MODEL/FEATURES in one.vm.updateconf call #6636

Open OpenNebulaSupport opened 3 months ago

OpenNebulaSupport commented 3 months ago

Description The CPU_MODEL VM template sections holds the attributes for the CPU model and the CPU Features

CPU_MODEL = [
  FEATURES = "vme,ds",
  MODEL = "host-passthrough" ]

These can be updated on the VM Template, but only the MODEL can be updated with the one.vm.updateconf API Call. The result is a VM instance that cannot have its features updated, despite the VM being undefined from the hypervisor when POWEROFF.

The goal is to be able to update this section with said call.

Use case Be able to update the CPU feature requirements on an existing VM.

Progress Status