diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-06-14 10:24:59 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-06-14 10:27:54 -0300 |
commit | a7b4676ee4a5388efc8b801a79c62e5e7627c467 (patch) | |
tree | c63a989e1892dc4b941da144a29d2d53fa898a7c /roles | |
parent | fea08b9ba213b69667e103ff9dfd4383218e9eac (diff) | |
download | openshift-a7b4676ee4a5388efc8b801a79c62e5e7627c467.tar.gz openshift-a7b4676ee4a5388efc8b801a79c62e5e7627c467.tar.bz2 openshift-a7b4676ee4a5388efc8b801a79c62e5e7627c467.tar.xz openshift-a7b4676ee4a5388efc8b801a79c62e5e7627c467.zip |
Attempt to fix containerized node start failure with Docker 1.10.
It appears that in some situations (can't reliably reproduce yet), node
will fail to start. This appears to be related to the node-dep service
and possibly it's environment file.
This file is also an EnvironmentFile for the node service, but it's only
created by the node-dep service, and it looks like it may try to read
it's environment before the node-dep service has fully started and
created the file.
Workaround with a an explicit service start.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_node/tasks/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml index 657e99e87..242437a85 100644 --- a/roles/openshift_node/tasks/main.yml +++ b/roles/openshift_node/tasks/main.yml @@ -110,6 +110,10 @@ changed_when: false when: openshift.common.is_containerized | bool +- name: Start and enable node dep + service: name={{ openshift.common.service_type }}-node-dep enabled=yes state=started + when: openshift.common.is_containerized | bool + - name: Start and enable node service: name={{ openshift.common.service_type }}-node enabled=yes state=started register: node_start_result |