Commit 2dc1237c authored by Manuel Franceschini's avatar Manuel Franceschini
Browse files

Log warning instead of raising OpExecError for ndisc6


Signed-off-by: default avatarManuel Franceschini <livewire@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 3794937c
......@@ -306,7 +306,11 @@ def StartMaster(start_daemons, no_voting):
utils.RunCmd(["arping", "-q", "-U", "-c 3", "-I", master_netdev, "-s",
master_ip, master_ip])
elif ipcls == netutils.IP6Address:
utils.RunCmd(["ndisc6", "-q", "-r 3", master_ip, master_netdev])
try:
utils.RunCmd(["ndisc6", "-q", "-r 3", master_ip, master_netdev])
except errors.OpExecError:
# TODO: Better error reporting
logging.warning("Can't execute ndisc6, please install if missing")
if err_msgs:
_Fail("; ".join(err_msgs))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment