| Summary: | oo-admin-check-sources reports yum repo multiple times | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Luke Meyer <lmeyer> |
| Component: | Cluster Version Operator | Assignee: | John W. Lamb <jolamb> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0.0 | CC: | libra-onpremise-devel, xiama |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-16 09:11:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Addressed in https://github.com/openshift/openshift-extras/pull/132 [root@broker check-sources]# python ./oo-admin-check-sources.py No roles have been specified. Attempting to guess the roles for this system... If the roles listed below are incorrect or incomplete, please re-run this script with the appropriate --role arguments broker node client node-eap Detected OpenShift Enterprise repository subscription managed by RHN Classic or RHN Satellite. Detected installed OpenShift Enterprise version 1.2 Checking if yum-plugin-priorities is installed Checking channel/repository priorities Resolving repository/channel/subscription priority conflicts To resolve conflicting repositories, update repo priority by running: # yum-config-manager --setopt=openshift_node.priority=40 openshift_node --save Please re-run this tool after making any recommended repairs to this system [root@broker check-sources]# Addressed in https://github.com/openshift/openshift-extras/tree/enterprise-2.0/admin/check-sources #python oo-admin-check-sources.py -r client Detected OpenShift Enterprise repository subscription managed by RHN Classic or RHN Satellite. Detected installed OpenShift Enterprise version 1.2 Checking if yum-plugin-priorities is installed Checking channel/repository priorities Resolving repository/channel/subscription priority conflicts To resolve conflicting repositories, update repo priority by running: # yum-config-manager --setopt=openshift_client.priority=40 openshift_client --save Please re-run this tool after making any recommended repairs to this system |
Description of problem: When I enable an openshift yum repo on a host where RHN channels are already set up, it tells me to deprioritize the yum repo... 5 times. Version-Release number of selected component (if applicable): b1878d053ac6e8725351b61382188a09959a5d6e Steps to Reproduce: 1. Install an OSE 1.2 all-in-one host with RHN subscription 2. Add the openshift_node yum repo 3. Run oo-admin-check-sources.py Results: [root@broker check-sources]# ./oo-admin-check-sources.py This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. No roles have been specified. Attempting to guess the roles for this system... If the roles listed below are incorrect or incomplete, please re-run this script with the appropriate --role arguments broker node client node-eap Detected installed OpenShift Enterprise version 1.2 Checking if yum-plugin-priorities is installed Checking channel/repository priorities Resolving repository/channel/subscription priority conflicts To resolve conflicting repositories, update repo priority by running: # yum-config-manager --setopt=openshift_node.priority=40 openshift_node --save # yum-config-manager --setopt=openshift_node.priority=40 openshift_node --save # yum-config-manager --setopt=openshift_node.priority=40 openshift_node --save # yum-config-manager --setopt=openshift_node.priority=40 openshift_node --save # yum-config-manager --setopt=openshift_node.priority=40 openshift_node --save Please re-run this tool after making any recommended repairs to this system