Bug 167217

Summary: ip.sh should ignore non-UP interfaces
Product: [Retired] Red Hat Cluster Suite Reporter: Lon Hohberger <lhh>
Component: rgmanagerAssignee: Lon Hohberger <lhh>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: cluster-maint, cmarthal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rgmanager-1.9.46-0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-09 10:45:24 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: 164915    
Attachments:
Description Flags
Fixes bz and includes handling of DOWNed interfaces none

Description Lon Hohberger 2005-08-31 17:17:21 UTC
Description of problem:

ip.sh currently checks all interfaces for a matching IP in the subnet.  If eth0
has a matching IP but the cable is pulled, while eth1 has a matching IP and IS
up, the ip resource will fail to start since the link of eth0 is not up.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Configure eth0 with 10.1.1.2
2. Configure eth1 with 10.1.1.3
3. Unplug eth0
4. Run:
   OCF_RESKEY_address=10.1.1.4 OCF_RESKEY_monitor_link=1 \
      /usr/share/cluster/ip.sh start
  
Actual results:
Fail to start


Expected results:
IP address assigned to eth1.


Additional info:

Comment 1 Stanko Kupcevic 2005-09-16 16:17:14 UTC
Created attachment 118900 [details]
Fixes bz and includes handling of DOWNed interfaces

Patch attached

Comment 2 Stanko Kupcevic 2005-09-16 16:31:34 UTC
Patch in CVS, setting to modified

Comment 3 Lon Hohberger 2006-05-09 10:45:24 UTC
This was fixed in U3; I don't know why it's still open.