Bug 1030500
Summary: | [osinfo] modify osinfo part to read both files in /etc/ovirt-engine/osinfo.conf.d and /usr/share/ovirt-engine/conf/osinfo-defaults.properties | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Jiri Belka <jbelka> |
Component: | ovirt-engine | Assignee: | Roy Golan <rgolan> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.3.0 | CC: | acathrow, alonbl, iheim, jbelka, lpeer, michal.skrivanek, Rhev-m-bugs, sbonazzo, sherold, yeylon |
Target Milestone: | --- | ||
Target Release: | 3.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | virt | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-02-28 09:45:47 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
Jiri Belka
2013-11-14 15:13:27 UTC
iirc redhat-support-plugin-rhev is more clever, it reads configs both from /etc and /usr :) can you please clarify what you mean? stop by if you want:) It should read both config files in /usr (it is not doing now) and /etc. It reads data from /usr by symlink hack now. If we would delete the symlink it should read data from /usr by itself. Hi, defaults of osinfo should read only /usr/share. if user wishes to provide its own file, he should install new osinfo configuration file redirect to where ever his file is. we should provide upgrade to remove /etc/ovirt-engine/sysprep files if they are default and to whatever left to generate osinfo configuration file to make use of user's custom files. Thanks, Also, please add ${xxx} syntax to pull xxx out of EngineLocalConfig::getProperty() so that we can add ${ENGINE_ETC} or ${ENGINE_DATA} or even user defined variable at /etc/ovirt-engine/engine.conf,d/xxx.conf For the subject at hand. I reject the idea to read both location, I find that one symlink of default makes it easier to understand what actually is being used without knowing product internals. If for some reason someone is to force that to be "fixed" the defaults file should be read before /etc processing. (In reply to Alon Bar-Lev from comment #7) I concur |