When installing OSE 2.2 on RHEL 6.6 through oo-installer and rhn the installation failed due to lack of correct repo priorities. The installer suggested the correct config to be added to rhnplugin.conf however the syntax is incorrect: oo-admin-yum-validator -o 2.2 --role broker --role client --role node Detected OpenShift repository subscription managed by RHN Classic or RHN Satellite Checking if yum-plugin-priorities is installed Checking channel/repository priorities The following repositories need package exclusions set: jb-ews-2-x86_64-server-6-rpm Make the following modifications to /etc/yum/pluginconf.d/rhnplugin.conf Add the following to the [jb-ews-2-x86_64-server-6-rpm] section: exclude="httpd httpd-tools mod_ssl" Please re-run this tool after making any recommended repairs to this system The "exclude" directive suggested contains double-quotes however the plugin does not recognise the excluded packages unless the double-quotes are removed: exclude=httpd httpd-tools mod_ssl
Thanks for noticing this, I'll make sure it's fixed in the next oo-admin-yum-validator update
Because Bug 1175200 when register rhn didn't verify Verify when register rhsm 1. oo-admin-yum-validator -o 2.2 --role broker --role client --role node -p Detected OpenShift repository subscription managed by Red Hat Subscription Manager Required OpenShift repositories have been found which are currently disabled. Enable them according to the following directions. Enable Yum and/or locally-managed RHSM repositories by running: # yum-config-manager --enable rhel-server-rhscl-6-rpms # yum-config-manager --enable rhel-6-server-ose-2.2-rhc-rpms # yum-config-manager --enable rhel-6-server-ose-2.2-node-rpms # yum-config-manager --enable jb-ews-2-for-rhel-6-server-rpms # yum-config-manager --enable rhel-6-server-ose-2.2-infra-rpms 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=rhel-6-server-rpms.priority=20 rhel-6-server-rpms --save Repositories have been found which are missing one or more required package exclusions. To prevent problems due to package conflicts, modify these repositories according to the directions given below. Set package exclusions for Yum repositories and/or locally-managed RHSM repositories by running: # yum-config-manager --setopt=jb-ews-2-for-rhel-6-server-rpms.exclude="httpd httpd-tools mod_ssl" jb-ews-2-for-rhel-6-server-rpms --save # yum-config-manager --setopt=rhel-6-server-rpms.exclude="tomcat6*" rhel-6-server-rpms --save # yum-config-manager --setopt=rhel-6-server-ose-2.2-node-rpms.exclude="facter" rhel-6-server-ose-2.2-node-rpms --save Please re-run this tool after making any recommended repairs to this system 2.yum-config-manager --setopt=jb-ews-2-for-rhel-6-server-rpms.exclude="httpd httpd-tools mod_ssl" jb-ews-2-for-rhel-6-server-rpms --save result is correct: ... exclude = httpd, httpd-tools, mod_ssl ...
Verify steps: Env: openshift-enterprise-yum-validator-2.2.2-1.git.13.8c80de9.el6op.noarch.rpm yum-plugin-priorities-1.1.30-17.el6_5.noarch.rpm Actions: Register rhn 1.rhn-channel -u user -p password -a -c jb-ews-2-x86_64-server-6-rpm 2.oo-admin-yum-validator -o 2.2 --role broker --role client --role node -p 3.oo-admin-yum-validator -o 2.2 --role broker --role client --role node -a Results: 2.# oo-admin-yum-validator -o 2.2 --role broker --role client --role node -p Detected OpenShift repository subscription managed by RHN Classic or RHN Satellite The required OpenShift repositories are missing: rhel-x86_64-server-6-ose-2.2-infrastructure rhel-x86_64-server-6-ose-2.2-rhc rhel-x86_64-server-6-rhscl-1 rhel-x86_64-server-6-ose-2.2-node Please verify that an OpenShift subscription is attached to this system using either RHN Classic or Red Hat Subscription Manager by following the instructions here: https://access.redhat.com/site/articles/522923 Checking if yum-plugin-priorities is installed Checking channel/repository priorities Resolving repository/channel/subscription priority conflicts To resolve conflicting repositories, update /etc/yum/pluginconf.d/rhnplugin.conf with the following changes: Set "priority=20" in the "[rhel-x86_64-server-6]" section, creating the section if needed Set "priority=30" in the "[jb-ews-2-x86_64-server-6-rpm]" section, creating the section if needed Repositories have been found which are missing one or more required package exclusions. To prevent problems due to package conflicts, modify these repositories according to the directions given below. Set package exclusions for RHN-managed repos by updating /etc/yum/pluginconf.d/rhnplugin.conf with the following changes: Set "exclude=tomcat6*" in the "[rhel-x86_64-server-6]" section, creating the section if needed Set "exclude=httpd httpd-tools mod_ssl" in the "[jb-ews-2-x86_64-server-6-rpm]" section, creating the section if needed Please re-run this tool after making any recommended repairs to this system 3.# oo-admin-yum-validator -o 2.2 --role broker --role client --role node -a Detected OpenShift repository subscription managed by RHN Classic or RHN Satellite The required OpenShift repositories are missing: rhel-x86_64-server-6-ose-2.2-infrastructure rhel-x86_64-server-6-ose-2.2-rhc rhel-x86_64-server-6-rhscl-1 rhel-x86_64-server-6-ose-2.2-node Please verify that an OpenShift subscription is attached to this system using either RHN Classic or Red Hat Subscription Manager by following the instructions here: https://access.redhat.com/site/articles/522923 Checking if yum-plugin-priorities is installed Checking channel/repository priorities Resolving repository/channel/subscription priority conflicts Setting priority for repository rhel-x86_64-server-6 to 20 Setting priority for repository jb-ews-2-x86_64-server-6-rpm to 30 Repositories have been found which are missing one or more required package exclusions. To prevent problems due to package conflicts, package exclusions are being set for the following repositories: jb-ews-2-x86_64-server-6-rpm: httpd httpd-tools mod_ssl rhel-x86_64-server-6: tomcat6* cat /etc/yum/pluginconf.d/rhnplugin.conf ... [jb-ews-2-x86_64-server-6-rpm] priority = 30 exclude = httpd mod_ssl httpd-tools
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0019.html