Bug 786354 - `rhc-app` cannot recognize names of embed cartridges
Summary: `rhc-app` cannot recognize names of embed cartridges
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 1.x
Hardware: All
OS: All
high
medium
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-01 07:52 UTC by Linqing Lu
Modified: 2013-04-30 22:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-02 23:55:43 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Linqing Lu 2012-02-01 07:52:06 UTC
Description of problem:
when trying to embed cartrdges like mysql-5.1 into app via new `rhc-app` client tool, it cannot recognize names of embed cartridges

Version-Release number of selected component (if applicable):
devenv_1575
rhc-0.85.10-1.el6_2.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
it returns "Cartridge name is required"

Expected results:
cartridges can be embedded like using rhc-ctl-app

Additional info:
[root@intel-q8200novt-8-6 python]# rhc app cartridge list

List of supported embedded cartridges:

Obtaining list of cartridges (please excuse the delay)...
mongodb-2.0, cron-1.4, mysql-5.1, postgresql-8.4, 10gen-mms-agent-0.1, phpmyadmin-3.4, metrics-0.1, phpmoadmin-1.0, rockmongo-1.1, jenkins-client-1.4

[root@intel-q8200novt-8-6 python]# rhc app cartridge add mysql-5.1 -a python
Cartridge name is required
Obtaining list of cartridges (please excuse the delay)...
......

Comment 1 Abhishek Gupta 2012-02-01 18:04:45 UTC
This is not a bug. You have specified an incorrect command format. The correct command format is:

rhc app cartridge add -a <app-name> -c <cartridge-name>

and so, in your case, you should run,

rhc app cartridge add -a python -c mysql-5.1


The usage description for "rhc app" lists the cartridge option:
 -c|--cartridge    cartridge    The embedded cartrige to manage (required for the cartridge command)

Comment 2 Linqing Lu 2012-02-02 03:04:56 UTC
yes, it works.
thanks for clarification!

Comment 3 Mrunal Patel 2012-02-02 23:55:43 UTC
Closing verified bugs.


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