Bug 1419623 - hosted-engine --get-shared-config return is not formatted correctly
Summary: hosted-engine --get-shared-config return is not formatted correctly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: ---
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.1.1
: 2.1.0.3
Assignee: Simone Tiraboschi
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-06 15:23 UTC by Jenny Tokar
Modified: 2017-05-11 09:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-04-21 09:49:05 UTC
oVirt Team: SLA
Embargoed:
rule-engine: ovirt-4.1+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1301681 0 high CLOSED [RFE] - Once HE deployed, it's not possible to change notifications settings later on shared storage. 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1417591 0 unspecified CLOSED [RFE][Doc] it's now possible to change HE settings after deploy on the HE shared storage. 2021-02-22 00:41:40 UTC
oVirt gerrit 71769 0 master MERGED Fix response for getting configuration from shared storage 2017-02-07 13:11:46 UTC
oVirt gerrit 72006 0 ovirt-hosted-engine-setup-2.1 MERGED Fix response for getting configuration from shared storage 2017-02-15 10:49:03 UTC

Internal Links: 1301681 1417591

Description Jenny Tokar 2017-02-06 15:23:02 UTC
Description of problem:
hosted-engine --get-shared-config key should return a line in the following format: 
key : value, type : key_type

for example:  
hosted-engine --get-shared-config smtp-server --type broker 
should return: 
smtp-server : localhost, type : broker


How reproducible:
100%

Steps to Reproduce:
1. deploy hosted engine 
2. run the command hosted-engine --get-shared-config smtp-server --type broker 

Actual results:
 : localhost, type : broker

Expected results:
smtp-server : localhost, type : broker

Comment 1 Nikolai Sednev 2017-03-05 17:13:37 UTC
# hosted-engine --get-shared-config smtp-server --type broker

smtp-server : localhost, type : broker

Works for me on these components on hosts:
libvirt-client-2.0.0-10.el7_3.4.x86_64
qemu-kvm-rhev-2.6.0-28.el7_3.6.x86_64
rhevm-appliance-20160721.0-2.el7ev.noarch
mom-0.5.9-1.el7ev.noarch
ovirt-hosted-engine-setup-2.1.0.3-1.el7ev.noarch
ovirt-engine-sdk-python-3.6.9.1-1.el7ev.noarch
sanlock-3.4.0-1.el7.x86_64
ovirt-vmconsole-host-1.0.4-1.el7ev.noarch
vdsm-4.19.6-1.el7ev.x86_64
ovirt-host-deploy-1.6.0-1.el7ev.noarch
ovirt-vmconsole-1.0.4-1.el7ev.noarch
ovirt-imageio-common-1.0.0-0.el7ev.noarch
ovirt-imageio-daemon-1.0.0-0.el7ev.noarch
ovirt-setup-lib-1.1.0-1.el7ev.noarch
ovirt-hosted-engine-ha-2.1.0.3-1.el7ev.noarch
Linux version 3.10.0-514.6.1.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Sat Dec 10 11:15:38 EST 2016
Linux 3.10.0-514.6.1.el7.x86_64 #1 SMP Sat Dec 10 11:15:38 EST 2016 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.3 (Maipo)

On engine:
rhev-guest-tools-iso-4.1-3.el7ev.noarch
rhevm-dependencies-4.1.0-1.el7ev.noarch
rhevm-doc-4.1.0-2.el7ev.noarch
rhevm-branding-rhev-4.1.0-1.el7ev.noarch
rhevm-setup-plugins-4.1.0-1.el7ev.noarch
rhevm-4.1.1.2-0.1.el7.noarch
Linux version 3.10.0-514.6.2.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Fri Feb 17 19:21:31 EST 2017
Linux 3.10.0-514.6.2.el7.x86_64 #1 SMP Fri Feb 17 19:21:31 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.3 (Maipo)


Note You need to log in before you can comment on or make changes to this bug.