Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 153296 Details for
Bug 230783
openais doesn't receive multicast traffic during xend startup
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to work around xend bridged networking brain damage
cman-init.diff (text/plain), 2.08 KB, created by
Ryan McCabe
on 2007-04-23 17:52:11 UTC
(
hide
)
Description:
patch to work around xend bridged networking brain damage
Filename:
MIME Type:
Creator:
Ryan McCabe
Created:
2007-04-23 17:52:11 UTC
Size:
2.08 KB
patch
obsolete
>? cman-init.diff >Index: cman >=================================================================== >RCS file: /cvs/cluster/cluster/cman/init.d/cman,v >retrieving revision 1.26.4.2 >diff -u -r1.26.4.2 cman >--- cman 15 Nov 2006 16:55:16 -0000 1.26.4.2 >+++ cman 23 Apr 2007 17:46:03 -0000 >@@ -132,6 +132,47 @@ > return 0 > } > >+xend_bridged_net_enabled() { >+ current_runlevel=$(/sbin/runlevel 2>/dev/null | awk '{ print $2 }' 2>/dev/null) >+ if [ -z "$current_runlevel" ]; then >+ errmsg='Unable to determine the current runlevel' >+ return 1 >+ fi >+ >+ /sbin/chkconfig --levels "$current_runlevel" xend 2>/dev/null >+ if [ $? -ne 0 ]; then >+ # xend doesn't start at this runlevel. >+ return 1 >+ fi >+ >+ if [ ! -f /etc/xen/xend-config.sxp ]; then >+ # xend isn't configured to use bridged networking. >+ return 1 >+ fi >+ >+ egrep "^[[:blank:]]*\([[:blank:]]*network-script[[:blank:]]+network-bridge([[:blank:]]*\)|[[:blank:]]+)" /etc/xen/xend-config.sxp 2>/dev/null >+ if [ $? -ne 0 ]; then >+ # xend isn't configured to use bridged networking. >+ return 1 >+ fi >+ return 0 >+} >+ >+xend_bridged_net_start() { >+ if [ ! -x /etc/xen/scripts/network-bridge ]; then >+ if [ -f /etc/xen/scripts/network-bridge ]; then >+ errmsg='The xend bridged network script cannot be run' >+ else >+ errmsg='The xend bridged network script is missing' >+ fi >+ return 1 >+ fi >+ >+ /sbin/modprobe netbk >& /dev/null >+ /sbin/modprobe netloop >& /dev/null >+ errmsg=$(/etc/xen/scripts/network-bridge start 2>&1) || return 1 >+ return 0 >+} > > fence_xvmd_enabled() > { >@@ -163,6 +204,20 @@ > start() > { > echo "Starting cluster: " >+ >+ xend_bridged_net_enabled >+ if [ $? -eq 0 ] >+ then >+ echo -n " Enabling workaround for Xend bridged networking... " >+ xend_bridged_net_start >+ if [ $? -eq 0 ] >+ then >+ echo "done" >+ else >+ echo "failed: $errmsg" >+ return 1 >+ fi >+ fi > echo -n " Loading modules... " > ulimit -c unlimited > load_modules
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230783
:
149150
|
149151
|
149152
|
149153
| 153296