On Thu, Jun 11, 2015 at 04:07:00PM -0700, Sabyasachi Sengupta wrote:
>
> Abort openvswitch startup script if ovsdb startup fails for
> some reason. This helps in getting the system startup to NOT hang
> indefinitely, as was seen in a recent report when ovsdb failed with
> "I/O error: /etc/openvswitch/conf.db: failed to lock lockfile
> (Resource temporarily unavailable)" and system remained in hung state
> forever, unless manually rebooted from console.
>
> Signed-off-by: Sabyasachi Sengupta <[email protected]>
This didn't apply for me so I applied it by hand as just:
diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in
index 97716e9..99d789c 100755
--- a/utilities/ovs-ctl.in
+++ b/utilities/ovs-ctl.in
@@ -717,7 +717,7 @@ do
done
case $command in
start)
- start_ovsdb
+ start_ovsdb || exit 1
start_forwarding
add_managers
;;
and then applied that to master. Thanks!
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev