Bug 961361
Summary: | Cassandra Migration - delete-only and delete-data options are being ignored during migration | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Armine Hovsepyan <ahovsepy> | ||||
Component: | Installer | Assignee: | RHQ Project Maintainer <rhq-maint> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | JON 3.2 | CC: | mfoley, snegrea | ||||
Target Milestone: | ER01 | ||||||
Target Release: | JON 3.2.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-01-02 20:36:42 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: | 951619 | ||||||
Attachments: |
|
Updated the list of arguments for the command also improved the logic for detecting that a delete only was requested. Please retest. verified. thank you. |
Created attachment 745660 [details] migration_delete-only.png Description of problem: Cassandra Migration - delete-only and delete-data options are being ignored during migration Version-Release number of selected component (if applicable): jenkins build 198 How reproducible: always Steps to Reproduce: 1. run migrator jar with the following options : java -jar data-migrator-oracle-4.7.0-SNAPSHOT.jar --cassandra-hosts=migrperfpostgres.bc.jonqe.lab.eng.bos.redhat.com --cassandra-user=rhqadmin --cassandra-password=rhqadmin --cassandra-port=9142 --estimate-only=false --delete-data=true -X --disable-6h-migration=true -X --delete-only=true 2. run migrator jar with the following options: java -jar data-migrator-oracle-4.7.0-SNAPSHOT.jar --cassandra-hosts=migrperfpostgres.bc.jonqe.lab.eng.bos.redhat.com --cassandra-user=rhqadmin --cassandra-password=rhqadmin --cassandra-port=9142 --estimate-only=false --delete-data=true -X --disable-6h-migration=true -X Actual results: for both cases- no data is being removed from sql db for case 1 - migration process starts having --delete-only=true Expected results: for both cases data from sql should be removed for case 1 - no migration should be started Additional info: