Bug 893459
Summary: | Installer pre-upgrade step should ensure DB consistency using fkvalidator.sh | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Eli Mesika <emesika> |
Component: | ovirt-engine-setup | Assignee: | Alex Lourie <alourie> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.2.0 | CC: | alourie, bazulay, dyasny, iheim, mgoldboi, Rhev-m-bugs, sgrinber, ykaul |
Target Milestone: | --- | ||
Target Release: | 3.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | integration | ||
Fixed In Version: | sf16 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 912305, 915925 | ||
Bug Blocks: | 948448 |
Description
Eli Mesika
2013-01-09 11:35:54 UTC
can the fkvalidator.sh list of inconsistencies ? Please add the --help of the tool to this BZ. (In reply to comment #1) > can the fkvalidator.sh list of inconsistencies ? > Please add the --help of the tool to this BZ. Yes Usage: fkvalidator.sh [-h] [-s SERVERNAME [-p PORT]] [-d DATABASE] [-u USERNAME] [-l LOGFILE] [-f] [-v] -s SERVERNAME - The database servername for the database (def. localhost) -p PORT - The database port for the database (def. 5432) -d DATABASE - The database name (def. engine) -u USERNAME - The admin username for the database. -l LOGFILE - The logfile for capturing output (def. fkvalidator.sh.log) -f - Fix the non consistent data by removing it from DB. -v - Turn on verbosity (WARNING: lots of output) -h - This help text. examples 1) listing violations fkvalidator.sh -u postgres -d engine 2) resolving violations fkvalidator.sh -u postgres -d engine -f Hi Eli Please do with this the same as with taskcleaner.sh and put it in the different folder. Thanks. We had found a problem in fkvalidator when the child table has a value that not exists in the parent table but this value is null. Moving BZ to POST in order to fix that as suggested by Moran 3.2 has been released 3.2 has been released 3.2 has been released |