| Summary: | An incorrect command is indicated when running oo-admin-check-sources.py with diabled repo | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ma xiaoqiang <xiama> |
| Component: | Node | Assignee: | John W. Lamb <jolamb> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.0.0 | CC: | bleanhar, libra-onpremise-devel, xtian |
| 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:14 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: | |
|
Description
Ma xiaoqiang
2013-10-24 06:40:40 UTC
This has been addressed in this pull request: https://github.com/openshift/openshift-extras/pull/108 ...which has been merged into the enterprise-2.0 branch of openshift-extras. The advice output has been changed to indicate subscription-manager instead of yum-config-manager. "subscription-manager repos --enable=repo_id" will work in the current version of RHEL against RHSM-provided repositories, but unlike yum-config-manager it will also work in future versions of RHEL where the authoritative RHSM repo configuration is stored remotely. For non-RHN, non-RHSM repositories, the appropriate yum-configuration-manager advice is given. check it on the new version #yum-config-manager --disable jb-ews-2-for-rhel-6-server-rpms --save #./oo-admin-check-sources.py --role=node Output: If this system will be providing the JBossEAP cartridge, re-run this command with the --role=node-eap argument Detected installed OpenShift Enterprise version 1.2 Checking if yum-plugin-priorities is installed The required OpenShift Enterprise repositories are disabled: ['jb-ews-2-for-rhel-6-server-rpms'] Enable these repositories with the following commands: # subscription-manager repos --enable=jb-ews-2-for-rhel-6-server-rpms |