Red Hat Bugzilla – Bug 1023428
Missed OPENSHIFT_<cart>_DIR/etc/ directory for app
Last modified: 2016-09-29 22:15:18 EDT
Description of problem:
Missed OPENSHIFT_<cart>_DIR/etc/ directory for app.
Version-Release number of selected component (if applicable):
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/'
ls: cannot access /var/lib/openshift/526a535c3fb97e6699000059/jbossas//etc/: No such file or directory
The OPENSHIFT_<cart>_DIR/etc/ directory should be existing.
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.
If /etc is not necessary, we won't create it.