Bug 1023428

Summary: Missed OPENSHIFT_<cart>_DIR/etc/ directory for app
Product: OpenShift Online Reporter: chunchen <chunchen>
Component: ContainersAssignee: Hiro Asari <hasari>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: chunchen, hasari, jkeck, wsun
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-10-25 15:26:58 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 chunchen 2013-10-25 11:48:17 UTC
Description of problem:
Missed OPENSHIFT_<cart>_DIR/etc/ directory for app.

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

How reproducible:
always

Steps to Reproduce:
1. Create an app
rhc app create cas00 jbossas-7 --no-git
2. Check the /etc dir for this app
rhc ssh cas00 'ls OPENSHIFT_JBOSSAS_DIR/etc/'

Actual results:
ls: cannot access /var/lib/openshift/526a535c3fb97e6699000059/jbossas//etc/: No such file or directory

Expected results:
The OPENSHIFT_<cart>_DIR/etc/ directory should be existing.

Additional info:

Comment 1 Hiro Asari 2013-10-25 15:18:08 UTC
Is JBossAS the only cartridge that needs 'etc'? The description says 'OPENSHIFT_<cart>_DIR/etc', but this is not very specific. Do we have a complete list? Just the JBoss cartridges: JBOSSAS, JBOSSEAP, JBOSSEWS? Did I miss any?

https://github.com/openshift/origin-server/pull/3993 addresses the above 3.

Comment 2 Hiro Asari 2013-10-25 15:26:58 UTC
If /etc is not necessary, we won't create it.

Comment 3 Red Hat Bugzilla 2023-09-14 01:52:41 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days