Bug 1701526

Summary: Build ovirt-setup-lib for RHV 4.4 on RHEL 8
Product: Red Hat Enterprise Virtualization Manager Reporter: Sandro Bonazzola <sbonazzo>
Component: ovirt-setup-libAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED ERRATA QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4.0CC: didi, lleistne, lveyde, stirabos
Target Milestone: ovirt-4.4.1Keywords: Rebase
Target Release: 4.4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-setup-lib-1.3.1-1.el8ev Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-04 13:23:14 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:
Bug Depends On: 1546838, 1840756    
Bug Blocks:    

Description Sandro Bonazzola 2019-04-19 12:11:46 UTC
Build ovirt-setup-lib for RHV 4.4 on both RHEL 7 and RHEL 8

Comment 5 Yedidyah Bar David 2020-06-08 07:08:48 UTC
Rebasing again, for bug 1840756 and for a fix without a bug opened:

queryEnvKey: Do not use ':' in name

Without this, and with otopi-generated answer files, an answer file can
have e.g.:

QUESTION/1/queryEnvKey_input:somekey=str:somevalue
QUESTION/1/queryEnvKey_input:otherkey=str:othervalue

Then, feeding this to engine-setup as --config-append, fails with:

Failed to read config file ans1
Traceback (most recent call last):
  File "/usr/share/otopi/plugins/otopi/core/config.py", line 139, in _init
    readfunc(fp)
  File "/usr/lib64/python3.6/configparser.py", line 718, in read_file
    self._read(f, source)
  File "/usr/lib64/python3.6/configparser.py", line 1092, in _read
    fpname, lineno)
configparser.DuplicateOptionError: While reading from
'ans1' [line 28]: option 'QUESTION/1/queryEnvKey_input' in section
'environment:default' already exists

That's because configparser allows "=|:" as delimiters. So use "_".

Comment 9 errata-xmlrpc 2020-08-04 13:23:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (RHV Engine and Host Common Packages 4.4), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:3309