Bug 1054405
Summary: | oo-admin-yum-validator fails when provision a OSE 2.0 host with only MongoDB or ActiveMQ components. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Ricardo Martinelli de Oliveira <rmartine> |
Component: | oc | Assignee: | Brenton Leanhardt <bleanhar> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.0.0 | CC: | bleanhar, jialiu, libra-onpremise-devel, lmeyer, ludovic.meurillon, rmartine, xiama |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-05-21 20:30:37 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
Ricardo Martinelli de Oliveira
2014-01-16 18:42:58 UTC
I wonder if something is preventing the rhn-channel from working. As mentioned in the linked kbase article does "rhn-channel -a -c rhel-x86_64-server-6-ose-2.0-rhc" solve the problem? I can definitely reproduce this. Actually, talking with John. This is probably openshift.sh failing to add the rhel-x86_64-server-6-ose-2.0-rhc channel. We decided that anytime "oo-admin-yum-validator -o 2.0 --role broker" is called that we would also add the rhc channel. We need to make sure openshift.sh does the same. Mind trying out openshift.sh from https://github.com/openshift/openshift-extras/pull/269 ? Don't you think it could be possible to add some parameters possibilities to oo-admin-yum-validator ? like : oo-admin-yum-validator -o 2.0 --role msgserver oo-admin-yum-validator -o 2.0 --role dbserver In my case, I installed a MsgServer and a DbServer without need to add the rhel-x86_64-server-6-ose-2.0-rhc channel. ActiveMq and MongoDb don't need rhc. I think the original could be located around : https://github.com/brenton/openshift-extras/blob/2f08a335820e8826417f162f51004be9b84eeb99/enterprise/install-scripts/generic/openshift.sh#L764 When you need infra rhn channel (like need_infra_repo check it), it does not mean that you are on a broker host (msgserver and dbserver need infra channels to be confiured). (In reply to Brenton Leanhardt from comment #4) > Actually, talking with John. This is probably openshift.sh failing to add > the rhel-x86_64-server-6-ose-2.0-rhc channel. We decided that anytime > "oo-admin-yum-validator -o 2.0 --role broker" is called that we would also > add the rhc channel. We need to make sure openshift.sh does the same. We will certainly consider improving oo-admin-yum-validator and your suggestion certainly makes sense. If the current workaround is works for you please let us know. Then we can clone this bug and record the feature request. Just as an aside... we should perhaps reconsider the coupling of client and broker in yum-validator for the next major release. It doesn't really make sense. |