When the variable "STP" is not set, the last executed command is False
while running ifup-ovs for OVSBridge. This causes the ifup-ovs
script to return an error resulting in a failure.

Signed-off-by: Gurucharan Shetty <[email protected]>
---
 rhel/etc_sysconfig_network-scripts_ifup-ovs |    1 +
 1 file changed, 1 insertion(+)

diff --git a/rhel/etc_sysconfig_network-scripts_ifup-ovs 
b/rhel/etc_sysconfig_network-scripts_ifup-ovs
index 3538721..ae095a0 100755
--- a/rhel/etc_sysconfig_network-scripts_ifup-ovs
+++ b/rhel/etc_sysconfig_network-scripts_ifup-ovs
@@ -69,6 +69,7 @@ case "$TYPE" in
                        ${OTHERSCRIPT} ${CONFIG}
                fi
                [ -n "${STP}" ] && ovs-vsctl --no-wait set bridge "${DEVICE}" 
stp_enable="${STP}"
+               exit 0
                ;;
        OVSPort)
                /sbin/ifup "$OVS_BRIDGE"
-- 
1.7.9.5

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to