Discussion:
[ovirt-users] Ovirt 4.4.6.8 High Performance VM quirkiness
Don Dupuis
2021-05-25 13:48:53 UTC
Permalink
I created a high performance vm and everything is fine. I stop the virtual
machine and make edits to it and again runs correctly. I shutdown the vm
and click the edit tab to look at what I changed and it is now back to the
defaults and my edits are gone. Is this now the intended result. I was
using the same settings in 4.3 and never exhibited this behavior. What I
have observed so for is that I disabled Headless, disabled cpu pinning, and
changed numa config. When I shutdown the vm, they revert to default of
Headless enabled, cpu pinning is set and the numa config changed. This is
not what I expect to happen. Has anyone else noticed this behavior?

Thanks
Don
Liran Rotenberg
2021-05-25 14:58:13 UTC
Permalink
Post by Don Dupuis
I created a high performance vm and everything is fine. I stop the
virtual machine and make edits to it and again runs correctly. I shutdown
the vm and click the edit tab to look at what I changed and it is now back
to the defaults and my edits are gone. Is this now the intended result. I
was using the same settings in 4.3 and never exhibited this behavior. What
I have observed so for is that I disabled Headless, disabled cpu pinning,
and changed numa config. When I shutdown the vm, they revert to default of
Headless enabled, cpu pinning is set and the numa config changed. This is
not what I expect to happen. Has anyone else noticed this behavior?
Hi,
I tried to reproduce it (without update):
1. Create a VM with HP type.
2. Set it with console.
3. Edit the VM again, click OK.
4. Edit the VM to see the configuration.

Everything sticks to the first configuration.
Note that if you change the VM type to server/desktop and move it again to
High Performance, some configurations will change.
In 4.4.5 we added the auto pinning feature, to high performance VMs we
automatically set it to existing - which overrides the cpu pinning and numa
configuration of the VM.
This behavior executed each time you edited the VM in the UI, it wouldn't
change the headless, only the CPU pinning and NUMA.
However, in 4.4.6.6, we fixed a bug[1] to prevent this behavior to some
extent. If you change the type, it will change the policy, but if the VM is
already configured as High Performance and you didn't change it, it will
leave it as is.

The question would be if you change the VM type? If so, it is expected.
Liran.

[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1954401
Post by Don Dupuis
Thanks
Don
_______________________________________________
Privacy Statement: https://www.ovirt.org/privacy-policy.html
https://www.ovirt.org/community/about/community-guidelines/
https://lists.ovirt.org/archives/list/***@ovirt.org/message/OJU6C44PTLZ3P3DMNFQBVNWV73HPBWAI/
Don Dupuis
2021-05-25 16:20:55 UTC
Permalink
I didn't change vm type. I would set the vm, let it run, do a shutdown, and
then when I went to edit to look at configuration is when it changed. I
will test using desktop VM type and if I do the same things and it stays
with what I expected, I will use desktop vm type and not mess with HP vm
type. One thing I did forget to mention is that the vm was created from a
template that was of HP vm type.
Post by Liran Rotenberg
Post by Don Dupuis
I created a high performance vm and everything is fine. I stop the
virtual machine and make edits to it and again runs correctly. I shutdown
the vm and click the edit tab to look at what I changed and it is now back
to the defaults and my edits are gone. Is this now the intended result. I
was using the same settings in 4.3 and never exhibited this behavior. What
I have observed so for is that I disabled Headless, disabled cpu pinning,
and changed numa config. When I shutdown the vm, they revert to default of
Headless enabled, cpu pinning is set and the numa config changed. This is
not what I expect to happen. Has anyone else noticed this behavior?
Hi,
1. Create a VM with HP type.
2. Set it with console.
3. Edit the VM again, click OK.
4. Edit the VM to see the configuration.
Everything sticks to the first configuration.
Note that if you change the VM type to server/desktop and move it again to
High Performance, some configurations will change.
In 4.4.5 we added the auto pinning feature, to high performance VMs we
automatically set it to existing - which overrides the cpu pinning and numa
configuration of the VM.
This behavior executed each time you edited the VM in the UI, it wouldn't
change the headless, only the CPU pinning and NUMA.
However, in 4.4.6.6, we fixed a bug[1] to prevent this behavior to some
extent. If you change the type, it will change the policy, but if the VM is
already configured as High Performance and you didn't change it, it will
leave it as is.
The question would be if you change the VM type? If so, it is expected.
Liran.
[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1954401
Post by Don Dupuis
Thanks
Don
_______________________________________________
Privacy Statement: https://www.ovirt.org/privacy-policy.html
https://www.ovirt.org/community/about/community-guidelines/
Liran Rotenberg
2021-05-26 12:22:06 UTC
Permalink
I didn't change vm type. I would set the vm, let it run, do a shutdown, and then when I went to edit to look at configuration is when it changed. I will test using desktop VM type and if I do the same things and it stays with what I expected, I will use desktop vm type and not mess with HP vm type. One thing I did forget to mention is that the vm was created from a template that was of HP vm type.
Newly created VM (like you create from template), with all the
settings allowing auto pinning (basically, there is default host to
run on) that are set as (even the template without changing the VM
type) High Performance VMs it would set the auto pinning policy to
existing as well.
On creation please look on the Host tab, at the bottom of it, select
the Don't Change option.

Another note is that from 4.4.7 it will become irrelevant and the
existing, including the auto-set of the policy won't happen.
If the information above doesn't help you, then if you can, please add
the engine log.

Regards,
Liran.
Post by Liran Rotenberg
I created a high performance vm and everything is fine. I stop the virtual machine and make edits to it and again runs correctly. I shutdown the vm and click the edit tab to look at what I changed and it is now back to the defaults and my edits are gone. Is this now the intended result. I was using the same settings in 4.3 and never exhibited this behavior. What I have observed so for is that I disabled Headless, disabled cpu pinning, and changed numa config. When I shutdown the vm, they revert to default of Headless enabled, cpu pinning is set and the numa config changed. This is not what I expect to happen. Has anyone else noticed this behavior?
Hi,
1. Create a VM with HP type.
2. Set it with console.
3. Edit the VM again, click OK.
4. Edit the VM to see the configuration.
Everything sticks to the first configuration.
Note that if you change the VM type to server/desktop and move it again to High Performance, some configurations will change.
In 4.4.5 we added the auto pinning feature, to high performance VMs we automatically set it to existing - which overrides the cpu pinning and numa configuration of the VM.
This behavior executed each time you edited the VM in the UI, it wouldn't change the headless, only the CPU pinning and NUMA.
However, in 4.4.6.6, we fixed a bug[1] to prevent this behavior to some extent. If you change the type, it will change the policy, but if the VM is already configured as High Performance and you didn't change it, it will leave it as is.
The question would be if you change the VM type? If so, it is expected.
Liran.
[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1954401
Thanks
Don
_______________________________________________
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
_______________________________________________
Users mailing list -- ***@ovirt.org
To unsubscribe send an email to users-***@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/***@ovirt.org/message/PY3YRMXGHTHV754WN5ONDC3WDD7BTJ
Loading...