diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2017-06-29 17:59:24 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2017-06-29 17:59:24 +0200 |
commit | de3d6c983200335ab685faea9f00777ce3b7c3fc (patch) | |
tree | 6d613b4def268a3ac0ace5141008a51a05d02f0f | |
parent | d108da5c4447950f07f9f0ead181383d8c6b4b02 (diff) | |
download | openshift-de3d6c983200335ab685faea9f00777ce3b7c3fc.tar.gz openshift-de3d6c983200335ab685faea9f00777ce3b7c3fc.tar.bz2 openshift-de3d6c983200335ab685faea9f00777ce3b7c3fc.tar.xz openshift-de3d6c983200335ab685faea9f00777ce3b7c3fc.zip |
upgrade: fix name for the etcd system container
Fixes this error when running upgrade_etcd.yml:
The conditional check 'etcd_container_version | default('99') |
version_compare(etcd_upgrade_version,'<')' failed. The error was:
Version comparison: LooseVersion instance has no attribute 'version'
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/etcd/upgrade.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/etcd/upgrade.yml b/playbooks/common/openshift-cluster/upgrades/etcd/upgrade.yml index 0431c1ce0..39e82498d 100644 --- a/playbooks/common/openshift-cluster/upgrades/etcd/upgrade.yml +++ b/playbooks/common/openshift-cluster/upgrades/etcd/upgrade.yml @@ -36,7 +36,7 @@ - not openshift.common.is_etcd_system_container | bool - name: Record containerized etcd version (runc) - command: runc exec etcd_container rpm -qa --qf '%{version}' etcd\* + command: runc exec etcd rpm -qa --qf '%{version}' etcd\* register: etcd_container_version_runc failed_when: false # AUDIT:changed_when: `false` because we are only inspecting |