[FrontPage] [TitleIndex] [WordIndex

This is a read-only archived version of wiki.centos.org

OpenShift Origin Controlling Updates

This page gives you information on controlling when OpenShift Origin is updated

1. Problem

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

2. Solution

OpenShift Excluder

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.

3. Versions

4. Usage

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.

  1. yum -y install origin-excluder

    • All OpenShift Origin packages are now excluded.

  2. yum -y update

    • All non-openshift packages are updated
  3. origin-excluder unexclude

    • OpenShift Origin packages are no longer excluded.

  4. yum -y update

    • All packages, including openshift origin packages, are updated
  5. origin-excluder exclude

    • All OpenShift Origin packages are excluded again.

Note: When the origin-excluder rpm is completely removed, it will un-exclude openshift packages.

2023-09-11 07:23