Bug 1173026
Summary: | watchman cleans up frontend config dirs but not files referencing them | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Gaoyun Pei <gpei> |
Component: | Containers | Assignee: | Brenton Leanhardt <bleanhar> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.2.0 | CC: | agrimm, jokerman, libra-bugs, libra-onpremise-devel, mmccomas, rpenta, yadu |
Target Milestone: | --- | Keywords: | NeedsTestCase |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-origin-node-util-1.32.4.1-1 | Doc Type: | Bug Fix |
Doc Text: |
Cause: Previously, watchman would delete frontend configuration directories for secondary gears before the gears were removed.
Consequence: Watchman could yield a broken frontend configuration.
Fix: Watchman now only removes configuration directories which have no references in other configuration files.
Result: Watchman no longer prematurely removes frontend configurations for secondary gears.
|
Story Points: | --- |
Clone Of: | 1172323 | Environment: | |
Last Closed: | 2015-01-08 15:34:52 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: | |||
Bug Depends On: | 1169306, 1172323 | ||
Bug Blocks: |
Description
Gaoyun Pei
2014-12-11 10:25:38 UTC
Verify this bug with openshift-origin-node-util-1.32.4.1-1.el6op.noarch. 1. Create a scalable app with db embedded 2. Scale up the app once [root@broker ~]# rhc app show bugzz --gears ID State Cartridges Size SSH URL ---------- ------- ------------ ----- ------------------------------------------ jj-bugzz-1 started python-3.3 small jj-bugzz-1.com.cn haproxy-1.4 jj-bugzz-2 started python-3.3 small jj-bugzz-2.com.cn jj-bugzz-3 started mongodb-2.4 small jj-bugzz-3.com.cn 3. Got the following httpd conf files and dirs, manually empty the config files in scale up gear: jj-bugzz-2_jj_jj-bugzz-2 -rw-r--r--. 1 root root 2451 Dec 11 17:57 jj-bugzz-1_jj_0_bugzz.conf drwxr-xr-x. 2 root root 4096 Dec 11 17:57 jj-bugzz-1_jj_bugzz -rw-r--r--. 1 root root 2471 Dec 11 17:59 jj-bugzz-2_jj_0_jj-bugzz-2.conf drwxr-xr-x. 2 root root 4096 Dec 11 17:59 jj-bugzz-2_jj_jj-bugzz-2 drwxr-xr-x. 2 root root 4096 Dec 11 18:01 jj-bugzz-3_jj_jj-bugzz-3 4. Set the system time to 2 days later, service openshift-watchman restart The empty conf dir of scale up gear was not deleted. The empty conf dir of db gear was deleted. 5. service httpd could restart successfully. 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-2015-0019.html |