Try disabling or making the VM rule soft, it won't migrate more than one VM at
a time so it can't migrate either VM without breaking the vms_rule.
Regards,
Paul S.
________________________________________
From: [email protected] <[email protected]>
Sent: 13 March 2019 07:49
To: [email protected]
Subject: [ovirt-users] Host affinity hard rule doesn't work
Hi there,
Here is my setup:
oVirt engine: 4.2.8
1. Create an affinity group as below:
VM affinity rule: positive + enforcing
Host affinity rule: disabled.
VMs: 2 VMs added
Hosts: No host selected.
2. Run the 2 VMs, they are running on the same host, say host1.
3. Change the affinity group's host affinity:
Host affinity rule: positive + enforcing
Hosts: host2 added.
I expect that the 2 VMs can migrate to host2, but that never happen, is this
expected?
snippet of engine.log:
2019-03-13 07:47:05,747Z INFO
[org.ovirt.engine.core.bll.scheduling.SchedulingManager]
(EE-ManagedThreadFactory-engineScheduled-Thread-30) [] Candidate host
'dub-svrfarm24' ('76b13e75-d01b-4dec-9298-1fad72b46525') was filtered out by
'VAR__FILTERTYPE__INTERNAL' filter 'VmAffinityGroups' (correlation id: null)
2019-03-13 07:47:05,747Z DEBUG
[org.ovirt.engine.core.bll.scheduling.arem.AffinityRulesEnforcer]
(EE-ManagedThreadFactory-engineScheduled-Thread-30) [] VM
822b37b7-5da3-453c-b775-d4192c2fdcae is NOT a viable candidate for solving the
affinity group violation situation.
2019-03-13 07:47:05,747Z DEBUG
[org.ovirt.engine.core.bll.scheduling.arem.AffinityRulesEnforcer]
(EE-ManagedThreadFactory-engineScheduled-Thread-30) [] No vm to hosts
soft-affinity group violation detected
2019-03-13 07:47:05,749Z DEBUG
[org.ovirt.engine.core.bll.scheduling.arem.AffinityRulesEnforcer]
(EE-ManagedThreadFactory-engineScheduled-Thread-30) [] No affinity group
collision detected for cluster 8fe88b8c-966c-4c21-839d-e2437cc6b73d. Standing
by.
2019-03-13 07:47:05,749Z DEBUG
[org.ovirt.engine.core.bll.scheduling.arem.AffinityRulesEnforcer]
(EE-ManagedThreadFactory-engineScheduled-Thread-30) [] No affinity group
collision detected for cluster 3beac2ea-ed04-4f40-9ce3-5a9a67cebd8c. Standing
by.
2019-03-13 07:47:05,750Z DEBUG
[org.ovirt.engine.core.bll.scheduling.arem.AffinityRulesEnforcer]
(EE-ManagedThreadFactory-engineScheduled-Thread-30) [] No affinity group
collision detected for cluster da32d154-4303-11e9-9607-00163eaab080. Standing
by.
Thank you,
-Zhen
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement:
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fsite%2Fprivacy-policy%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C697dfc2909184cd250dc08d6a7888f4d%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C636880602317806228&sdata=X2tVZVPWYQBp%2FmFT2WRsHEffIQnvArULWrlZ5nP3I0g%3D&reserved=0
oVirt Code of Conduct:
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C697dfc2909184cd250dc08d6a7888f4d%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C636880602317806228&sdata=2DpJLUIbUD5ADkJF27Er%2B%2FHPRXOM%2B2zfS9Ivog6Nwus%3D&reserved=0
List Archives:
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2F2BVS3U4BBFLJ32EZN5K3TOI64M7DQHSZ%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C697dfc2909184cd250dc08d6a7888f4d%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C636880602317806228&sdata=IWG%2BLEErAh1ByaCmET9ca3%2BJZ%2BCaB4VOC8Yw4mcRM3I%3D&reserved=0
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/[email protected]/message/TE5L2RN7MUNL3SF7ERHZAEMKL5DZ3JR7/