Преглед на файлове

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.
Brenton Leanhardt преди 9 години
родител
ревизия
81f8180aae
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      playbooks/common/openshift-cluster/upgrades/files/openshift_container_versions.sh

+ 1 - 1
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