Bug 977148 - Scaled, non-web framework cartridges are not reported correctly via rhc-list-ports
Summary: Scaled, non-web framework cartridges are not reported correctly via rhc-list-...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-23 19:14 UTC by Clayton Coleman
Modified: 2015-05-14 23:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-12 21:32:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Clayton Coleman 2013-06-23 19:14:43 UTC
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.

Scenario:

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

Expected:

rhc-list-ports should list both scaled redis instances and their external ports.


Note You need to log in before you can comment on or make changes to this bug.