Bug 1540814
| Summary: | upgrade dbscript fails if multiplication overflows | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Doran Moppert <dmoppert> |
| Component: | ovirt-engine | Assignee: | Shmuel Melamud <smelamud> |
| Status: | CLOSED ERRATA | QA Contact: | Jiri Belka <jbelka> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.10 | CC: | apinnick, dmoppert, lsurette, lsvaty, lveyde, michal.skrivanek, rbalakri, Rhev-m-bugs, srevivo, ykaul, ylavi |
| Target Milestone: | ovirt-4.2.2 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-4.2.2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-05-15 17:48:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Doran Moppert
2018-02-01 05:16:45 UTC
I thought this was fixed some time ago. Which version was used? (In reply to Yaniv Kaul from comment #2) > I thought this was fixed some time ago. > Which version was used? I don't think this precise issue was fixed. Original report was using 4.1.5, and I see the script unmodified in 4.1.9 and upstream master. I have not tried the full upgrade process to verify the problem, but running this script alone still triggers the error under the conditions described. I do see a related issue fixed upstream in 2016, using a cleaner method than I suggested: https://gerrit.ovirt.org/#/c/51420/ which suggests the following change in 04_01_0640_add_max_memory_size_column.sql, which works in my tests: > UPDATE vm_static > SET max_memory_size_mb = LEAST(4 * mem_size_mb::bigint, 1048576); (In reply to Yaniv Kaul from comment #2) > I thought this was fixed some time ago. bug 1519811? That's the opposite case. The fix should be trivial WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed:
[Found non-acked flags: '{'rhevm-4.2-ga': '?'}', ]
For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed:
[Found non-acked flags: '{'rhevm-4.2-ga': '?'}', ]
For more info please contact: rhv-devops
ok, update from ovirt-engine-4.2.1-0.2.el7.noarch to ovirt-engine-4.2.2.1-0.1.el7.noarch INFO: Bug status (VERIFIED) wasn't changed but the folowing should be fixed: [Tag 'ovirt-engine-4.2.2.4' doesn't contain patch 'https://gerrit.ovirt.org/87258'] gitweb: https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/tags/ovirt-engine-4.2.2.4 For more info please contact: rhv-devops 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 |