Red Hat Bugzilla – Bug 977148
Scaled, non-web framework cartridges are not reported correctly via rhc-list-ports
Last modified: 2015-05-14 19:22:20 EDT
rhc-list-ports should correctly list all of the exposed TCP endpoints for scaled, non web-cartridges from the head gear. If this is blocked by scaled db cartridges being unable to report multiple environment variables, then we need to transition this to a call to the broker to fetch the complete cart/port/host mapping for all gears via the story in the HA epic.
1. rhc create-app foo php-5 -s
2. rhc add-cartridge -a foo "http://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-redis-cart&commit=0.1.0"
3. rhc scale-cartridge redis -a foo 2
4. ssh to head gear
5. run rhc-list-ports
rhc-list-ports should list both scaled redis instances and their external ports.
Replacing this with: https://trello.com/card/formalize-the-mechanism-with-which-scaled-non-framework-exposes-hosts-and-ports-information-to-the-primary-gear/50fc6bb487602f214b003f71/196