Race condition between destroy-app and configure for the same app (when the configure times out in mcollective and the broker tries to destroy it) can leave behind artifacts in the vhost conf.
I believe this was fixed in online across the following commits: https://github.com/openshift/origin-server/commit/dc07a6d177263a128f9b1506db9a7a20e64df451 https://github.com/openshift/origin-server/commit/1cab19a4a88b0717b5199fcf85d148217ff198ca https://github.com/rajatchopra/origin-server/commit/5294046eb63f3140a39b5d48065b495532d52159
Verified the race condition with the following steps, all seems well. 1) Drop the @app_path, and oo-devel-node frontend-connect to app, no exsit path was reported. With vhost: rubygem-openshift-origin-frontend-apache-vhost-0.10.1.1-1.el6op.noarch root@node1 .httpd.d]# oo-devel-node frontend-connect --with-container-uuid 545a12040ba583ce5b000050 No such file or directory - /etc/httpd/conf.d/openshift/545a12040ba583ce5b000050_hanli1dom_sphp/599999_element-.conf With vhost: rubygem-openshift-origin-frontend-apache-vhost-0.10.1.3-1.el6op.noarch [root@node1 .httpd.d]# oo-devel-node frontend-connect --with-container-uuid 5459a74d006e812603000046 Base directory /etc/httpd/conf.d/openshift/5459a74d006e812603000046_hanli1dom_php54 does not exist for the app: php54-hanli1dom.ose22-20141105.com.cn 2) Modify MCOLLECTIVE_TIMEOUT=20, and add alias and destroy 50 apps. and there isn't redundant files /var/lib/openshift
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2014-1903.html