Hide Forgot
Description of problem: $ python oo-admin-check-sources.py -c beta2.ini --role=broker --role=node-eap --role=client --oo-version=2.0 --fix Detected OpenShift Enterprise repository subscription managed by RHN Classic or RHN Satellite. Checking if yum-plugin-priorities is installed Checking channel/repository priorities Setting package exclusions for the following repositories: jbappplatform-6-x86_64-server-6-rpm: httpd httpd-tools mod_ssl jb-ews-2-x86_64-server-6-rpm: httpd httpd-tools mod_ssl rhel-x86_64-server-6: tomcat6* rhel-x86_64-server-6-beta: tomcat6* Running it again produces the same output. $ python oo-admin-check-sources.py -c beta2.ini --role=broker --role=node-eap --role=client --oo-version=2.0 --fix Detected OpenShift Enterprise repository subscription managed by RHN Classic or RHN Satellite. Checking if yum-plugin-priorities is installed Checking channel/repository priorities Setting package exclusions for the following repositories: jbappplatform-6-x86_64-server-6-rpm: httpd httpd-tools mod_ssl jb-ews-2-x86_64-server-6-rpm: httpd httpd-tools mod_ssl rhel-x86_64-server-6: tomcat6* rhel-x86_64-server-6-beta: tomcat6*
/etc/yum/pluginconf.d/rhnplugin.conf has: ... [rhel-x86_64-server-6] priority = 20 exclude = ['tomcat6*', '"[\'tomcat6*\']"]', "['tomcat6*'"] [rhel-x86_64-server-6-beta] priority = 20 exclude = ['tomcat6*', '"[\'tomcat6*\']"]', "['tomcat6*'"] ...
This issue also happened with rhsm. # python oo-admin-check-sources.py -c beta2.ini --role=broker --oo-version=2.0 Detected OpenShift Enterprise repository subscription managed by Red Hat Subscription Manager. Checking if yum-plugin-priorities is installed Checking channel/repository priorities The following repositories need package exclusions set: rhel-6-server-rpms rhel-6-server-beta-rpms Make the following modifications to /etc/yum.repos.d/redhat.repo Add the following line to the [rhel-6-server-rpms] section: exclude=tomcat6* Add the following line to the [rhel-6-server-beta-rpms] section: exclude=tomcat6* Please re-run this tool after making any recommended repairs to this system # python oo-admin-check-sources.py -c beta2.ini --role=broker --oo-version=2.0 -f Detected OpenShift Enterprise repository subscription managed by Red Hat Subscription Manager. Checking if yum-plugin-priorities is installed Checking channel/repository priorities Setting package exclusions for the following repositories: rhel-6-server-rpms: tomcat6* rhel-6-server-beta-rpms: tomcat6* # python oo-admin-check-sources.py -c beta2.ini --role=broker --oo-version=2.0 Detected OpenShift Enterprise repository subscription managed by Red Hat Subscription Manager. Checking if yum-plugin-priorities is installed Checking channel/repository priorities The following repositories need package exclusions set: rhel-6-server-rpms rhel-6-server-beta-rpms Make the following modifications to /etc/yum.repos.d/redhat.repo Add the following line to the [rhel-6-server-rpms] section: exclude=tomcat6* Add the following line to the [rhel-6-server-beta-rpms] section: exclude=tomcat6* Please re-run this tool after making any recommended repairs to this system
Addressed in https://github.com/openshift/openshift-extras/pull/173
check on openshift-openshift-extras-c9d6230 for rhsm: #./oo-admin-check-sources.py -r broker -p -o 2.0 -r node -r node-eap -r client -c beta2.ini -s rhsm -a #./oo-admin-check-sources.py -r broker -p -o 2.0 -r node -r node-eap -r client -c beta2.ini -p Output: Detected OpenShift Enterprise repository subscription managed by RHN Classic or RHN Satellite. Checking if yum-plugin-priorities is installed Checking channel/repository priorities No problems could be detected! for rhn: #./oo-admin-check-sources.py -r broker -p -o 2.0 -r node -r node-eap -r client -c beta2.ini -s rhn -a #./oo-admin-check-sources.py -r broker -p -o 2.0 -r node -r node-eap -r client -c beta2.ini -s -p Output: Detected OpenShift Enterprise repository subscription managed by Red Hat Subscription Manager. Detected installed OpenShift Enterprise version 2.0 Checking if yum-plugin-priorities is installed Checking channel/repository priorities No problems could be detected!