Bug 787882

Summary: deploy-httpd-proxy overwrites rhc-idler settings
Product: OKD Reporter: Thomas Wiest <twiest>
Component: ContainersAssignee: Dan McPherson <dmcphers>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: jialiu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: devenv_1585 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-17 02:06:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Thomas Wiest 2012-02-07 00:23:56 UTC
Description of problem:
deploy-httpd-proxy overwrites the rhc-idler settings. This was found because migrate-2.0.4 uses deploy-httpd-proxy and improperly replaced the rhc-idler config files in /etc/httpd/conf.d/libra with non-idler ones.

Worse yet, the migrator left around the stop_lock file, so these apps won't be started by default, and won't ever be un-idled.


Version-Release number of selected component (if applicable):
migrate-2.0.4
rhc-node-0.85.22-1.el6_2.x86_64
rhc-server-common-0.85.2-1.el6_2.noarch
rhc-broker-0.85.32-1.el6_2.noarch
rhc-common-0.76.1-1.el6_2.noarch
rhc-site-0.85.15-1.el6_2.noarch


How reproducible:
Every migrate.


Steps to Reproduce:
1. idle apps
2. run the migrator
3. notice that these apps no longer have their idler configs in /etc/httpd/conf.d/libra
4. notice that the stop_lock file still exists

  
Actual results:
overwrites the idler's configs


Expected results:
Should work with the idler configs.

Additional info:

Comment 1 Johnny Liu 2012-02-08 05:34:16 UTC
Verified this bug with rhc-node-0.86.1-1.git.112.df07820.el6.x86_64 and PASSED.

After migration, the app is still in 'idle' status, and configs in
/etc/httpd/conf.d/libra is still existing.