Bug 1091071
| Summary: | rhc shows haproxy cartridge in every framework gear | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Luke Meyer <lmeyer> | ||||
| Component: | oc | Assignee: | Fabiano Franz <ffranz> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 2.x | CC: | bmeng, bperkins, ffranz, jokerman, lnader, mmccomas, wjiang | ||||
| Target Milestone: | --- | Keywords: | UpcomingRelease | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-10-10 00:47:22 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1109382 | ||||||
| Attachments: |
|
||||||
|
Description
Luke Meyer
2014-04-24 19:16:43 UTC
Reassigning to check if we can fix this in the broker. The REST API call involved is: /broker/rest/application/<id>/gear-groups So this API returns gear groups and not gears. Using the above steps to reproduce 2 gear groups are returned: First groups contains one gear and one cartridge. Second groups contains 5 gears and two cartridges (php and haproxy) So the API returns correct information but it is lacking the granularity that the client tools need which is per gear info. I believe the necessary granularity is actually present if the "include=endpoints" option is added at the gear-groups endpoint. This indicates per-gear which cartridge is present. Created attachment 916514 [details]
response from /application/id/gear_groups?include=endpoints
Verified that include=endpoints will return the additional information required to show which gears have the haproxy cartridge and which gears have only the php cartridge (see attachment). Assigning back to client tools team to make the changes on rhc. Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/d858baefbad9d0d85ee46fa05a8642d169cad039 Bug 1091071 - properly displays haproxy on app gears Checked on devenv_5011 with rhc-1.28.3, and the result is as expected result now, so verify this issue. |