Latest Tag for OpenShift Metrics pulls the newest released image
Environment
- Red Hat OpenShift Container Platform 3.3+
- Red Hat OpenShift Enterprise 3.1-3.2
Issue
- I have not seen this error before
- I am encountering this issue after redploying metrics using the
latesttag
Resolution
- You should specify the version that matches closest to the version of OpenShift you are running.
- Using the Diagnostic Steps, you can confirm the OpenShift version being run as well as the image version specified in the components Replication Controller
Root Cause
- With regard to the This page is not included, but the link has been rewritten to point to the nearest parent document.Cluster Metrics images, the
latesttag pulls the latest version available of these images, rather than the latest version for the OpenShift version you are running.- This can cause issues as these images are not tested for older versions of OpenShift Container Platform.
Diagnostic Steps
- Determine OpenShift version being run:
openshift version
- Determine the image version specified in the metrics components replication controllers:
oc get rc -n openshift-infra -o jsonpath='{range .items[*]}{"RC: "}{.metadata.name}{"\n Image:"}{.spec.template.spec.containers[*].image}{"\n"}{end}'
SBR
Product(s)
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.