Bug 1519900

Summary: [RFE] Allow running pre 2.x DB data validation step independently via cpdb
Product: [Community] Candlepin Reporter: Michael Stead <mstead>
Component: candlepinAssignee: Chris "Ceiu" Rog <crog>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 0.9.54CC: redakkan, skallesh
Target Milestone: ---   
Target Release: 0.9.54   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: candlepin-0.9.54.26-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1519904 (view as bug list) Environment:
Last Closed: 2017-12-07 16:23:31 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: 1519904, 1530686    

Description Michael Stead 2017-12-01 16:32:35 UTC
Data validation should be done before candlepin is upgraded from 0.9.x to 2.x. Currently candlepin does this during the 2.x DB upgrade process via liquibase.

It would be better to be able to perform the validation 'on demand' before any actual update occurs.

cpdb should be updated to enable running the validation step independently, before updating to 2.x, so that any issues can be addressed before the actual upgrade begins.