Bug 1059105
| Summary: | oo-accept-node will still check the apache configs for mod_rewrite frontend when using vhost frontend plugin | |||
|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Meng Bo <bmeng> | |
| Component: | Containers | Assignee: | Rajat Chopra <rchopra> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 2.x | CC: | jhonce, rchopra | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1112446 1132963 (view as bug list) | Environment: | ||
| Last Closed: | 2014-10-10 00:46:44 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: | ||||
| Bug Blocks: | 1112446, 1132963 | |||
|
Description
Meng Bo
2014-01-29 07:59:29 UTC
Raise the severity since the vhost plugin will be used by default. And seems the behavior is a little different for now, but the oo-accept-node will still only check the mod_rewrite httpd configs. # oo-accept-node -v INFO: loading node configuration file /etc/openshift/node.conf INFO: loading resource limit file /etc/openshift/resource_limits.conf INFO: finding external network device INFO: checking that external network device has a globally scoped IPv4 address ... INFO: checking 1 user accounts INFO: checking application dirs INFO: checking system httpd configs FAIL: No such file or directory - /etc/httpd/conf.d/openshift/aliases.db FAIL: No such file or directory - /etc/httpd/conf.d/openshift/idler.db FAIL: No such file or directory - /etc/httpd/conf.d/openshift/nodes.db FAIL: No such file or directory - /etc/httpd/conf.d/openshift/sts.db FAIL: No such file or directory - /etc/httpd/conf.d/openshift/aliases.txt FAIL: No such file or directory - /etc/httpd/conf.d/openshift/idler.txt FAIL: No such file or directory - /etc/httpd/conf.d/openshift/nodes.txt FAIL: No such file or directory - /etc/httpd/conf.d/openshift/sts.txt FAIL: Gear has a web framework cartridge but no Apache configuration: 53f5c91b6db2e685f9000075 To master: https://github.com/openshift/origin-server/pull/5736 To stage : https://github.com/openshift/origin-server/pull/5737 The bug got partial fixed, it will not check the mod_rewrite apache configs when using vhost plugin. But it still cannot find out the configuration issue for vhost plugin, as comment#0 said. Remove the gear apache config 53f6e9ef7828706bb4000001_bmengsdev_0_php54.conf under /var/lib/openshift/.httpd.d/ and run oo-accept-node -v. It will report pass, and it should figure out the apache config mis-match. It is correct that all the functionality of accept-user that existed for mod-rewrite, has not been imported to vhost. This is one of them. If you delete the gear's config, then we will not be able to report it. Some checks remain, like if we have a config but the gear does not exist, then it will be reported. A new user story will cover the improvements meant for oo-accept-node in vhost mode. Marking this ON_QA. Hi Rajat, Do we have a plan for the new user story about checking frontend config via oo-accept-node under vhost mode? Thanks. Closing the NeedInfo. |