Bug 165447 - ip.sh fails when using VLAN (802.1q) on bonded interface
Summary: ip.sh fails when using VLAN (802.1q) on bonded interface
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: rgmanager   
(Show other bugs)
Version: 4
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Lon Hohberger
QA Contact: Cluster QE
Depends On:
Blocks: 164915
TreeView+ depends on / blocked
Reported: 2005-08-09 14:42 UTC by Roland Gadinger
Modified: 2009-04-16 20:17 UTC (History)
1 user (show)

Fixed In Version: RHBA-2006-0173
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-01-06 20:22:01 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0173 normal SHIPPED_LIVE rgmanager bug fix update 2006-01-06 05:00:00 UTC

Description Roland Gadinger 2005-08-09 14:42:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko)

Description of problem:
When using tagged-VLAN (802.1q) on a bonded interface (eg. dev "bond0.2") 
ip.sh fails to find the slaves for this interface (function findSlaves() ) and 
therefore can't "start" an IP on it. 

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

How reproducible:

Steps to Reproduce:
1. Setup VLAN on a bonded interface. (eg. ifcfg-bond0.2) 
2. In "Cluster Configuration" setup an IP resource for this interface 
3. Start a Service with this resource 

Actual Results:  Service fails to start: 
clurgmgrd[1234]: <notice> start on ip "" returned 1 (generic error) 

Additional info:

The following simple hack could solve the problem: 
--- [SNIP] --- 
--- /usr/share/cluster/ip.sh.old        2005-08-09 16:36:45.772707459 +0200 
+++ /usr/share/cluster/ip.sh    2005-08-09 16:38:36.327944199 +0200 
@@ -436,6 +436,10 @@ 
                return 1 
+       ## Strip possible VLAN (802.1q) suffixes 
+       ##  - Roland Gadinger <roland.gadinger@beko.at> 
+       mastif=${mastif%%.*} 
        while read line; do 
                set - $line 
                while [ $# -gt 0 ]; do 
--- [SNIP] ---

Comment 1 Lon Hohberger 2005-08-09 14:58:09 UTC
Thanks for the patch!

Comment 2 Lon Hohberger 2005-10-04 21:48:02 UTC
Patch in CVS. Thanks!

Comment 3 Lon Hohberger 2005-12-06 18:49:28 UTC
Fixes in CVS ready for QA.

Branches: head, STABLE, RHEL4

Comment 4 Red Hat Bugzilla 2006-01-06 20:22:01 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.