Bug 131142
Summary: | unable to select which interface to bind to from lock_gulmd | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Cluster Suite | Reporter: | Adam "mantis" Manthei <amanthei> | ||||
Component: | gfs | Assignee: | michael conrad tadpol tilstra <mtilstra> | ||||
Status: | CLOSED ERRATA | QA Contact: | GFS Bugs <gfs-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3 | CC: | herrmann, pcfe, tao | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-05-25 16:41:10 UTC | Type: | --- | ||||
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: | 137219 | ||||||
Attachments: |
|
Description
Adam "mantis" Manthei
2004-08-27 21:39:02 UTC
Created attachment 103190 [details]
adds ability to specif ip/hostname or interface to bind to
patch looks pretty good. except that the getipbyiface() function should probably be in the utils_ip.c file. question, did you try putting the ips that are on the second interface into the servers line instead of names? nevermind. that won't work because gulm resloved back the name, which may not match when connecting to a server (which takes the name and resolves it to an ip to check, and that may not resolve to the original ip.) ok, this feels a bit off. Its kinda a hack on a very old tight binding in gulm. one name == one ip == one machine. Now this isn't true in many setups, esspcially those with multiple network devices. They typically have many ips, and this is what confuses gulm. I need to think about this some more, but I think the first step in the correct solution for this is to remove the ip from that above assumption. have code in cvs head. Adds an optional "usedev" key to a node in the nodes.ccs:nodes. Value of this key is a named device from the ip_interfaces section. If usedev is present, gulm will use the IP from that device in the ip_interfaces section. Otherwise it will grab th IP from libresolv (like before). ie: nodes{ foodad { ip_interfaces { wizzy = "1.2.3.4" } usedev = "wizzy" } } An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-466.html |