Bug 986429
Summary: | Backupvolfile server option should work internal to GlusterFS framework | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Harshavardhana <fharshav> |
Component: | core | Assignee: | Harshavardhana <fharshav> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | cww, gluster-bugs, mdl123 |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.5.1beta | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-24 11:03:03 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: | 989038, 1071800 |
Description
Harshavardhana
2013-07-19 19:01:49 UTC
REVIEW: http://review.gluster.org/5400 (glusterfsd: Backupvolfile server option should not be in a mount script) posted (#2) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/5400 (glusterfsd: Backupvolfile server option should not be in a mount script) posted (#3) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/5400 (glusterfsd: Round robin DNS should not be relied upon with config service availability for clients.) posted (#4) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/5400 (glusterfsd: Round robin DNS should not be relied upon with config service availability for clients.) posted (#5) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/5400 (glusterfsd: Round robin DNS should not be relied upon with config service availability for clients.) posted (#6) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/5400 (glusterfsd: Round robin DNS should not be relied upon with config service availability for clients.) posted (#7) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/5400 (glusterfsd: Round robin DNS should not be relied upon with config service availability for clients.) posted (#8) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/5400 (glusterfsd: Round robin DNS should not be relied upon with config service availability for clients.) posted (#9) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/5400 (glusterfsd: Round robin DNS should not be relied upon with config service availability for clients.) posted (#10) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/5400 (glusterfsd: Round robin DNS should not be relied upon with config service availability for clients.) posted (#11) for review on master by Harshavardhana (harsha) COMMIT: http://review.gluster.org/5400 committed in master by Anand Avati (avati) ------ commit b610f1be7cd71b8f3e51c224c8b6fe0e7366c8cf Author: Harshavardhana <harsha> Date: Wed Jul 24 13:16:08 2013 -0700 glusterfsd: Round robin DNS should not be relied upon with config service availability for clients. Backupvolfile server as it stands is slow and prone to errors with mount script and its combination with RRDNS. Instead in theory it should use all the available nodes in 'trusted pool' by default (Right now we don't have a mechanism in place for this) Nevertheless this patch provides a scenario where a list of volfile-server can be provided on command as shown below ----------------------------------------------------------------- $ glusterfs -s server1 .. -s serverN --volfile-id=<volname> \ <mount_point> ----------------------------------------------------------------- OR ----------------------------------------------------------------- $ mount -t glusterfs -obackup-volfile-servers=<server2>: \ <server3>:...:<serverN> <server1>:/<volname> <mount_point> ----------------------------------------------------------------- Here ':' is used as a separator for mount script parsing Now these will be remembered and recursively attempted for fetching vol-file until exhausted. This would ensure that the clients get 'volume' configs in a consistent manner avoiding the need to poll through RRDNS. Change-Id: If808bb8a52e6034c61574cdae3ac4e7e83513a40 BUG: 986429 Signed-off-by: Harshavardhana <harsha> Reviewed-on: http://review.gluster.org/5400 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Anand Avati <avati> REVIEW: http://review.gluster.org/7317 (gfapi: glfs_set_volfile_server() now takes multiple hostnames) posted (#1) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/7317 (gfapi: glfs_set_volfile_server() now entertains multiple calls) posted (#2) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/7317 (gfapi: glfs_set_volfile_server() now entertains multiple calls) posted (#3) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/7317 (gfapi: glfs_set_volfile_server() now entertains multiple calls) posted (#4) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/7317 (gfapi: glfs_set_volfile_server() now entertains multiple calls) posted (#5) for review on master by Harshavardhana (harsha) REVIEW: http://review.gluster.org/7317 (gfapi: glfs_set_volfile_server() now entertains multiple calls) posted (#6) for review on master by Harshavardhana (harsha) COMMIT: http://review.gluster.org/7317 committed in master by Anand Avati (avati) ------ commit 0c1d78f5c52c69268ec3a1d8d5fcb1a1bf15f243 Author: Harshavardhana <harsha> Date: Sat Mar 22 01:33:06 2014 -0700 gfapi: glfs_set_volfile_server() now entertains multiple calls Previous API: glfs_set_volfile_server (..., const char *host, ...) - single call New API's: glfs_set_volfile_server (..., const char *host1, ...) glfs_set_volfile_server (..., const char *host2, ...) Multiple calls to this function with different volfile servers, port or transport-type would create a list of volfile servers which would be polled during `volfile_fetch_attempts()` glfs_unset_volfile_server (..., const char *host, ...) to remove a server from the list (this is provided for future usage) Change-Id: I313efbd3efbd0214e2a71465f33195788df406cc BUG: 986429 Signed-off-by: Harshavardhana <harsha> Reviewed-on: http://review.gluster.org/7317 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Niels de Vos <ndevos> Reviewed-by: Anand Avati <avati> REVIEW: http://review.gluster.org/7384 (gfapi: glfs_set_volfile_server() now entertains multiple calls) posted (#1) for review on release-3.5 by Harshavardhana (harsha) REVIEW: http://review.gluster.org/7384 (gfapi: glfs_set_volfile_server() now entertains multiple calls) posted (#2) for review on release-3.5 by Harshavardhana (harsha) REVIEW: http://review.gluster.org/7384 (gfapi: glfs_set_volfile_server() now entertains multiple calls) posted (#3) for review on release-3.5 by Harshavardhana (harsha) REVIEW: http://review.gluster.org/7384 (gfapi: glfs_set_volfile_server() now entertains multiple calls) posted (#4) for review on release-3.5 by Harshavardhana (harsha) REVIEW: http://review.gluster.org/7384 (gfapi: glfs_set_volfile_server() now entertains multiple calls) posted (#5) for review on release-3.5 by Harshavardhana (harsha) COMMIT: http://review.gluster.org/7384 committed in release-3.5 by Niels de Vos (ndevos) ------ commit ba328340e878c3156418bb3443c35a7db02a0f4b Author: Harshavardhana <harsha> Date: Wed Apr 2 13:43:36 2014 -0700 gfapi: glfs_set_volfile_server() now entertains multiple calls Backport from - http://review.gluster.org/7317 Previous API: glfs_set_volfile_server (..., const char *host, ...) - single call New API's: glfs_set_volfile_server (..., const char *host1, ...) glfs_set_volfile_server (..., const char *host2, ...) Multiple calls to this function with different volfile servers, port or transport-type would create a list of volfile servers which would be polled during `volfile_fetch_attempts()` glfs_unset_volfile_server (..., const char *host, ...) to remove a server from the list (this is provided for future usage) >> Change-Id: I313efbd3efbd0214e2a71465f33195788df406cc >> BUG: 986429 >> Signed-off-by: Harshavardhana <harsha> >> Reviewed-on: http://review.gluster.org/7317 >> Tested-by: Gluster Build System <jenkins.com> >> Reviewed-by: Niels de Vos <ndevos> >> Reviewed-by: Anand Avati <avati> Change-Id: If0020f6b8775bdbe987563247c83d59a2d3744ad BUG: 986429 Signed-off-by: Harshavardhana <harsha> Reviewed-on: http://review.gluster.org/7384 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Niels de Vos <ndevos> The first (and last?) Beta for GlusterFS 3.5.1 has been released [1]. Please verify if the release solves this bug report for you. In case the glusterfs-3.5.1beta release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED. Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-May/040377.html [2] http://supercolony.gluster.org/pipermail/gluster-users/ *** Bug 989038 has been marked as a duplicate of this bug. *** 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-3.5.1, please reopen this bug report. glusterfs-3.5.1 has been announced on the Gluster Users mailinglist [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] http://supercolony.gluster.org/pipermail/gluster-users/2014-June/040723.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |