Bug 1173117
| Summary: | Optimizer suggest migrating VMs which does not allow migration | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Lukas Svaty <lsvaty> |
| Component: | ovirt-optimizer | Assignee: | Martin Sivák <msivak> |
| Status: | CLOSED ERRATA | QA Contact: | Shira Maximov <mshira> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.5.0 | CC: | dfediuck, gklein, istein, juwu, mshira, msivak, sherold |
| Target Milestone: | ovirt-3.6.0-rc | Keywords: | Reopened |
| Target Release: | 3.6.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-optimizer-0.9 | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
Pin to host rules acted together with migration settings in unexpected way.
Consequence:
Non-migratable VM cound not be started (it caused hard constraint violation for the solution).
Fix:
Pin to host rules and non-migratable setting are only enforced together during migration.
Result:
Non-migratable VM is able to start in the solution.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-09 20:21:34 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: | |||
|
Description
Lukas Svaty
2014-12-11 13:29:25 UTC
Optimizer uses probability based algorithms. So if there is no solution it gives you the best it has and tells you that it is not valid as a whole. Optimizer already has rules that consider a migration of pinned VM to be hard constraint violation. That is why it was able to tell you that in the fist place. The only change that can be done here is to make it more obvious that the solution is not valid. I do not have a per step score so I can't highlight the issue easily. I could implement a new Explain button, that would (on demand) compute the score step by step and display it somehow. It is expensive in terms of cpu/memory though. *** This bug has been marked as a duplicate of bug 1173551 *** This is not the some bug, This bug is that the optimizer suggest migrating VMs which does not allow migration. The other bug is that the Optimizer should not propose steps if solution is not doable. verified on : Red Hat Enterprise Virtualization Manager Version: 3.6.0-0.18.el6 If this bug requires doc text for errata release, please provide draft text in the doc text field in the following format: Cause: Consequence: Fix: Result: The documentation team will review, edit, and approve the text. If this bug does not require doc text, please set the 'requires_doc_text' flag to -. 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://rhn.redhat.com/errata/RHBA-2016-0427.html |