From b2a9af00f51c28e74bedbec5d2466b4e51d1d2ba Mon Sep 17 00:00:00 2001 From: Brent Eagles Date: Tue, 4 Jun 2019 14:00:08 -0230 Subject: [PATCH] Start/enable OVS on neutron ovs agent nodes Start and enable the openvswitch service during host prep for hosts running the neutron ovs agent. Note: this is pre-stein only as stein uses systemd dependencies to make sure openvswitch is running when needed. Change-Id: I5cea8cf283df45c965017e444a8363278666896c Closes-Bug: #1804264 (cherry picked from commit a483d0b53c8b05607082943870c5a3d852f9a622) --- docker/services/neutron-ovs-agent.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/services/neutron-ovs-agent.yaml b/docker/services/neutron-ovs-agent.yaml index 04049ce42a..b541d354a8 100644 --- a/docker/services/neutron-ovs-agent.yaml +++ b/docker/services/neutron-ovs-agent.yaml @@ -179,6 +179,11 @@ outputs: list_concat: - {get_attr: [NeutronLogging, host_prep_tasks]} - + - name: ensure openvswitch service is enabled + service: + name: openvswitch + state: started + enabled: yes - block: - name: Copy in cleanup script copy: