Bug 905656
| Summary: | [broker-util] oo-accept-broker doesn't summarize errors and set return code | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Luke Meyer <lmeyer> |
| Component: | Node | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.1 | CC: | baulakh, bleanhar, libra-onpremise-devel, snansi, xjia |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
The previous version of oo-accept-broker did not summarize the total errors, and it did not set a return code equal to the number of errors. This has been fixed in the current version of oo-accept-broker. A summary of total errors, and a return code equal to the number of errors is now returned.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-28 19:09:54 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
Luke Meyer
2013-01-29 21:28:25 UTC
Fixed with openshift-origin-broker-util-1.0.15-1 and in origin as well - https://github.com/openshift/origin-server/pull/1308 Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/ab4ccb050969fdf1d9c21334a04ffe8336d93be3 <oo-accept-broker> fix bug 905656 - exit message and status Wait new puddle to test; For the puddle: http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/1.1.z/2013-02-04.1/ [root@broker ~]# rpm -qa | grep openshift-origin-broker-util openshift-origin-broker-util-1.0.12-1.el6op.noarch Version: http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/1.1.z/2013-02-06.2/ openshift-origin-broker-util-1.0.15-1.el6op.noarch Verify: [root@broker ~]# service mongod status mongod is stopped [root@broker ~]# oo-accept-broker FAIL: LOCAL: mongod service not running exception: connect failed FAIL: error logging into mongo db: localhost:27017/openshift_broker --username openshift, exit code: 1 FAIL: Did not get expected HTTP 200 response from https://localhost/broker/rest/application_templates 3 ERRORS [root@broker ~]# echo $? 3 [root@broker ~]# service mongod start Starting mongod: [ OK ] [root@broker ~]# oo-accept-broker PASS [root@broker ~]# echo $? 0 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. http://rhn.redhat.com/errata/RHSA-2013-0582.html |