Bug 1764176

Summary: geo-rep: Changelog archive file format is incorrect
Product: [Community] GlusterFS Reporter: Kotresh HR <khiremat>
Component: geo-replicationAssignee: Kotresh HR <khiremat>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6CC: bugs, pasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1764023 Environment:
Last Closed: 2019-10-24 09:20:27 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: 1741890, 1764023    
Bug Blocks: 1743634, 1746140    

Description Kotresh HR 2019-10-22 12:30:43 UTC
+++ This bug was initially created as a clone of Bug #1764023 +++

+++ This bug was initially created as a clone of Bug #1741890 +++

Description of problem:

The created changelog archive file didn't have corresponding year
and month. It created as "archive_%Y%m.tar" on python2 only systems.

[root@rhs-gp-srv7 xsync]# ls -l
total 664564
-rw-r--r--. 1 root root 680509440 Aug 15 16:51 archive_%Y%m.tar
[root@rhs-gp-srv7 xsync]#

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

How reproducible:
Always on python2 only machine (centos7)

Steps to Reproduce:
1. Create geo-rep session on python2 only machine
2. ls -l /var/lib/misc/gluster/gsyncd/<session>/<brick>/.processed/


Actual results:
changelog archive file format is incorrect. Not substituted with corresponding year and month

Expected results:
changelog archive file name should have correct year and month

Additional info:

--- Additional comment from Worker Ant on 2019-08-16 10:59:26 UTC ---

REVIEW: https://review.gluster.org/23248 (geo-rep: Fix the name of changelog archive file) posted (#1) for review on master by Kotresh HR

--- Additional comment from Worker Ant on 2019-08-22 10:03:57 UTC ---

REVIEW: https://review.gluster.org/23248 (geo-rep: Fix the name of changelog archive file) merged (#4) on master by Aravinda VK

--- Additional comment from Worker Ant on 2019-10-22 07:56:13 UTC ---

REVIEW: https://review.gluster.org/23581 (geo-rep: Fix the name of changelog archive file) posted (#1) for review on release-7 by Kotresh HR

Comment 1 Worker Ant 2019-10-22 12:58:54 UTC
REVIEW: https://review.gluster.org/23595 (geo-rep: Fix the name of changelog archive file) posted (#1) for review on release-6 by Kotresh HR

Comment 2 Worker Ant 2019-10-24 09:20:27 UTC
REVIEW: https://review.gluster.org/23595 (geo-rep: Fix the name of changelog archive file) merged (#1) on release-6 by Kotresh HR

Comment 3 Sunny Kumar 2020-01-20 23:13:21 UTC
*** Bug 1746140 has been marked as a duplicate of this bug. ***