Bug 855172 - application create and cartridge create should be able to handle multiple cartridges
Summary: application create and cartridge create should be able to handle multiple car...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Master
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Lili Nader
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-06 21:21 UTC by John (J5) Palmieri
Modified: 2015-05-15 00:52 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-09 22:28:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John (J5) Palmieri 2012-09-06 21:21:29 UTC
Description of problem:

In rhc we want the ability to support multiple cartridge additions with one command.  While we could implement this in the client it is error prone and would involve ordering cart additions based on dependencies and rolling back if one of the many calls to the broker fails.  This code should live in the broker as part of the REST API.  

examples:

rhc app create myapp ruby-1.9 mysql mongodb rockmongo
rhc cartridge add mysql mongodb rockmongo -a myapp

Order of cartridges should not matter as long as the list of cartridges can be successfully installed together.  The broker should reorder based on dependency issues.

On error the broker should be specific on what failed. e.g. The mysql cartridge failed to install; You specified rockmongo but it requires mongodb; No standalone cartridge was specified; The ruby-1.9 and ruby-1.8 cartridges conflict and can not be installed in the same application; etc.

Comment 1 Clayton Coleman 2012-09-06 21:26:10 UTC
Creating an app with multiple cartridges at once is a highly desirable step to reduce the tedium of quickstarts - especially for the very common php-5.3 / mysql-5.1 combo.

Comment 2 John Poelstra 2012-09-07 18:55:13 UTC
Clayton needs to know what scope is.  Lili will open a story and close this bug.

Comment 3 Mike McGrath 2012-10-10 18:33:03 UTC
Just following up, anyone know if this story got created?  If so please note it and close bug

 - Bug Triaging meeting

Comment 4 Lili Nader 2012-11-09 22:28:24 UTC
This is done as part of user story US3043

https://rally1.rallydev.com/#/4670514611d/detail/userstory/9293624682


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