rhv-log-collector-analyzer - checking Non default values in vdc_options reports incorrect data
Issue
When running rhv-log-collector-analyzer
a warning in shown:
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
Environment
- Red Hat Virtualization (RHV) 4.3.4
- rhv-log-collector-analyzer-0.2.4-0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.