Bug 1832905
| Summary: | engine-backup --mode=verify is broken | |||
|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Yedidyah Bar David <didi> | |
| Component: | Backup-Restore.Engine | Assignee: | Yedidyah Bar David <didi> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Guilherme Santos <gdeolive> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 4.3.0 | CC: | bugs, lleistne, mtessun, rdlugyhe | |
| Target Milestone: | ovirt-4.4.1 | Keywords: | ZStream | |
| Target Release: | 4.4.1.4 | Flags: | pm-rhel:
ovirt-4.4+
sbonazzo: blocker? mtessun: planning_ack+ sbonazzo: devel_ack+ lleistne: testing_ack+ |
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | ovirt-engine-4.4.1.4 | Doc Type: | Bug Fix | |
| Doc Text: |
In previous versions, `engine-backup --mode=verify` passed even if `pg_restore` emitted errors. The current release fixes this issue. The `engine-backup --mode=verify` command correctly fails if `pg_restore` emits errors.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1848877 1868929 (view as bug list) | Environment: | ||
| Last Closed: | 2020-08-05 06:24:50 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1848877, 1868929 | |||
|
Description
Yedidyah Bar David
2020-05-07 13:05:04 UTC
Sorry, found another place calling pg_restore. Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. $ git tag --contains 0b28b1dead18425574957ce40892947a16f32f4b ovirt-engine-4.3.10.2 ovirt-engine-4.3.10.3 $ git tag --contains 2dba99c0977a9cc26e10d1ddf3357d799bc70a2b ovirt-engine-4.3.10.2 ovirt-engine-4.3.10.3 https://gerrit.ovirt.org/#/c/109138/ was not backported to 4.3, moving out to 4.3.11 Wrote doc text which applies only for 4.3. In 4.4, also the passing of '-f -' is mandatory. For completeness, and in case we might want to use later PostgreSQL versions also in 4.3, I backported these patches as well. Verified on: ovirt-engine-4.4.1.7-0.3.el8ev.noarch Steps: 1. the ones described on description for QE 2. engine-backup --mode=verify --file=f1 Results It fails for f2, aborting the process and logging the errors: # cat /var/log/ovirt-engine-backup/ovirt-engine-verify-20200708152253.log 2020-07-08 15:22:53 36388: Start of engine-backup mode verify scope all file f2 2020-07-08 15:22:53 36388: OUTPUT: Start of engine-backup with mode 'verify' 2020-07-08 15:22:53 36388: OUTPUT: scope: all 2020-07-08 15:22:53 36388: OUTPUT: archive file: f2 2020-07-08 15:22:53 36388: OUTPUT: log file: /var/log/ovirt-engine-backup/ovirt-engine-verify-20200708152253.log 2020-07-08 15:22:53 36388: OUTPUT: Verifying: 2020-07-08 15:22:53 36388: OUTPUT: - Unpacking file 'f2' 2020-07-08 15:22:53 36388: Opening tarball f2 to /tmp/engine-backup.rqRi16I3n2 2020-07-08 15:22:53 36388: Verifying hash 2020-07-08 15:22:53 36388: FATAL: Checksum verification failed But it succeeds for f1 This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.1 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. doc text looks good to me. Does it still matter? Bug fixed in 4.4.1, closed. |