From 3a683a0c64f4d7983f98330dc9e51ae962147977 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Sat, 4 Jun 2016 13:44:37 -0500 Subject: [PATCH] [GATE UNBLOCKER] Fix virsh default network removal With updated version of libvirt the default network is created but is not enabled. Because the default has changed the virsh command to disable the network is raising an error because the network is already disabled. To resolve this we added "failed_when: false" to the default network disable task. Change-Id: I198db581db22655dc8791ba40a77a39b362c1b73 Signed-off-by: Kevin Carter --- tasks/nova_compute_kvm_virsh_net_remove.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/nova_compute_kvm_virsh_net_remove.yml b/tasks/nova_compute_kvm_virsh_net_remove.yml index cf270334..2eb3410a 100644 --- a/tasks/nova_compute_kvm_virsh_net_remove.yml +++ b/tasks/nova_compute_kvm_virsh_net_remove.yml @@ -22,6 +22,7 @@ - name: Disable libvirt default network command: "virsh net-autostart default --disable" + failed_when: false when: default_net.stdout|search('default') tags: - nova-kvm