Bug 1342098

Summary: vm_disk_size_mb equals zero causes the dashboard to fail
Product: [oVirt] ovirt-engine Reporter: Oved Ourfali <oourfali>
Component: Backend.CoreAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Novotny <pnovotny>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: bugs
Target Milestone: ovirt-4.0.0-rc3Flags: rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
oourfali: devel_ack+
pnovotny: testing_ack+
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:57:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine logs none

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.