Bug 1071123

Summary: Failed to create jbosseap app
Product: OpenShift Online Reporter: chunchen <chunchen>
Component: ImageAssignee: Dan McPherson <dmcphers>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: dmcphers, mfojtik, wsun
Target Milestone: ---Keywords: TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-12 03:09:12 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
creating jbosseap log in development.log none

Description chunchen 2014-02-28 06:25:30 UTC
Created attachment 868860 [details]
creating jbosseap log in development.log

Description of problem:
It's failed to create jbosseap app, will meet 'cp: cannot stat `/var/lib/openshift/531024b0e12c49d649000048/jbosseap//versions/6/template/*': Not a directory' error, for detail logs at attachment.

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

How reproducible:
always

Steps to Reproduce:
1. Create an app
rhc app create ceap60 jbosseap-6

Actual results:
Application Options
-------------------
Domain:     cdm
Cartridges: jbosseap-6 (addtl. costs may apply)
Gear Size:  default
Scaling:    yes

Creating application 'ceap60' ... 
cp: cannot stat `/var/lib/openshift/531024b0e12c49d649000048/jbosseap//versions/6/template/*': Not a directory

Expected results:
Should create jbosseap successfully

Additional info:

Comment 2 Dan McPherson 2014-02-28 16:42:50 UTC
https://github.com/openshift/origin-server/pull/4849

Comment 3 chunchen 2014-03-03 01:57:02 UTC
It's fixed, verified on devenv_4446, please refer to the following results:

$ rhc app create ceap1 jbosseap-6
Application Options
-------------------
Domain:     cdm
Cartridges: jbosseap-6 (addtl. costs may apply)
Gear Size:  default
Scaling:    no

Creating application 'ceap1' ... Artifact: ./ROOT.war is still deploying
done


Waiting for your DNS name to be available ... done

Cloning into 'ceap1'...
Warning: Permanently added 'ceap1-cdm.dev.rhcloud.com,54.205.75.178' (RSA) to the list of known hosts.

Your application 'ceap1' is now available.

  URL:        http://ceap1-cdm.dev.rhcloud.com/
  SSH to:     5313e0e6e8b702fc3d000064.rhcloud.com
  Git remote: ssh://5313e0e6e8b702fc3d000064.rhcloud.com/~/git/ceap1.git/
  Cloned to:  /home/chunchen/test/ceap1

Run 'rhc show-app ceap1' for more details about your app.