My Oracle Support Banner

ODI Upgrade Fails With 'Target Work Repository upgrade failed.... Validation Query Failed' (Doc ID 1329880.1)

Last updated on JANUARY 31, 2019

Applies to:

Oracle Data Integrator - Version 10.1.3.2.0 to 11.1.1.9.99 [Release 10gR3 to 11gR1]
Information in this document applies to any platform.

Symptoms

 You are running the Upgrade Assistant (UA) to upgrade from one version of ODI (in this case it is ODI 10.1.3.5) to ODI 11g, the upgrade fails.

In the UA log you see the following error:

 ...Target Master Repository upgrade is started.
ODI Master Repository Upgrade: Upgrading Repository Structure

... DwgXmlSession.execute : execute order : alter table SNP_COND add constraint AK_COND unique ( I_TABLE , COND_NAME )
.. ODI Work Repository Upgrade: Upgrading Repository Data...
.. [ODI] [INCIDENT_ERROR] [UPGCMP-00326] [upgrade.ODI] [tid: 13] [ecid: <ECID>] Target Work Repository upgrade failed.[[
oracle.odi.setup.RepositorySetupException: oracle.odi.core.exception.OdiRuntimeException: Validation Query Failed

at oracle.odi.setup.support.WorkRepositorySetupImpl$3.doAction(WorkRepositorySetupImpl.java:421)
...
Caused by: oracle.odi.core.exception.OdiRuntimeException: Validation Query Failed
at com.sunopsis.repository.manager.PopUpgraderAddDataSet.directSQLUpgradeAllPops(PopUpgraderAddDataSet.java:147)
..

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
 Best practices Regarding ODI Upgrade
 Can directly upgrade ODI 10g or ODI 11g earlier versions to the later ODI 11g versions for example ODI 11.1.1.5 or ODI 11.1.1.6.0 with no intermediate upgrade operations.
 Oracle recommends to upgrade cloned repository schema not the actual work repository schema, what is the reason behind it ? Can we just take a backup of the repository schema and perform the upgrade on the original schema?
 DEV environment is on ODI 11.1.1.5.0, can I only upgrade QA, the new environment I am creating to ODI 11.1.6.0?
 When upgrading a cloned repository schema to ODI 11.1.1.5.0 and later (11.1.1.6.0 etc), the UA persists in pointing to the original Work Repositories schema...
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.