Bug 1342098 - vm_disk_size_mb equals zero causes the dashboard to fail
Summary: vm_disk_size_mb equals zero causes the dashboard to fail
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.0.0-rc3
: 4.0.0
Assignee: Alexander Wels
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-02 12:30 UTC by Oved Ourfali
Modified: 2016-07-05 07:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-05 07:57:29 UTC
oVirt Team: UX
Embargoed:
rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
oourfali: devel_ack+
pnovotny: testing_ack+


Attachments (Terms of Use)
engine logs (719.62 KB, application/x-gzip)
2016-06-02 12:30 UTC, Oved Ourfali
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 58562 0 master MERGED webadmin: fix potential div by 0 in sql 2016-06-02 15:12:53 UTC
oVirt gerrit 58572 0 ovirt-engine-4.0 MERGED webadmin: fix potential div by 0 in sql 2016-06-02 16:33:35 UTC
oVirt gerrit 58878 0 master MERGED webadmin: really fix div by 0 exception 2016-06-08 20:44:55 UTC
oVirt gerrit 58910 0 ovirt-engine-4.0 MERGED webadmin: really fix div by 0 exception 2016-06-09 13:11:35 UTC

Description Oved Ourfali 2016-06-02 12:30:49 UTC
Created attachment 1164056 [details]
engine logs

Description of problem:
When the disk size of a VM is 0 (probably when there are no disks), the dashboard fail to perform the query.

Comment 1 Oved Ourfali 2016-06-02 12:39:24 UTC
(Found by Lago)

Comment 3 Pavel Novotny 2016-06-24 11:53:01 UTC
Verified in 
ovirt-engine-dashboard-1.0.0-20160615git43298a4.el7ev.x86_64
rhevm-4.0.0.6-0.1.el7ev.noarch (build 4.0.0-19).

Created 5 VMs without disks:
- 2 from Blank template
- 1 from a template without disk
- 2 from a VM pool (from the same diskless template as above)

Result: Dashboard is loaded, all inventory items and utilization data are reported.

Comment 4 Sandro Bonazzola 2016-07-05 07:57:29 UTC
oVirt 4.0.0 has been released, closing current release.


Note You need to log in before you can comment on or make changes to this bug.