Bug 1167247
Summary: | Syntax of jb-ews repo priority suggested by oo-installer is wrong | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Siamak Sadeghianfar <ssadeghi> |
Component: | Installer | Assignee: | John W. Lamb <jolamb> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 2.2.0 | CC: | bleanhar, jokerman, libra-bugs, libra-onpremise-devel, mmccomas, pruan, yanywang |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | openshift-enterprise-yum-validator-2.2.3-1.el6op | Doc Type: | Bug Fix |
Doc Text: |
Cause: In a previous release, some changes were made so that the code that generates certain output could be made less redundant. This introduced a formatting bug for the RHN-specific output.
Consequence: Certain messages - in particular "exclude" repository settings advice - contained improperly quoted portions. This could lead users to break their RHN configurations.
Fix: The logic for quoting parameters was updated so it could be enabled only when appropriate
Result: The advice generated by oo-admin-yum-validator is correct.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-08 15:34:33 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: | |
Embargoed: |
Description
Siamak Sadeghianfar
2014-11-24 09:54:40 UTC
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 |