Bug 1737574

Summary: Check Non default Values in vdc_options error when analyzing RHV 4.3.4
Product: Red Hat Enterprise Virtualization Manager Reporter: amashah
Component: rhv-log-collector-analyzerAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED ERRATA QA Contact: Guilherme Santos <gdeolive>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.3.4CC: agajania, lleistne, michal.skrivanek, pelauter
Target Milestone: ovirt-4.3.6Keywords: FieldEngineering, ZStream
Target Release: ---Flags: lsvaty: testing_plan_complete-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhv-log-collector-analyzer-0.2.8-0.el7ev.noarch Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-10 15:37:40 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 amashah 2019-08-05 16:55:19 UTC
Description of problem:

When running rhv-log-collector-analyzer --live, the section ' Check Non default Values in vdc_options' provides incorrect data:

~~~
WARNING #1 - 16.1. Check Non default Values in vdc_options
The output in this section is clearly problematic:
COPY (
 —  Licensed under the Apache License, Version 2.0 (the "License");
 —  you may not use this file except in compliance with the License.
 —  You may obtain a copy of the License at
 — 
 —  http://www.apache.org/licenses/LICENSE-2.0
— 
—  Unless required by applicable law or agreed to in writing, software
—  distributed under the License is distributed on an "AS IS" BASIS,
 —  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 —  See the License for the specific language governing permissions and
 —  limitations under the License.
 — 
SELECT
optname AS "Option Name",
optvalue AS "Option Value",
defaultvalue AS "Default Value"
FROM
__temp_vdc_options_get_non_default_value()
ORDER BY
optname
) TO STDOUT WITH CSV DELIMITER E'|' HEADER

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/engine_db_query/init.py", line 283, in query_return_csv
sys.stdout
ProgrammingError: structure of query does not match function result type
DETAIL: Returned type text does not match expected type character varying in column 2.
CONTEXT: PL/pgSQL function __temp_vdc_options_get_non_default_value() line 6 at RETURN QUERY
~~~

Also 'VM(s) with unmanaged disks/interfaces' flags VM's that are using Unattended.xml as part of sysprep.

Version-Release number of selected component (if applicable):

rhv-log-collector-analyzer-0.2.4-0.el7ev.noarch
rhvm 4.3.4

How reproducible:
100%

Steps to Reproduce:
1. Run analyzer against a RHV 4.3.4 environment

Actual results:
The proper data should be reported back.

Expected results:
Incorrect data is being reported back.

Additional info:

Comment 2 Douglas Schilling Landgraf 2019-08-06 07:19:48 UTC
Thanks for the report. Already fixed in version 0.2.5-0 (or higher).

Comment 4 Guilherme Santos 2019-08-23 15:38:39 UTC
Verified on ovirt-engine-4.3.5.4-0.1.el7.noarch and rhv-log-collector-analyzer-0.2.10-0.el7ev.noarch

Comment 5 Daniel Gur 2019-08-28 13:14:08 UTC
sync2jira

Comment 6 Daniel Gur 2019-08-28 13:18:24 UTC
sync2jira

Comment 8 errata-xmlrpc 2019-10-10 15:37:40 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, 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/RHBA-2019:3012