Browse Source

etcd upgrade playbook is not currently applicable to embedded etcd installs

Fixes Bug 1395945
Scott Dodson 8 years ago
parent
commit
08010c30e1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      playbooks/common/openshift-cluster/upgrades/etcd/main.yml

+ 3 - 0
playbooks/common/openshift-cluster/upgrades/etcd/main.yml

@@ -14,6 +14,9 @@
   connection: local
   connection: local
   become: no
   become: no
   tasks:
   tasks:
+  - fail:
+      msg: 'The etcd upgrade playbook does not support upgrading embedded etcd, simply run the normal playbooks and etcd will be upgraded when your master is updated.'
+    when:  "{{ groups.oo_etcd_to_config | default([]) | length == 0 }}"
   - name: Evaluate etcd_hosts_to_upgrade
   - name: Evaluate etcd_hosts_to_upgrade
     add_host:
     add_host:
       name: "{{ item }}"
       name: "{{ item }}"