From 5ebcd23f0d606196d68687224ab3379e924e8a65 Mon Sep 17 00:00:00 2001 From: Jiri Stransky Date: Thu, 11 Jan 2018 14:50:09 +0100 Subject: [PATCH] OpenShift: Properly disable bare metal OVS We're deploying containerized OpenShift, which means openshift-ansible deploys also containerized OVS. When not disabled explicitly, the bare metal OVS service seemed to persist at least partially, and it likely caused issues with the containerized OVS, where nodes in `kubectl get nodes` would go from Ready status to NotReady shortly after the deployment finished. Change-Id: I8952198be7f78a699cf363af2e10f26714e94850 Closes-Bug: #1741224 --- extraconfig/services/openshift-master.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/extraconfig/services/openshift-master.yaml b/extraconfig/services/openshift-master.yaml index cdfbd8675b..4dcadefcd0 100644 --- a/extraconfig/services/openshift-master.yaml +++ b/extraconfig/services/openshift-master.yaml @@ -133,10 +133,16 @@ outputs: # into openshift-ansible but it's not been released yet. # This code will go away as soon as an rpm with the required # roles hits the repo. - - name: Install NetworkManager + - name: OpenShift networking preparation hosts: all tasks: + - name: Stop and disable OVS on bare metal + service: + name: openvswitch + state: stopped + enabled: no + - name: install NetworkManager package: name: NetworkManager