Bug 1271721

Summary: [Cinder] Cinder disk with ceph backend actual size is not '0'
Product: [oVirt] ovirt-engine Reporter: Ori Gofen <ogofen>
Component: BLL.StorageAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Ori Gofen <ogofen>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: acanan, amureini, bugs, tnisan
Target Milestone: ovirt-3.6.1Flags: amureini: ovirt-3.6.z?
ogofen: planning_ack?
tnisan: devel_ack+
ogofen: testing_ack?
Target Release: 3.6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-16 12:18:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ori Gofen 2015-10-14 14:31:32 UTC
Description of problem:
from py-sdk ->

>>> cinder_disk = ovirtremote.api.disks.get('vm_cinder_2_Disk_1')
>>> cinder_disk.get_actual_size()
0

cinder storage component does not give any information regarding the total allocated space of a volume created with ceph backend.
oVirt now return a wrong and misleading size '0'
Version-Release number of selected component (if applicable):
rhevm-3.6-14

How reproducible:
100%

Steps to Reproduce:
1.get disk actual_size

Actual results:
wrong size

Expected results:
should be either '-1' or 'None/null' or something else that does not represents a valid answer to this query.

Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2015-10-19 10:50:10 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Yaniv Lavi 2015-10-29 12:43:43 UTC
In oVirt testing is done on single release by default. Therefore I'm removing the 4.0 flag. If you think this bug must be tested in 4.0 as well, please re-add the flag. Please note we might not have testing resources to handle the 4.0 clone.

Comment 3 Ori Gofen 2015-12-16 07:37:38 UTC
Verified on rhevm-3.6.1.3-0.1.el6.noarch.
size section shows 'NONE'

Comment 4 Sandro Bonazzola 2015-12-16 12:18:52 UTC
According to verification status and target milestone this issue should be fixed in oVirt 3.6.1. Closing current release.