Bug 1086924

Summary: Console hangout trying to create an app with github as source
Product: OpenShift Online Reporter: enzo - Eduardo Garcia <enzo>
Component: ocAssignee: Clayton Coleman <ccoleman>
Status: CLOSED WORKSFORME QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.xCC: jforrest
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Mac OS   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-14 17:41:06 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:
Attachments:
Description Flags
RHC freeze none

Description enzo - Eduardo Garcia 2014-04-11 20:27:51 UTC
Created attachment 885565 [details]
RHC freeze

Description of problem:

When I try to create an application using and external source for a cartrige the console never return to the prompt.

example:

rhc app-create unify php-5.3 mysql-5.5 cron https://cartreflect-claytondev.rhcloud.com/reflect?github=smerrill/openshift-community-pressflow7 --from-code=https://github.com/smerrill/pressflow-7-quickstart.git
Using cron-1.4 (Cron 1.4) for 'cron'
The cartridge 'https://cartreflect-claytondev.rhcloud.com/reflect?github=smerrill/openshift-community-pressflow7' will be downloaded and installed

Application Options
-------------------
Domain:      anexus
Cartridges:  php-5.3, mysql-5.5, cron-1.4, https://cartreflect-claytondev.rhcloud.com/reflect?github=smerrill/openshift-community-pressflow7
Source Code: https://github.com/smerrill/pressflow-7-quickstart.git
Gear Size:   default
Scaling:     no

Creating application 'unify' ... 

After check in the web admin the app is created, but the console never finish the command.

Version-Release number of selected component (if applicable):

rhc 1.22.5

How reproducible:


Steps to Reproduce:

Execute the command: 

rhc app-create unify php-5.3 mysql-5.5 cron https://cartreflect-claytondev.rhcloud.com/reflect?github=smerrill/openshift-community-pressflow7 --from-code=https://github.com/smerrill/pressflow-7-quickstart.git

Actual results:

The command never finish

Expected results:

The command return to the command line.

Comment 1 Jessica Forrester 2014-04-14 17:41:06 UTC
I tried this and it took about 5 minutes to complete, the command line is waiting for your application to be set up on OpenShift and that includes the time to download your source from github and the time to download the downloadable cartridge.  The web console will show that the app exists right away but it may still be in the process of building in the background, if the status of the app is "Unknown" instead of "Started" in the web console then that is probably the case.

Please try it again and if you still see the issue let us know.