Bug 1737574 - Check Non default Values in vdc_options error when analyzing RHV 4.3.4
Summary: Check Non default Values in vdc_options error when analyzing RHV 4.3.4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhv-log-collector-analyzer
Version: 4.3.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.3.6
: ---
Assignee: Douglas Schilling Landgraf
QA Contact: Guilherme Santos
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-05 16:55 UTC by amashah
Modified: 2020-08-03 15:37 UTC (History)
4 users (show)

Fixed In Version: rhv-log-collector-analyzer-0.2.8-0.el7ev.noarch
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-10 15:37:40 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:
lsvaty: testing_plan_complete-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4325371 0 None None None 2019-08-05 17:05:25 UTC
Red Hat Product Errata RHBA-2019:3012 0 None None None 2019-10-10 15:37:46 UTC

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


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