Bug 1344586 - [z-stream clone - 3.6.7] engine-psql.sh does not log commands when -c option is used
Summary: [z-stream clone - 3.6.7] engine-psql.sh does not log commands when -c option ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: redhat-support-plugin-rhev
Version: 3.6.3
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ovirt-3.6.7
: 3.6.7
Assignee: Alexander Wels
QA Contact: Jiri Belka
URL:
Whiteboard:
: 1344468 (view as bug list)
Depends On: 1343757
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-10 06:20 UTC by rhev-integ
Modified: 2016-06-29 16:29 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, a missing flag in engine-psql.sh caused result logs to overwrite the initial log, which contained the command that was executed. This made debugging difficult. Now, the missing flag has been added, so the executed command is properly logged.
Clone Of: 1343757
Environment:
Last Closed: 2016-06-29 16:29:47 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1359 0 normal SHIPPED_LIVE redhat-support-plugin-rhev fix logging in engine-psql script for 3.6.7 2016-06-29 20:29:18 UTC

Comment 2 Martin Perina 2016-06-10 06:27:03 UTC
*** Bug 1344468 has been marked as a duplicate of this bug. ***

Comment 5 Jiri Belka 2016-06-15 09:07:12 UTC
FYIBZ1346729 - /usr/share/ovirt-engine/dbscripts/engine-psql.sh has hardcoded db name ('engine')

Comment 6 Jiri Belka 2016-06-15 11:10:58 UTC
ok, redhat-support-plugin-rhev-3.6.0-18.el6.noarch

# zcat /var/log/ovirt-engine/db-manual/20160615131005-engine-psql.log.gz
Wed Jun 15 13:10:05 CEST 2016: executing command : /usr/share/ovirt-engine/dbscripts/engine-psql.sh -c DELETE FROM bookmarks WHERE bookmark_id = '3fed9249-5d83-48c1-a658-c22bbd19752f';
output:
DELETE 1
result: 0

Comment 10 errata-xmlrpc 2016-06-29 16:29:47 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-2016:1359


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