Bug 1028612
| Summary: | oo-admin-check-sources does not properly set excludes | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
| Component: | Cluster Version Operator | Assignee: | John W. Lamb <jolamb> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0.0 | CC: | jialiu, 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: | |
| Embargoed: | |||
/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
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! |
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*