[Bug 758024] New: 'findif' doesn't properly detect interfaces
https://bugzilla.novell.com/show_bug.cgi?id=758024 https://bugzilla.novell.com/show_bug.cgi?id=758024#c0 Summary: 'findif' doesn't properly detect interfaces Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: richlv@nakts.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.10.229 Version/11.61 this is a downstream report. apparently, findif from resource-agents-3.9.2-2.1.2.i586 has a bug where it fails to properly detect network an ip belongs to and errors out with : ERROR: Cannot use default route w/o netmask this might be dependent on the order the routes are reported; this was not present in opensuse 11.4, but that could be just because routes were returned in a different order there. upstream report and patch : https://github.com/ClusterLabs/resource-agents/issues/52 Reproducible: Always Steps to Reproduce: # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.5.1 0.0.0.0 UG 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 192.168.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 # OCF_RESKEY_ip=192.168.5.201 /usr/lib/heartbeat/findif Actual Results: ERROR: Cannot use default route w/o netmask [192.168.5.201] Expected Results: eth0 netmask 255.255.255.0 broadcast 192.168.5.255 workaround : # OCF_RESKEY_ip=192.168.5.201 OCF_RESKEY_cidr_netmask=24 /usr/lib/heartbeat/findif -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=758024
https://bugzilla.novell.com/show_bug.cgi?id=758024#c1
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=758024
https://bugzilla.novell.com/show_bug.cgi?id=758024#c2
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=758024
https://bugzilla.novell.com/show_bug.cgi?id=758024#c4
Tim Serong
https://bugzilla.novell.com/show_bug.cgi?id=758024
https://bugzilla.novell.com/show_bug.cgi?id=758024#c5
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=758024
https://bugzilla.novell.com/show_bug.cgi?id=758024#c6
--- Comment #6 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com