Pivotal Knowledge Base

Follow

ifcfg-bond File Missing Configuration After Brocade Script Applied

Problem

The ifcfg-bond0 file was modified by the script and left only one line in the config file , let say this happened on segment sdw1.

The problem surfaced after the brocade script was applied to all of the servers and a reboot was initiated. After all of the servers were rebooted, the upgrade process and verification process was continued, but there was a communication error with sdw1.

ssh to server (sdw1) from the mdw using the 10GB network doesn't work as well. Connecting to sdw1 using the admin network (sdw-cm) to verify config files and log output shows.

Output of ifcfg-bond0

ETHTOOL_OPTS="-K ${DEVICE}lro on gro off"

Background

As part of the DCA V2 upgrade process to 2.0.4.0, a brocade driver patch must be applied which changes the ETH_OPTS, also ensures GRO is off, adjusts the RX ring buffer to 32768. This script modifies the ifcfg files on each server.

The brocade driver script can be found here

Solution

If an interface is unable to come up after the brocade script is complete, please inspect the ifcfg files for that server and make sure it is accurate and includes all necessary input. Compare with another server for verification.

Example of a good ifcfg-bond0 file post update

[root@sdw1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
BONDING_OPTS="miimon=100 mode=4 xmit_hash_policy=1"
BOOTPROTO="static"
DEVICE="bond0"
IPADDR="172.28.8.1"
IPV6INIT="no"
NETMASK="255.255.252.0"
NM_CONTROLLED="no"
ONBOOT="yes"
ETHTOOL_OPTS="-K ${DEVICE} lro on gro off"

Note

Internal JIRA 

Comments

Powered by Zendesk