HP CSA Upgrade failure : ERROR : Organization migration failed

  • KM03115188
  • 09-Mar-2018
  • 09-Mar-2018

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.

Summary

The customer tried to apply the upgrade from CSA 4.60 to 4.80 however the installation finished with a fatal error Into the install.log file appear the error 03 Mar 2018 19:05:33,947 ERROR : Organization migration failed 03 Mar 2018 19:05:33,949 ERROR : com.zerog.ia.api.pub.FatalInstallException: Organization migration failed

Question


Customer has been trying to upgrade HPCSA since last night without any success. Trying to upgrade from version 4.60 to version 4.80.
Database is Oracle 12c
OO has been upgraded already to 10.80
it keeps failing on this specific point everytime. Full log file has been uploaded.

03 Mar 2018 19:05:33,947 ERROR : Organization migration failed
03 Mar 2018 19:05:33,949 ERROR : com.zerog.ia.api.pub.FatalInstallException: Organization migration failed
at com.hp.csa.ia.action.postinstall.postInstallSteps.OrgMigrationStep.execute(OrgMigrationStep.java:74)
at com.hp.csa.ia.action.postinstall.postInstallSteps.AbstractPostInstallStep.executeWithCheck(AbstractPostInstallStep.java:23)
at com.hp.csa.ia.action.postinstall.PostInstallAction.install(PostInstallAction.java:46)
at com.zerog.ia.installer.actions.CustomAction.installSelf(Unknown Source)
at com.zerog.ia.installer.AAMgrBase.an(Unknown Source)
at com.zerog.ia.installer.ConsoleBasedAAMgr.ac(Unknown Source)
at com.zerog.ia.installer.ConsoleBasedAAMgr.runPostInstall(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)

Answer

Regarding with this issue we must look into the CSA database in order to find some record with display name or name set to Null, this is the root cause of this issue, customer will able to do this with the next query:
select * from CSA_ARTIFACT where ARTIFACT_TYPE_ID='90d96588360da0c701360da0eeff002b' AND (NAME IS NULL OR DISPLAY_NAME IS NULL);
After that, customer must update the display name or name that it is Null, you can set null records to 'Architecture', remember update all the null display name or name.
Then customer can upgrade CSA successfully