Bug 969872

Summary: Custom cartridge without 'embedded' is not added to an app correctly
Product: OpenShift Online Reporter: Clayton Coleman <ccoleman>
Component: PodAssignee: Rajat Chopra <rchopra>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.xCC: rchopra, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-03 15:06:05 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 Clayton Coleman 2013-06-02 20:32:50 UTC
A custom, non embedded (does not support embedding) DB cartridge can be installed to a non-scaled app, but does not deploy a new gear (or an embedded gear).

rhc create-app foo php-5.3
rhc add-cartridge "http://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-redis-cart&commit=no_embedded"

Broker reports success, but the redis cart is colocated with PHP (despite not having 'embedded'). SSH to main gear and there is no "redis" dir, which means that the install logic failed.

The cartridge cannot be removed because of bug 969724.

Should probably not block sprint exit, workaround is to add the 'embedded' tag.  Long term we want to disable embedded, so we want folks to not have to set it on their carts to function properly.

Comment 1 Rajat Chopra 2013-06-03 06:03:04 UTC
The keyword 'embedded' holds no significance to the broker. If it is a non-scalable app, the broker forces all cartridges to be located on one gear.