From 81f8180aae74f45e652ed935c6978b8a4de0a839 Mon Sep 17 00:00:00 2001 From: Brenton Leanhardt Date: Wed, 9 Mar 2016 09:03:29 -0500 Subject: Bug 1315563 - Upgrade failed to containerized install OSE 3.1 on RHEL Previously I was greping for 'ose' in the systemd units. That was only working on my machine because my Nodes were also Masters. It's safer to grep for openshift3 since that would be present for Masters or Nodes. --- .../openshift-cluster/upgrades/files/openshift_container_versions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'playbooks') diff --git a/playbooks/common/openshift-cluster/upgrades/files/openshift_container_versions.sh b/playbooks/common/openshift-cluster/upgrades/files/openshift_container_versions.sh index ba17ca671..da6bcd23c 100644 --- a/playbooks/common/openshift-cluster/upgrades/files/openshift_container_versions.sh +++ b/playbooks/common/openshift-cluster/upgrades/files/openshift_container_versions.sh @@ -10,7 +10,7 @@ if [ ${1} == "origin" ]; then image_name="openshift/origin" elif grep aep $unit_file 2>&1 > /dev/null; then image_name="aep3/aep" -elif grep ose $unit_file 2>&1 > /dev/null; then +elif grep openshift3 $unit_file 2>&1 > /dev/null; then image_name="openshift3/ose" fi -- cgit v1.2.3