summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-06-10 15:23:28 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-06-10 15:23:28 -0300
commit0c983829f2c43a9e7078a5395f768ba965685268 (patch)
tree185d709e6aa700c2f35844de8dafad51735e4986 /playbooks/byo
parentfea08b9ba213b69667e103ff9dfd4383218e9eac (diff)
downloadopenshift-0c983829f2c43a9e7078a5395f768ba965685268.tar.gz
openshift-0c983829f2c43a9e7078a5395f768ba965685268.tar.bz2
openshift-0c983829f2c43a9e7078a5395f768ba965685268.tar.xz
openshift-0c983829f2c43a9e7078a5395f768ba965685268.zip
Fix docker 1.10 upgrade on embedded etcd masters.
The tasks were attempting to stop/start etcd, which would be fine on the stop but on start could actually kick the non-containerized etcd service which happens to be layed down even though it's unused. When the service was requested to start again it would claim the port embedded etcd needs and the master would then fail to come up. Instead use the correct etcd_container service.
Diffstat (limited to 'playbooks/byo')
-rw-r--r--playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml b/playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml
index 6c12e8245..8b1b2fb1b 100644
--- a/playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml
+++ b/playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml
@@ -59,7 +59,7 @@
- "{{ openshift.common.service_type }}-master-api"
- "{{ openshift.common.service_type }}-master-controllers"
- "{{ openshift.common.service_type }}-node"
- - etcd
+ - etcd_container
- openvswitch
failed_when: false
when: docker_upgrade is defined and docker_upgrade | bool and openshift.common.is_containerized | bool
@@ -77,7 +77,7 @@
- name: Restart containerized services
service: name={{ item }} state=started
with_items:
- - etcd
+ - etcd_container
- openvswitch
- "{{ openshift.common.service_type }}-master"
- "{{ openshift.common.service_type }}-master-api"