Bug 1670073
| Summary: | [downstream clone - 4.2.8] [RFE] Allow Maintenance of Host with Enforcing VM Affinity Rules (hard affinity) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | RHV bug bot <rhv-bugzilla-bot> |
| Component: | ovirt-engine | Assignee: | Andrej Krejcir <akrejcir> |
| Status: | CLOSED ERRATA | QA Contact: | Polina <pagranat> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.2.7 | CC: | akrejcir, apinnick, michal.skrivanek, ratamir, Rhev-m-bugs |
| Target Milestone: | ovirt-4.2.8-1 | Keywords: | FutureFeature, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: |
The current release has a configuration option, 'IgnoreVmToVmAffinityForHostMaintenance', to ignore enforcing virtual machine affinity groups (positive and negative) when placing a host in maintenance mode.
|
Story Points: | --- |
| Clone Of: | 1651406 | Environment: | |
| Last Closed: | 2019-02-13 15:34:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1651406 | ||
| Bug Blocks: | |||
|
Description
RHV bug bot
2019-01-28 14:37:32 UTC
This is extremely unlikely to make a 4.2 stream. 4.3 may be possible, but has soft affinity been looked at? Soft affinity (both host to VM and VM to VM) may provide an immediate resolution. This sounds extremely similar to the requirements which produced https://bugzilla.redhat.com/show_bug.cgi?id=1392393 (Originally by Ryan Barry) Re-targeting to 4.3.1 since it is missing a patch, an acked blocker flag, or both (Originally by Ryan Barry) This applies to both affinity and anti-affinity. anti-affinity is going to work better, but still there will be times when the rules won't be enforced. Maintenance will have priority and if there is not enough hosts the system won't be able to distribute (or keep together) VMs properly. This should fix automatically once the host is brought back as the host becomes operational and empty/available for scheduling, though we will not attempt to restore the VM distribution exactly as it was. I propose to turn this behavior on by default in 4.3, and have an engine-config toggle to switch this off if anyone finds this new behavior problematic (Originally by michal.skrivanek) merged to 4.3 (Originally by michal.skrivanek) more patches are coming to 4.3 (Originally by michal.skrivanek) minimal changes to disregard hard affinity on Maintenance action verified on ovirt-engine-dwh-4.2.4.3-1.el7ev.noarch The new behavior is enabled by default in 4.3, but is disabled in 4.2 and earlier versions. To enable it, there is a config option that has to be set: engine-config -s IgnoreVmToVmAffinityForHostMaintenance=true --cver=4.2 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0343 |