summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-09-22 05:40:25 -0700
committerGitHub <noreply@github.com>2017-09-22 05:40:25 -0700
commit91c1c6fc7323ca885956102248b2e5b18e5332c3 (patch)
tree416a42f284d4882433061758ec1280fd7d1a5456 /playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml
parent2d0501b63ff07b177b3fb5b1c6663ed369656240 (diff)
parent531fb444c9bdc7a9c7aa0c174474f4993e8191db (diff)
downloadopenshift-91c1c6fc7323ca885956102248b2e5b18e5332c3.tar.gz
openshift-91c1c6fc7323ca885956102248b2e5b18e5332c3.tar.bz2
openshift-91c1c6fc7323ca885956102248b2e5b18e5332c3.tar.xz
openshift-91c1c6fc7323ca885956102248b2e5b18e5332c3.zip
Merge pull request #5478 from sdodson/bz1490677
Automatic merge from submit-queue Default openshift_pkg_version to full version-release during upgrades Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1490677 The versioning scheme for 3.7 pre-releases has changed and now all versions are 3.7.0 and the release is incremented on builds, ie: 3.7.0-0.124.0 upgraded to 3.7.0-0.125.0. If we know we're an upgrade and they haven't requested a specific package version defer the defaulting of openshift_pkg_version until the upgrade playbooks and there set it to the available version including the release.
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml b/playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml
index 164baca81..466567fe6 100644
--- a/playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml
+++ b/playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml
@@ -8,7 +8,9 @@
# TODO: If the sdn package isn't already installed this will install it, we
# should fix that
-
+- debug: var=avail_openshift_version
+- debug: var=openshift_pkg_version
+- pause:
- name: Upgrade master packages
package: name={{ master_pkgs | join(',') }} state=present
vars:
@@ -16,7 +18,7 @@
- "{{ openshift.common.service_type }}{{ openshift_pkg_version }}"
- "{{ openshift.common.service_type }}-master{{ openshift_pkg_version }}"
- "{{ openshift.common.service_type }}-node{{ openshift_pkg_version }}"
- - "{{ openshift.common.service_type }}-sdn-ovs{{ openshift_pkg_version}}"
+ - "{{ openshift.common.service_type }}-sdn-ovs{{ openshift_pkg_version }}"
- "{{ openshift.common.service_type }}-clients{{ openshift_pkg_version }}"
- "tuned-profiles-{{ openshift.common.service_type }}-node{{ openshift_pkg_version }}"
- PyYAML