Bug 1475475
| Summary: | [geo-rep]: Improve the output message to reflect the real failure with schedule_georep script | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> | |
| Component: | geo-replication | Assignee: | Aravinda VK <avishwan> | |
| Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rhgs-3.3 | CC: | csaba, khiremat, rallan, rhs-bugs, sheggodu, storage-qa-internal | |
| Target Milestone: | --- | |||
| Target Release: | RHGS 3.4.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | rebase | |||
| Fixed In Version: | glusterfs-3.12.2-1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1499159 (view as bug list) | Environment: | ||
| Last Closed: | 2018-09-04 06:34:19 UTC | Type: | Bug | |
| 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: | ||||
| Bug Blocks: | 1499159, 1499392, 1503134 | |||
|
Description
Rahul Hinduja
2017-07-26 18:31:18 UTC
Upstream Patch: https://review.gluster.org/18442 (master) Verified with build: glusterfs-geo-replication-3.12.2-7.el7rhgs.x86_64 If incorrect master volume information is provided it fails and prints the correct output as: [root@dhcp41-226 scripts]# python /usr/share/glusterfs/scripts/schedule_georep.py MASTER 10.70.41.29 SLAVE [NOT OK] Volume MASTER does not exist [root@dhcp41-226 scripts]# If incorrect slave host or slave volume is provided it fails and prints the correct output as: [root@dhcp41-226 scripts]# python /usr/share/glusterfs/scripts/schedule_georep.py vol0 10.70.41.29 vol1 [NOT OK] No active geo-replication sessions between vol0 and 10.70.41.29::vol1 geo-replication command failed [root@dhcp41-226 scripts]# python /usr/share/glusterfs/scripts/schedule_georep.py vol0 10.70.42.9 vol2 [NOT OK] No active geo-replication sessions between vol0 and 10.70.42.9::vol2 geo-replication command failed [root@dhcp41-226 scripts]# This fix addresses the concerns raised with incorrect master volume, slave host or slave volume. Moving this bug to verified state. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2607 |