| Summary: | Cannot install a downloadable cartridge, via cartridge-add, that previously installed without problems | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Edward Archibald <edward.archibald> |
| Component: | Pod | Assignee: | Rajat Chopra <rchopra> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.x | CC: | ccoleman, jhou, rchopra |
| 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-01-24 03:34:27 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
Edward Archibald
2013-11-26 02:54:34 UTC
P.S. I no-opped all of the life-cycle scripts so that they just do an exit 0 and I still get the same result. Doesn't fail for a non-scaled app I dont know what has changed in the cartridge but here is a grep of 'Public-Port-Name' on the manifest - Public-Port-Name: DATASERVICE_PROXY_PORT Public-Port-Name: REPL_MASTER_PROXY_PORT Public-Port-Name: MANAGER_HTTP_PROXY_PORT Public-Port-Name: JGROUPS_PROXY_PORT Public-Port-Name: MYSQL_DIRECT_PROXY_PORT Public-Port-Name: REMOTE_DEBUG_PROXY_PORT Public-Port-Name: REMOTE_SERVICE_PROXY_POR Public-Port-Name: ROUTER_GATEWAY_PROXY_PORT Public-Port-Name: TREPCTL_CLIENT_PORT That is 9 ports wanting to be exposed out. We have a limit of 5 per gear (which would include any other cartridges' ports that want to be proxied). If this is not new in the cartridge, my guess is that the previously you must have tried to install this cartridge on a non-scalable application (where we do not attempt to expose public ports). This time you must have tried on a scalable application. ps - With new code in the pipeline for a release, the error messaging will improve. Instead of seeing the unhelpful 'Failed to execute all parallel...' something like this (or better) should show up - 'No ports were left available to map 127.1.244.129:16000: uid=1001'. Hi Rajat, Thanks for tracking this down! Since the manifest that the cartridge uses has not changed since I was able to successfully launch it, I would like to speculate that in the release of OpenShift where I was able to launch the cartridge, the 'extra' ports, over and above the 5 allowed, were likely just silently ignored. With the previous release, I was aware that the 'extra' ports were not being bound but only because I simply investigated after the cartridge was launched. I am glad there will be a good descriptive error message. I would add, to the message, some indication of what the maximum allowed is as well as what you already propose. Finally, it would be handy, if the broker persists the information, to be able to look up a detailed log of what occurred via the 'Reference ID' provided. In my case, it was: 5da1dcf5ab25125f4343302f7c7456c5 So something internally is generating this ID and I would imagine that there is some 'content' associated with it. Any possibility of exposing a simple rhc api call to see what the issue is. Something like 'rhc issue-fetch 5da1dcf5ab25125f4343302f7c7456c5' Cheers, Edward It can be added to a non-scale app Moving to verified according to above comments. |