OpenShift Origin Controlling Updates
This page gives you information on controlling when OpenShift Origin is updated
OpenShift is more than just a program, it is an infrastructure. Because of it being more complex, many people do not like it being updated during normal security and/or bugfix updates. People like to monitor and check to make sure the update process goes smooth and with as little product downtime as possible. In addition, some versions of OpenShift do not work with newer versions of other packages, such as docker or etcd.
Summary: Updating vi != Updating OpenShift
The excluder excludes packages, or versions of packages, from yum (or dnf if built for fedora) updates and installs. It can also be used to remove those excludes.
There are different excluders, depending on what product you want to affect.
- Original package and script
- Excludes all openshift origin packages
- Same as origin-excluder
origin-excluder and atomic-openshift-excluder
- Excludes all openshift packages, origin or atomic-openshift
- The name of the script corresponds with the name of the packages excluded
origin-docker-excluder and atomic-openshift-docker-excluder
- Excludes versions of docker higher than openshift works with
- The version of the rpm, corresponds with the version of openshift, and thus the versions of docker that are excluded.
We are assuming you already have centos-release-openshift-origin installed, so you are able to reach the CentOS OpenShift Origin repositories. We also assume you are root, or are putting sudo in front of these commands.
yum -y install origin-excluder
All OpenShift Origin packages are now excluded.
yum -y update
- All non-openshift packages are updated
OpenShift Origin packages are no longer excluded.
yum -y update
- All packages, including openshift origin packages, are updated
All OpenShift Origin packages are excluded again.
Note: When the origin-excluder rpm is completely removed, it will un-exclude openshift packages.