From de3d6c983200335ab685faea9f00777ce3b7c3fc Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Thu, 29 Jun 2017 17:59:24 +0200 Subject: 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 --- playbooks/common/openshift-cluster/upgrades/etcd/upgrade.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'playbooks/common/openshift-cluster/upgrades/etcd/upgrade.yml') 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 -- cgit v1.2.3