[Bugs] [Bug 1577871] New: [geo-rep]: Geo-rep scheduler fails
bugzilla at redhat.com
bugzilla at redhat.com
Mon May 14 10:19:05 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1577871
Bug ID: 1577871
Summary: [geo-rep]: Geo-rep scheduler fails
Product: GlusterFS
Version: 3.12
Component: geo-replication
Severity: high
Assignee: bugs at gluster.org
Reporter: khiremat at redhat.com
CC: bugs at gluster.org, csaba at redhat.com, rallan at redhat.com,
rhinduja at redhat.com, rhs-bugs at redhat.com,
sankarshan at redhat.com, sheggodu at redhat.com,
storage-qa-internal at redhat.com
Depends On: 1575877, 1576179
+++ This bug was initially created as a clone of Bug #1576179 +++
Description of problem:
=======================
A geo-rep session was started between a 6 node master and slave cluster.
While running the scheduler script, it failed with the following:
[ OK] Stopped Geo-replication
[ OK] Set Checkpoint
[ OK] Started Geo-replication and watching Status for Checkpoint completion
Traceback (most recent call last):
File "/usr/share/glusterfs/scripts/schedule_georep.py", line 475, in <module>
main(args)
File "/usr/share/glusterfs/scripts/schedule_georep.py", line 394, in main
slave_url)
File "/usr/share/glusterfs/scripts/schedule_georep.py", line 342, in
get_summary
out.append([session_name, summary, faulty_rows, down_rows])
UnboundLocalError: local variable 'session_name' referenced before assignment
Version-Release number of selected component (if applicable):
============================================================
mainline
How reproducible:
================
1/1
Actual results:
===============
The geo-rep scheduler script fails
Expected results:
================
The scheduler should not fail
--- Additional comment from Worker Ant on 2018-05-09 01:17:24 EDT ---
REVIEW: https://review.gluster.org/19991 (geo-rep/scheduler: Fix crash) posted
(#1) for review on master by Kotresh HR
--- Additional comment from Worker Ant on 2018-05-14 02:45:31 EDT ---
COMMIT: https://review.gluster.org/19991 committed in master by "Kotresh HR"
<khiremat at redhat.com> with a commit message- geo-rep/scheduler: Fix crash
Fix crash where session_name is referenced
before assignment. Well, this is a corner
case where the geo-rep session exists and
the status output doesn't show any rows.
This might happen when glusterd is down
or when the system is in inconsistent state
w.r.t glusterd.
fixes: bz#1576179
Change-Id: Iec1557e01b35068041b4b3c1aacee2bfa0e05873
Signed-off-by: Kotresh HR <khiremat at redhat.com>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1575877
[Bug 1575877] [geo-rep]: Geo-rep scheduler fails
https://bugzilla.redhat.com/show_bug.cgi?id=1576179
[Bug 1576179] [geo-rep]: Geo-rep scheduler fails
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list