+++ This bug was initially created as a clone of Bug #1059105 +++ Description of problem: Run oo-accept-node on node to check the apache config issue on node, it will only return the issues when the node using mod_rewrite plugin. That means for nodes which running with vhost plugin will never failed the httpd config check by oo-accept-node. Version-Release number of selected component (if applicable): devenv_4295 How reproducible: always Steps to Reproduce: 1. Launch instance and let it using vhost frontend plugin 2. Make the httpd config mismatch with gear eg, copy the 52e89ec6070b084933000006_bmengdev_0_php1.conf and 52e89ec6070b084933000006_bmengdev_php1/ back after gear deleted. or delete the existing config files for running gear. 3. Run oo-accept-node -v Actual results: It will pass the checking. Expected results: Should fail since the http config does not match the gear. Additional info: The bug exsits on ose 2.1.z/2014-06-12.2,openshift-origin-node-util-1.22.9.1-1.el6op.noarch
*** Bug 1132963 has been marked as a duplicate of this bug. ***
Per the upstream bug I've adjusted this bug to only address checking mod_rewrite files when using the vhost frontend Fixed in this puddle http://etherpad.corp.redhat.com/puddle-2-1-2014-09-02
Test on http://etherpad.corp.redhat.com/puddle-2-1-2014-09-02, when node is using vhost, run oo-accept-node will pass.But when node is using mod_rewrite, run oo-accept-node, it displays: /usr/sbin/oo-accept-node:649:in `check_system_httpd_configs': undefined local variable or method `http_plugins' for main:Object (NameError) from /usr/sbin/oo-accept-node:986:in `<main>' Seems that the `http_plugins' not defined first.
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. http://rhn.redhat.com/errata/RHBA-2014-1183.html