Bug 1671637 - geo-rep: Issue with configparser import
Summary: geo-rep: Issue with configparser import
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kotresh HR
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-01 06:58 UTC by Kotresh HR
Modified: 2019-03-25 16:33 UTC (History)
1 user (show)

Fixed In Version: glusterfs-6.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-25 16:33:15 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22138 0 None Open geo-rep: Fix configparser import issue 2019-02-01 07:00:46 UTC

Description Kotresh HR 2019-02-01 06:58:39 UTC
Description of problem:
'configparser' is backported to python2 and can
be installed using pip (pip install configparser).
So trying to import 'configparser' first and later
'ConfigParser' can cause issues w.r.t unicode strings.

Solution:

Always try importing 'ConfigParser' first and then
'configparser'. This solves python2/python3 compat
issues.

Version-Release number of selected component (if applicable):
mainilne

Comment 1 Worker Ant 2019-02-01 07:00:47 UTC
REVIEW: https://review.gluster.org/22138 (geo-rep: Fix configparser import issue) posted (#1) for review on master by Kotresh HR

Comment 2 Worker Ant 2019-02-05 04:20:45 UTC
COMMIT: https://review.gluster.org/22138 committed in master by "Amar Tumballi" <amarts> with a commit message- geo-rep: Fix configparser import issue

'configparser' is backported to python2 and can
be installed using pip (pip install configparser).
So trying to import 'configparser' first and later
'ConfigParser' can cause issues w.r.t unicode strings.

Always try importing 'ConfigParser' first and then
'configparser'. This solves python2/python3 compat
issues.

Change-Id: I2a87c3fc46476296b8cb547338f35723518751cc
fixes: bz#1671637
Signed-off-by: Kotresh HR <khiremat>

Comment 3 Shyamsundar 2019-03-25 16:33:15 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-6.0, please open a new bug report.

glusterfs-6.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://lists.gluster.org/pipermail/announce/2019-March/000120.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.