Bug 1893035 - rhv-log-collector-analyzer: check for double quotes in IPTablesConfigSiteCustom
Summary: rhv-log-collector-analyzer: check for double quotes in IPTablesConfigSiteCustom
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhv-log-collector-analyzer
Version: 4.4.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.4.4
: 4.4.4
Assignee: Germano Veit Michel
QA Contact: Guilherme Santos
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-30 00:02 UTC by Germano Veit Michel
Modified: 2022-08-10 22:04 UTC (History)
4 users (show)

Fixed In Version: rhv-log-collector-analyzer-1.0.6-1.el8ev
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-02 13:57:12 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5521361 0 None None None 2020-10-30 00:02:17 UTC
Red Hat Product Errata RHSA-2021:0381 0 None None None 2021-02-02 13:57:16 UTC

Description Germano Veit Michel 2020-10-30 00:02:03 UTC
Description of problem:

Host ansible installation fails without clear message if the cluster is still set to iptables and engine-config
key IPTablesConfigSiteCustom contains double quotes. Please make rhv-log-collector-analyzer detect this and warn the user about it.

See email thread "quotes in IPTablesConfigSiteCustom (was: problems installing standard Linux as nodes in 4.4)"

Additional info:
https://access.redhat.com/solutions/5521361

Comment 3 Guilherme Santos 2021-01-06 16:44:41 UTC
Verified on:
rhv-log-collector-analyzer-1.0.6-1.el8ev.noarch
ovirt-engine-4.4.4.5-0.10.el8ev.noarch

Steps:
1. # engine-config -s IPTablesConfigSiteCustom='-A INPUT -p tcp --dport 12345 -m comment --comment "Some comment here" -j ACCEPT version: general
2. # rhv-log-collector-analyzer

Results:
rhv-log-collector-analyzer detects double quote and complains:
```
Double quotes in iptables configuration can make host installation or upgrade fail during ansible install

b’IPTablesConfigSiteCustom'
b'"-A INPUT -p tcp --dport 12345 -m comment --comment ""Some comment here"" -j ACCEPT version: general"'
```

Comment 7 errata-xmlrpc 2021-02-02 13:57:12 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 (Low: RHV-M(ovirt-engine) 4.4.z security, bug fix, enhancement update [ovirt-4.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/RHSA-2021:0381

Comment 8 meital avital 2022-08-10 22:04:36 UTC
Due to QE capacity, we are not going to cover this issue in our automation


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