Bug 1569892

Summary: tcmur: fix set dev size
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Prasanna Kumar Kalever <prasanna.kalever>
Component: tcmu-runnerAssignee: Prasanna Kumar Kalever <prasanna.kalever>
Status: CLOSED ERRATA QA Contact: krishnaram Karthick <kramdoss>
Severity: high Docs Contact:
Priority: unspecified    
Version: cns-3.10CC: nberry, pkarampu, pprakash, prasanna.kalever, rhs-bugs, sankarshan
Target Milestone: ---   
Target Release: CNS 3.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tcmu-runner-1.2.0-19.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-12 09:25:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1568861    

Description Prasanna Kumar Kalever 2018-04-20 08:05:55 UTC
Description of problem:

currently we are checking for a wrong return value, with which we always update num lbas but don't actually update the dev_size in the kernel.


This is a bug introduced at,

Author:     Xiubo Li <xiubli>
AuthorDate: Wed Mar 14 01:26:23 2018 -0400
Commit:     Xiubo Li <xiubli>
CommitDate: Wed Mar 14 18:21:03 2018 -0400

    libtcmu: Add tcmu flags and size setting helpers support

    Signed-off-by: Xiubo Li <xiubli>

Fix:

https://github.com/open-iscsi/tcmu-runner/pull/401

commit 0e1ddbd67d2928fb75d9080d7b07e79809f081f7 (refs/remotes/origin/retvalue, refs/heads/retvalue)
Author: Prasanna Kumar Kalever <prasanna.kalever>
Date:   Tue Apr 17 20:04:52 2018 +0530

    tcmur: fix ret value in tcmur_dev_update_size
    
    Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever>

Comment 8 errata-xmlrpc 2018-09-12 09:25:34 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.

https://access.redhat.com/errata/RHEA-2018:2691