Hide Forgot
Description of problem: oo-diagnostics gives out a wrong installation command when the oo-admin-yum-validator package is not be installed Version-Release number of selected component (if applicable): rubygem-openshift-origin-common-1.17.2.2-1.el6op.noarch How reproducible: always Steps to Reproduce: 1.setup the testing env with openshift.sh or remove the openshift-enterprise-yum-validator.noarch package on an existing testing env 2.rum 'oo-diagnostics' #oo-diagnostics Actual results: <--snip--> WARN: test_yum_configuration oo-admin-yum-validator is not installed. Please install with: yum install openshift-enterprise-release-2.0 This tool helps validate and fix your package source configuration. Incorrect configuration could lead to failure to install the correct RPMs. The wrong command:yum install openshift-enterprise-release-2.0 When running the command #yum install openshift-enterprise-release-2.0 No package openshift-enterprise-release-2.0 available. Expected results: oo-diagnostics should give out the correct command. The correct command: yum install openshift-enterprise-yum-validator.noarch Additional info:
Hm, yeah, good point. I guess it should say yum install openshift-enterprise-release-2.0.* or just yum install openshift-enterprise-release I think I prefer the former.
Next build of rubygem-openshift-origin-common Changed upstream to just say: yum install openshift-enterprise-release After further thought, it doesn't seem like there is much point to making this version-specific for enterprise; whatever version is available in the current channels should be the right one or the issues they see won't be helped by this specific message. origin-server: https://github.com/openshift/origin-server/pull/4397 commit 57a925c3d80d7ae779560fd36c85c9886d5b1d76 Author: Luke Meyer <lmeyer> Date: Mon Dec 23 12:04:53 2013 -0500 <oo-diagnostics> OSE version-agnostic - bug 1043340 enterprise-server: https://github.com/openshift/enterprise-server/pull/177
check on puddle [2.0.1/2013-12-31.1] # oo-diagnostics <--snip--> WARN: test_yum_configuration oo-admin-yum-validator is not installed. Please install with: yum install openshift-enterprise-release This tool helps validate and fix your package source configuration. Incorrect configuration could lead to failure to install the correct RPMs. # yum install openshift-enterprise-release <--snip--> Installed: openshift-enterprise-release.noarch 0:2.0.0c-1.git.34.4185e96.el6op Dependency Installed: openshift-enterprise-yum-validator.noarch 0:2.0.0c-1.git.34.4185e96.el6op Complete! move it to verify