Bug 1561932
| Summary: | [RFE] Can not disable Host to VM affinity rule | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Roman Hodain <rhodain> |
| Component: | ovirt-engine | Assignee: | Andrej Krejcir <akrejcir> |
| Status: | CLOSED ERRATA | QA Contact: | Polina <pagranat> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.10 | CC: | alukiano, apinnick, bugs, lsurette, mgoldboi, msivak, nobody, rbalakri, Rhev-m-bugs, rhodain, sfroemer, srevivo, ykaul |
| Target Milestone: | ovirt-4.2.3 | Keywords: | FutureFeature, TestOnly |
| Target Release: | --- | Flags: | lsvaty:
testing_plan_complete-
|
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1493149 | Environment: | |
| Last Closed: | 2018-05-15 17:48:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1493149 | ||
| Bug Blocks: | |||
|
Description
Roman Hodain
2018-03-29 08:31:45 UTC
This has already been fixed as part of different bug. (In reply to Martin Sivák from comment #1) > This has already been fixed as part of different bug. Can you please give more details? Does this mean, it will be possible in RHV-4.2 GA? Yes, we believe it should be working as expected there. QE might want to verify that though before we pronounce it fixed. Sounds great, thanks. One more thing, are the bits already included in rhv-4.2 beta-3? verified on rhv-release-4.2.3-2-001.noarch steps for reproduce are performed by both - UI and Rest. Step1. POST https://{{host}}/ovirt-engine/api/clusters/de53e75b-b4b0-4252-9e94-af5098c45325/affinitygroups <affinity_group> <name>test</name> <enforcing>true</enforcing> <hosts_rule> <enabled>true</enabled> <enforcing>true</enforcing> <positive>false</positive> </hosts_rule> <positive>true</positive> <vms_rule> <enabled>true</enabled> <enforcing>true</enforcing> <positive>true</positive> </vms_rule> </affinity_group> Step2. PUT https://{{host}}/ovirt-engine/api/clusters/de53e75b-b4b0-4252-9e94-af5098c45325/affinitygroups/4bd31a35-d3eb-4be5-b266-c880e9104a8c <affinity_group> <hosts_rule> <enabled>false</enabled> <enforcing>true</enforcing> <positive>false</positive> </hosts_rule> </affinity_group> Result: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <affinity_group href="/ovirt-engine/api/clusters/de53e75b-b4b0-4252-9e94-af5098c45325/affinitygroups/4bd31a35-d3eb-4be5-b266-c880e9104a8c" id="4bd31a35-d3eb-4be5-b266-c880e9104a8c"> <name>test</name> <link href="/ovirt-engine/api/clusters/de53e75b-b4b0-4252-9e94-af5098c45325/affinitygroups/4bd31a35-d3eb-4be5-b266-c880e9104a8c/vms" rel="vms"/> <enforcing>true</enforcing> <hosts_rule> <enabled>false</enabled> <enforcing>true</enforcing> <positive>false</positive> </hosts_rule> <positive>true</positive> <vms_rule> <enabled>true</enabled> <enforcing>true</enforcing> <positive>true</positive> </vms_rule> <cluster href="/ovirt-engine/api/clusters/de53e75b-b4b0-4252-9e94-af5098c45325" id="de53e75b-b4b0-4252-9e94-af5098c45325"/> <hosts/> <vms/> </affinity_group> 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/RHEA-2018:1488 BZ<2>Jira Resync |