glusterd2 icon indicating copy to clipboard operation
glusterd2 copied to clipboard

failed to pause geo-replication

Open Madhu-1 opened this issue 6 years ago • 3 comments

steps to reproduce

1)create volume 2)create geo-replication cli157 geo-replication create testvol2 [email protected]::testvol -v -f Geo-replication session created successfully

3)try to pause the geo-replication

cli157 geo-replication pause testvol2 [email protected]::testvol -v -f

ERRO[2018-05-07 14:07:39.448552] geo-replicationPausefailed error="Request failed with HTTP Status code 500\nopen /var/run/gluster/gsyncd-testvol2-192.168.122.157-testvol.pid: no such file or directory" volume=testvol2 Geo-replication Pause failed

Error: Request failed with HTTP Status code 500 open /var/run/gluster/gsyncd-testvol2-192.168.122.157-testvol.pid: no such file or directory

the error message should be proper

Madhu-1 avatar May 07 '18 11:05 Madhu-1

Good catch, Thanks. This pid file will get created by gsyncd process once Geo-rep is started(I don't see georep start command). Two fixes required 1) catch this error, 2) Allow pause only when monitor status is Started.

aravindavk avatar May 08 '18 08:05 aravindavk

@aravindavk is this also fixed in #1055

Madhu-1 avatar Dec 17 '18 04:12 Madhu-1

@aravindavk is this also fixed in #1055

not yet

aravindavk avatar Dec 17 '18 05:12 aravindavk