Bug 1012988

Summary: [RHSC] - status dialog does not display skipped file count.
Product: Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: rhscAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: dpati, dtsang, mmahoney, pprakash, rhs-bugs, ssampat
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cb6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 07:45:44 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:
Attachments:
Description Flags
Attaching engine log
none
Attaching vdsm log
none
Attaching vdsm log none

Description RamaKasturi 2013-09-27 14:13:31 UTC
Created attachment 803974 [details]
Attaching engine log

Description of problem:
status dialog does not display skipped file count.

Version-Release number of selected component (if applicable):
rhsc-2.1.1-0.0.1.master.el6ev.noarch
vdsm-4.12.0-142.git6137a58.el6.x86_64
glusterfs-3.4.1rc1-1.el6.x86_64

How reproducible:
Always


Steps to Reproduce:
1. create a distribute volume and make sure that you have a brick size as 20GB.
2. Mount the volume using the command mount -t glusterfs <hostip>:<volname> <mntpoint>
3. create 20 files each of 1GB in the mount point using the command "for i in {1..20}; do dd if=/dev/zero of=$i count=1000 bs=1M;done"
4. Now rename a file called "8" to "18".
5. start rebalance on the volume.
6. Click on the status.


Actual results:
Status shows skipped count as "0"

Expected results:
When queried the status from CLI it shows skipped file as one.

Additional info:

Comment 1 RamaKasturi 2013-09-27 14:14:54 UTC
Created attachment 803975 [details]
Attaching vdsm log

Comment 2 RamaKasturi 2013-09-27 14:16:39 UTC
Created attachment 803976 [details]
Attaching vdsm log

Comment 3 RamaKasturi 2013-09-27 14:17:36 UTC
correcting step no.4 . rename a file 8 called 1800

Comment 5 Aravinda VK 2013-10-09 08:02:58 UTC
vdsm returns filesSkipped, need to check in ovirt engine

vdsm version: 4.12.0-177.git98c0016.el6.x86_64(cb3)

vdsClient -s 0 glusterVolumeRebalanceStatus volumeName=vol2

{'hosts': [{'filesFailed': '0',
            'filesMoved': '0',
            'filesScanned': '20',
            'filesSkipped': '1',
            'id': '70513404-33eb-4316-8de1-5b9bfe96cbda',
            'name': 'localhost',
            'runtime': 1.0,
            'status': 'COMPLETED',
            'totalSizeMoved': '0'}],
 'status': {'code': 0, 'message': 'Done'},
 'summary': {'filesFailed': '0',
             'filesMoved': '0',
             'filesScanned': '20',
             'filesSkipped': '1',
             'runtime': 1.0,
             'status': 'COMPLETED',
             'totalSizeMoved': '0'}}

Comment 6 RamaKasturi 2013-10-31 08:49:17 UTC
Works fine with the build CB6 (rhsc-2.1.2-0.22.master.el6_4.noarch).

Skipped file count is getting displayed correctly in the status dialog.

Comment 8 errata-xmlrpc 2014-02-25 07:45:44 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/RHEA-2014-0208.html