Bug 1328776 - Show the question key when dumping the env vars
Summary: Show the question key when dumping the env vars
Alias: None
Product: ovirt-setup-lib
Classification: oVirt
Component: Core
Version: unspecified
Hardware: Unspecified
OS: Unspecified
Target Milestone: ovirt-4.0.0-beta
: 1.0.2
Assignee: Rafael Martins
QA Contact: Petr Matyáš
Depends On:
TreeView+ depends on / blocked
Reported: 2016-04-20 09:28 UTC by David Caro
Modified: 2017-05-11 09:26 UTC (History)
5 users (show)

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.
Clone Of:
Last Closed: 2016-07-05 07:47:36 UTC
oVirt Team: Integration
rule-engine: ovirt-4.0.0+
pnovotny: testing_plan_complete-
rule-engine: planning_ack+
sbonazzo: devel_ack+
pstehlik: testing_ack+

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
oVirt gerrit 56384 0 None None None 2016-04-20 11:55:36 UTC

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:

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.

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