Bug 1790438

Summary: S57glusterfind-delete-post.py not python3 ready (does not decode bytestring)
Product: [Community] GlusterFS Reporter: Sunny Kumar <sunkumar>
Component: glusterfindAssignee: Sunny Kumar <sunkumar>
Status: CLOSED NEXTRELEASE QA Contact: bugs <bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7CC: bugs, khiremat, lars.berntzon, rhs-bugs, sabose, storage-qa-internal, sunkumar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1789478 Environment:
Last Closed: 2020-01-14 19:42:13 UTC Type: ---
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: 1789478, 1790449    
Bug Blocks:    

Description Sunny Kumar 2020-01-13 11:04:41 UTC
+++ This bug was initially created as a clone of Bug #1789478 +++

Description of problem:
The script tools/glusterfind/S57glusterfind-delete-post.py does not decode
a byte string to char correctly.

Version-Release number of selected component (if applicable):
Found on version 6.7 on ubuntu but the error is still there in latest master commit in git.

How reproducible:
Always

Steps to Reproduce:
1. Delete a volume
2. Examine the logfile glusterd.log which will show the error.

Actual results:
Error print

Expected results:
Should run without errors and delete the local session directories.

Additional info:

--- Additional comment from Sunny Kumar on 2020-01-09 17:02:58 UTC ---

I suppose this is upstream bug filed incorrectly in downstream

--- Additional comment from Worker Ant on 2020-01-10 14:39:40 UTC ---

REVIEW: https://review.gluster.org/23994 (glusterfind: python3 compatibility) posted (#1) for review on master by Sunny Kumar

--- Additional comment from Worker Ant on 2020-01-13 03:20:07 UTC ---

REVIEW: https://review.gluster.org/23994 (glusterfind: python3 compatibility) merged (#2) on master by Aravinda Vishwanathapura

Comment 1 Worker Ant 2020-01-13 11:07:08 UTC
REVIEW: https://review.gluster.org/24003 (glusterfind: python3 compatibility) posted (#1) for review on release-7 by Sunny Kumar

Comment 2 Worker Ant 2020-01-14 19:42:13 UTC
REVIEW: https://review.gluster.org/24003 (glusterfind: python3 compatibility) merged (#2) on release-7 by Rinku Kothiya