Bug 1098561
| Summary: | rhq-data-migration --delete-only option does not delete data from the legacy metric tables | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | bkramer <bkramer> |
| Component: | Upgrade, Launch Scripts, Storage Node | Assignee: | Michael Burman <yak> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Bednarik <jbednari> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | JON 3.2 | CC: | hrupp, jbednari, jshaughn, loleary, mkoci, myarboro |
| Target Milestone: | ER01 | Keywords: | Triaged |
| Target Release: | JON 3.2.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-05 15:40:17 UTC | 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: | |||
| Bug Blocks: | 1098563 | ||
|
Description
bkramer
2014-05-16 14:44:59 UTC
The --delete-only parameter was not parsed from the command line. Fixed in commit 56c6891 (tested with postgres) Moving to ON_QA as this is available for test in JON 3.2.3 ER01 build: http://jon01.mw.lab.eng.bos.redhat.com:8042/dist/release/jon/3.2.3.GA/8-14-14/ Moving to VERIFIED. Tested both with Postgres and Oracle databases. In both cases only 4 of the tables contained data before running rhq-data-migration.sh script. Postgres: RHQ_MEASUREMENT_DATA_NUM_1H, RHQ_MEASUREMENT_DATA_NUM_6H, RHQ_MEASUREMENT_DATA_NUM_1D, RHQ_MEAS_DATA_NUM_R10 Oracle: RHQ_MEASUREMENT_DATA_NUM_1H, RHQ_MEASUREMENT_DATA_NUM_6H, RHQ_MEASUREMENT_DATA_NUM_1D, RHQ_MEAS_DATA_NUM_R04 After running rhq-data-migration.sh --delete-only --sql-server-postgres (or --sql-server-oracle) no data were present in the tables. |