Hide Forgot
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:
Created attachment 803975 [details] Attaching vdsm log
Created attachment 803976 [details] Attaching vdsm log
correcting step no.4 . rename a file 8 called 1800
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'}}
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.
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