Bug 1026868

Summary: Direct LUN is not being updated after resizing
Product: Red Hat Enterprise Virtualization Manager Reporter: Pavel Zhukov <pzhukov>
Component: ovirt-engineAssignee: Daniel Erez <derez>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, ahoness, amureini, derez, iheim, lbopf, lpeer, lyarwood, mkalinin, nobody, Rhev-m-bugs, ricardo.arguello, sbonazzo, scohen, yeylon
Target Milestone: ---Keywords: Reopened
Target Release: 3.4.0   
Hardware: All   
OS: Linux   
Whiteboard: storage
Fixed In Version: ovirt-engine-3.4.0_av2 Doc Type: Bug Fix
Doc Text:
Previously, changes made to the size of a direct LUN were recognized and implemented by VDSM, but not displayed in the web interface or the database. Now, with new tracking values in disk stats for direct LUN disks, the new size displays correctly in the web interface and the database.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-09 15:01:00 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:
Bug Depends On:    
Bug Blocks: 1078909, 1142926    
Attachments:
Description Flags
engine.log
none
vdsm.log 3.3
none
device list none

Description Pavel Zhukov 2013-11-05 14:50:58 UTC
Description of problem:
Direct LUN size is not being updated even if vdsm and qemu can see new size.

Version-Release number of selected component (if applicable):
rhevm-3.3.0-0.31.beta1.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Attach direct LUN to the VM
2. Resize backend device
3. (iscsi) rescan the sessions iscsiadm -m session -R
4. Check if VM can see new size
5. Optional: Stop VM
6. Deactivate LUN and activate it again

Actual results:
Old size is in  UI and DB. vdsClient returns new capacity. 

Expected results:
New size should be displayed and DB should be updated. 

Additional info:

Comment 1 Pavel Zhukov 2013-11-05 14:51:59 UTC
Created attachment 819808 [details]
engine.log

Comment 2 Pavel Zhukov 2013-11-05 14:54:34 UTC
Created attachment 819810 [details]
vdsm.log 3.3

Comment 3 Pavel Zhukov 2013-11-05 14:56:44 UTC
Created attachment 819812 [details]
device list

Comment 6 Ayal Baron 2014-01-29 13:30:29 UTC
This was solved in 3.4

Comment 7 Aharon Canan 2014-01-29 13:47:09 UTC
so why not move it to "ON_QA" for verification in 3.4?

Comment 8 Daniel Erez 2014-01-29 14:31:58 UTC
The hasn't been resolved yet. Moving to ASSIGNED.

Comment 11 Leonid Natapov 2014-03-10 11:45:44 UTC
3.4.0-0.3.master.el6ev. We now display new size correctly in UI. VM operational.

Comment 12 errata-xmlrpc 2014-06-09 15:01:00 UTC
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.

http://rhn.redhat.com/errata/RHSA-2014-0506.html