diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-05-05 12:29:10 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-05-12 16:07:04 -0300 |
commit | 1b720085f2448794190e224011a07134b9425310 (patch) | |
tree | d897a9c8c0893223df59390dc82982f8f6b8afdd /roles/openshift_node/tasks | |
parent | cdf248533495b456008c8976fe4e216952590c6e (diff) | |
download | openshift-1b720085f2448794190e224011a07134b9425310.tar.gz openshift-1b720085f2448794190e224011a07134b9425310.tar.bz2 openshift-1b720085f2448794190e224011a07134b9425310.tar.xz openshift-1b720085f2448794190e224011a07134b9425310.zip |
Fixed openvswitch not upgrading.
Problem was a missing restart as systemd file did not change, so no
notification was triggered. Added a notification on a file that
contains the image version which does change.
This exposed a bug where openvswitch shuts down the node and you return
to no functioning nodes. Fixed by reordering the handlers so openvswitch
restarts first.
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r-- | roles/openshift_node/tasks/systemd_units.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/systemd_units.yml b/roles/openshift_node/tasks/systemd_units.yml index be4b4ed61..f3262803a 100644 --- a/roles/openshift_node/tasks/systemd_units.yml +++ b/roles/openshift_node/tasks/systemd_units.yml @@ -14,6 +14,8 @@ dest: /etc/sysconfig/openvswitch when: openshift.common.is_containerized | bool register: install_ovs_sysconfig + notify: + - restart openvswitch - name: Install OpenvSwitch docker service file template: |