Fedora Account System
Red Hat Associate
Red Hat Customer
VMware provider has support to set VM memory and number of CPUs. This BZ requests the same same methods to oVirt provider.
https://github.com/ManageIQ/manageiq-automation_engine/pull/216
https://github.com/ManageIQ/manageiq-providers-ovirt/pull/280
To check this feature is working as expected, one can use Rails console: # vmdb # rails c irb> $evm = MiqAeMethodService::MiqAeService.new(MiqAeEngine::MiqAeWorkspaceRuntime.new) For example, you want to change the CPU and memory of a VM named 'test_vm'. Here are the command to execute in Rails console: irb> vm = $evm.vmdb(:vm).find_by(:name => 'test_vm') irb> vm.set_number_of_cpus(2) irb> vm.set_memory(4096) Then, you should see in your RHV environment that VM named 'test_vm' has 2 vCPUs and 4 GB of memory.
I followed steps in Comment 6 and I was able to change the VM memory and number of cpus.