Bug 1701526 - Build ovirt-setup-lib for RHV 4.4 on RHEL 8
Summary: Build ovirt-setup-lib for RHV 4.4 on RHEL 8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-setup-lib
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.4.1
: 4.4.1
Assignee: Sandro Bonazzola
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On: 1546838 1840756
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-19 12:11 UTC by Sandro Bonazzola
Modified: 2020-08-04 13:23 UTC (History)
4 users (show)

Fixed In Version: ovirt-setup-lib-1.3.1-1.el8ev
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-04 13:23:14 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:3309 0 None None None 2020-08-04 13:23:34 UTC

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


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