Bug 989331
Summary: | Admin console can not read config parameters from development configuration file in development mode | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Jianwei Hou <jhou> |
Component: | Website | Assignee: | Luke Meyer <lmeyer> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 2.x | CC: | lmeyer, wsun |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-19 16:47:01 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: |
Description
Jianwei Hou
2013-07-29 05:23:48 UTC
Like the other broker plugins, the production configuration file must be present for the plugin to load, even if actually in development mode. Since you renamed it, the prod conf file is not there. If you just copied it, that should work. Certainly this is confusing and I think we could probably improve the broker Gemfile so it loads if either is available. We should discuss exactly how we want to implement that (and perhaps at the same time fail more helpfully when plugins don't load for some reason), and either address this as a bug or a Trello card. In the meantime, lowering the severity - feel free to increase it if the development file actually does not get read when it's there (currently I think the only setting that actually does anything is MOUNT_URI). Once https://github.com/openshift/origin-server/pull/3294 drops, the presence of either the prod or -dev.conf will cause the plugin to load in Origin broker. Online broker Gemfile is testing explicitly for the prod file so -dev.conf will not cause it to load there. I don't see a need to change that. Verified on fork_ami_origin_ui_58_817 Step: 1.cp openshift-origin-admin-console.conf openshift-origin-admin-console-dev.conf 2.Change something in openshift-origin-admin-console-dev.conf 3. service httpd restart 4. service rhc-broker restart 5.Access admin-console page and check if the changes are take effect Result: The changes are take effect |