From 5d9db0d4e3bf2ac3994cbf59168ece664d5bd49c Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 20 Oct 2016 14:18:27 +0100 Subject: prototypes: bifrost: Ignore dnsmasq service failures If this is the first time we run bifrost on a host or if we haven't run bifrost since the last reboot, restarting the dnsmasq service will fail because of conflicts with the dnsmasq process running by libvirt. This is later on 'fixed' by bifrost by killing the one from libvirt. Make sure that this spurious failure will not prevent the rest of the cleanup process to move on. Change-Id: Iebf37881570c27cb07cea3cecdb0fa8ac3fc511b Signed-off-by: Markos Chandras --- prototypes/bifrost/scripts/destroy-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prototypes/bifrost/scripts/destroy-env.sh') diff --git a/prototypes/bifrost/scripts/destroy-env.sh b/prototypes/bifrost/scripts/destroy-env.sh index 674645777..cdc55df1b 100755 --- a/prototypes/bifrost/scripts/destroy-env.sh +++ b/prototypes/bifrost/scripts/destroy-env.sh @@ -46,7 +46,7 @@ fi rm -rf /var/lib/libvirt/images/*.qcow2 echo "restarting services" -service dnsmasq restart +service dnsmasq restart || true service libvirtd restart service ironic-api restart service ironic-conductor start -- cgit 1.2.3-korg