Bug 1344586
| Summary: | [z-stream clone - 3.6.7] engine-psql.sh does not log commands when -c option is used | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | rhev-integ |
| Component: | redhat-support-plugin-rhev | Assignee: | Alexander Wels <awels> |
| Status: | CLOSED ERRATA | QA Contact: | Jiri Belka <jbelka> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.3 | CC: | awels, dornelas, gklein, lsurette, mkalinin, mperina, oourfali, pstehlik, rbalakri, rmcswain, srevivo, ykaul |
| Target Milestone: | ovirt-3.6.7 | Keywords: | ZStream |
| Target Release: | 3.6.7 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| 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.
|
Story Points: | --- |
| Clone Of: | 1343757 | Environment: | |
| Last Closed: | 2016-06-29 16:29:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1343757 | ||
| Bug Blocks: | |||
|
Comment 2
Martin Perina
2016-06-10 06:27:03 UTC
FYIBZ1346729 - /usr/share/ovirt-engine/dbscripts/engine-psql.sh has hardcoded db name ('engine')
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 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 |