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
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