Red Hat Bugzilla – Full Text Bug Listing
|Summary:||Handle multiple networks better|
|Product:||[Community] GlusterFS||Reporter:||Jeff Darcy <jdarcy>|
|Status:||CLOSED DEFERRED||QA Contact:|
|Version:||3.3-beta||CC:||aavati, ahatfiel, bugs, gluster-bugs, jzhou, rgowdapp, rwheeler|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2014-12-14 14:40:28 EST||Type:||Bug|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
Description Jeff Darcy 2012-06-13 11:32:11 EDT
This is kind of a continuation of our long-standing problem with names vs. IPs for identifying cluster nodes. Configurations with separate front-end and back-end networks are becoming ever more common, and users are often running into some predictable problems. For today's example, see the following ridiculous URL. http://community.gluster.org/q/we-have-a-glusterfs-3-3-system-using-a-10gbe-san-being-mounted-by-clients-on-a-1gb-san-the-peers-are-all-on-192-168-12-0-24-however-the-clients-are-on-192-168-10-0-24-with-no-access-to-192-168-12-0-24-is-there-anyway-to-mount-this-using-the-mount--t-glusterfs-rather-than-nfs-it-looks-like-the-peer-ip-is-pushed-to-the-client-which-then-can-t-reach-those-ips-and-fails-can-i-have-two-ips-listed-per-glusterfs-node-on-different-networks What I propose is that we add a new command (and underlying infrastructure) for "gluster peer alias OLD_NAME_OR_ADDR NEW_NAME_OR_ADDR [public|private] [primary]". This allows users to manage aliases themselves, instead of e.g. having names supersede addresses as a side effect of "peer probe". The public/private/primary options have the following meanings. * A name/address marked "public" will *not* be used for internal cluster communication. * A name/address marked "private" will *not* be presented to clients e.g. as the remote-host value for a protocol/client translator. * Among the names/addresses that are valid for a particular purpose, the one marked "primary" (if present) will be used unless overridden. For example, servers will generally probe one another using the primary address, but "gluster peer probe $not_primary_address" will override that. Long term, we might need to deal with multiple address groups instead of just public/private, perhaps tied into multi-tenant identities and more complex policies, all the way up to something almost like a VLAN. This proposal is merely an intermediate step to address the needs that seem to exist in the field today.
Comment 1 Jin Zhou 2013-02-04 16:02:47 EST
Can we do the following? 1. Create a new configuration file for inter-node communication only. Something like this: node1_FQDN: IP1_addr Priority IB1_addr Priority IP2_addr Priority node2_FQDN: IP1_addr Priority IB1_addr Priority IP2_addr Priority node3_FQDN: IP1_addr Priority IB1_addr Priority IP2_addr Priority 2. All inter-node communications will try to use those IP/IB addr in the order of priority. These configuration files exist only on RHS nodes, and they are only used by gluster processes. 3. FUSE clients are not allowed to use these addresses/names if they appear in this file. 4. Be default, if this file is empty (or does not exist), then inter-node communication behaves just like today, it will use the same IP addr as the FUSE clients. Thanks Jin Zhou
Comment 2 Andrew Hatfield 2013-02-04 20:47:50 EST
I like the idea of having multiple groups, rather than just public/private. That way the user has the option to define any number of access mechanisms, including BE replication.
Comment 3 Niels de Vos 2014-11-27 09:53:42 EST
The version that this bug has been reported against, does not get any updates from the Gluster Community anymore. Please verify if this report is still valid against a current (3.4, 3.5 or 3.6) release and update the version, or close this bug. If there has been no update before 9 December 2014, this bug will get automatocally closed.