Failed to upgrade the data warehouse during the Engineering Lifecycle Management instance upgrade
When you upgrade the Engineering Lifecycle Management
instance, the upgrade process for the Engineering Lifecycle Management
application might fail with the following error. The Applications Events
table shows that the error Failed to upgrade the data warehouse with the reason
code DWUpgradeErr for the Engineering Lifecycle Management
application. Review the following troubleshooting information to resolve the error.
Problem
- In the Red Hat® OpenShift® Container Platform web console, go to and select the Engineering Lifecycle Management operator.
- Go to the ELM tab and select the Engineering Lifecycle Management instance.
- On the Details tab, verify the Engineering Lifecycle Management
application status in the Applications Events table. It shows the message as
Failed to upgrade the data warehousewith the reason codeDWUpgradeErr, which indicates that the repotools is failed to upgrade the data warehouse during the upgrade.
Resolution
- Review the Jazz® Team Server application log /elm/server/conf/jts/logs/repotools-jts_upgradeWarehouse.log to identify the cause of the failure. For more information about accessing the application pod logs, see Accessing application pod logs.
- To resolve the error manually and resume the upgrade process, complete the following steps.
- Manually resolve the failure cause that affects the upgrade of data warehouse.
- Complete the following steps to delete the Engineering Lifecycle Management
application pod.
- In the Red Hat OpenShift Container Platform web console, go to .
- Select the project where you installed the Engineering Lifecycle Management operator from the Project list.
- The Pods page lists the Engineering Lifecycle Management application pods and Engineering Lifecycle Management operator pod information.
- Click the pod name to see the pod details.
- Click Delete Pod from the Actions menu. The Engineering Lifecycle Management application pod is deleted. The Engineering Lifecycle Management application pod restarts automatically.
- The upgrade process resumes automatically and upgrades the data warehouse.
- To upgrade the data warehouse manually and resume the upgrade process, complete the following steps.
- Upgrade the data warehouse manually for the Engineering Lifecycle Management application in which
the upgrade process is failed. For more information, see Repository tools command to upgrade data warehouse database schema.Note: The repotools script that is provided in the referred web page is available at location /elm/server on the application pod.
- Run the following command to complete the upgrade
step.
/elm/server/resolveUpgradeErr.sh UPGRADE_UPGRADED_DW - Complete the following steps to delete the Engineering Lifecycle Management
application pod.
- In the Red Hat OpenShift Container Platform web console, go to .
- Select the project where you installed the Engineering Lifecycle Management operator from the Project list.
- The Pods page lists the Engineering Lifecycle Management application pods and Engineering Lifecycle Management operator pod information.
- Click the pod name to see the pod details.
- Click Delete Pod from the Actions menu. The Engineering Lifecycle Management application pod is deleted. The Engineering Lifecycle Management application pod restarts automatically.
- After the Engineering Lifecycle Management application pod is restarted, the upgrade process resumes automatically with the next step.
- Upgrade the data warehouse manually for the Engineering Lifecycle Management application in which
the upgrade process is failed. For more information, see Repository tools command to upgrade data warehouse database schema.