Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1328776

Summary: Show the question key when dumping the env vars
Product: [oVirt] ovirt-setup-lib Reporter: David Caro <dcaroest>
Component: CoreAssignee: Rafael Martins <rmartins>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matyáš <pmatyas>
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: bugs, didi, eedri, melewis, sbonazzo
Target Milestone: ovirt-4.0.0-betaKeywords: Improvement
Target Release: 1.0.2Flags: rule-engine: ovirt-4.0.0+
pnovotny: testing_plan_complete-
rule-engine: planning_ack+
sbonazzo: devel_ack+
pstehlik: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
With this update, ovirt-setup-lib now includes the question keys when dumping environment variables to logs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:47:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Caro 2016-04-20 09:28:18 UTC
Description of problem:
When running the engine setup, the env vars are dumped to the log, but there's no easy way to match that to the question key itself, so you end up forced to run the setup interactively in order to get the correct answerfile keys.

If we dump the question key besides the env key when dumping the env, you could match them from the logs, not requiring that extra interactive setup run to get the keys.

From a chat with didi:
"for all code that was changed to use queryEnvKey, we already know the key when asking, so can dump it as well"

Version-Release number of selected component (if applicable):
otopi-1.5.0-0.0.master.20160403070351.gitfa92bb0.el7.noarch (latest master)

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Sandro Bonazzola 2016-05-02 09:54:41 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 4 Petr Matyáš 2016-06-03 08:51:47 UTC
Verified on ovirt-engine-4.1.0-0.0.master.20160601231315.git049ef04.el7.centos.noarch

Debug info shows for all items except boolean and password items

Comment 6 Sandro Bonazzola 2016-07-05 07:47:36 UTC
oVirt 4.0.0 has been released, closing current release.