Bug 1476979
| Summary: | Cannot set ImageProxyAddress with engine-config | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Richard Chan <rc556677> |
| Component: | General | Assignee: | Daniel Erez <derez> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Natalie Gavrielov <ngavrilo> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.4.2 | CC: | amureini, bugs, derez, lveyde, michal.skrivanek, tnisan |
| Target Milestone: | ovirt-4.1.5 | Flags: | rule-engine:
ovirt-4.1+
|
| Target Release: | 4.1.5.1 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Added ImageProxyAddress key to engine-config.properties file
in order to support setting its value using engine-config tool.
E.g. engine-config --set ImageProxyAddress=<fqdn>:54323
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-23 08:04:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This is from a system upgrade 3.6->4.0->4.1. Karma +1 :-) I have tested this commit on 4.1.4 and it works to set the ImageProxyAddress property. Thanks! Daniel, can you please add some doctext to this BZ? Verified, using build:
ovirt-engine-4.1.5.1-0.1.el7.noarch
#cat /etc/ovirt-engine/engine-config/engine-config.properties | grep ImageProxy
ImageProxyAddress.description=URI of ovirt-imageio-proxy service ({fqdn}:{port})
ImageProxyAddress.type=String
# engine-config --get=ImageProxyAddress
ImageProxyAddress: storage-ge-03.scl.lab.tlv.redhat.com:54323 version: general
engine=# select * from vdc_options where option_name='ImageProxyAddress';
option_id | option_name | option_value | version
-----------+-------------------+------------------------+---------
436 | ImageProxyAddress | ovirt-engine.com:54321 | general
[root@storage-ge-03 bin]# engine-config --set ImageProxyAddress='ovirt-engine.com:54321'
engine=# select * from vdc_options where option_name='ImageProxyAddress';
option_id | option_name | option_value | version
-----------+-------------------+------------------------+---------
436 | ImageProxyAddress | ovirt-engine.com:54323 | general
(1 row)
|
Description of problem: After running setup for imageio proxy it asks you to run engine-config -s ImageProxyAddress=xxxxx:54323 on the engine However the error message is Error setting ImageProxyAddress's value. No such entry with version general. Version-Release number of selected component (if applicable): ovirt-engine-4.1.4.2-1.el7.centos.noarch How reproducible: Always Steps to Reproduce: 1. Install ovirt-imageio-proxy on a node 2. Follow on-screen instructions (cert etc) 3. At the conclusion try to run engine-config command on engine Actual results: Error setting ImageProxyAddress's value. No such entry with version general. Expected results: Value is set in engine Additional info: Value seems to exist in table # sudo -u postgres psql engine psql (9.2.18) Type "help" for help. engine=# select * from vdc_options where option_id=977; option_id | option_name | option_value | version -----------+-------------------+----------------------+--------- 977 | ImageProxyAddress | localhost:54323 | general (1 row) engine=#