IBM Cloud Docs
Troubleshooting issues when upgrading to version 6.8.1

Troubleshooting issues when upgrading to version 6.8.1

When upgrading to version 6.8.1 of the VSI on VPC landing zone or Red Hat OpenShift Container Platform on VPC landing zone deployable architectures, extra steps are excuated behind the scenes. The following is a guide on how to troubleshoot if any of the extra steps fail.

You noticed that there was a failed job with the title Terraform commands failed in the IBM Schematics workspace associated with your projects configuration with an error in the logs that looked like this:

2025/01/30 15:37:57 Starting command: terraform1.9 state mv ....
...
...
...
2025/01/30 15:38:01 Terraform STATE error: Terraform STATE errorexit status 1
2025/01/30 15:38:01 Could not execute job: Error : Terraform STATE errorexit status 1

When upgrading to version 6.8.1 (fresh installs are not applicable here), there are some extra steps that run as part of the validation phase:

  • Ansible
    • An ansible playbook inspects your terraform state and determines whether any migration is needed.
    • To view the logs of the ansible playbook:
  • Migration job
    • If the ansible playbook detected that a migration is required, it will trigger a job in the Schematcis workspace associated with your project configuration to execute some migration commands.
    • If this job fails, you should not proceed with the upgrade to v6.8.1. Even though the projects validation process will proceed to permform a terraform plan after the failed job, and mark validation as successful if the plan passes, you should not proceed to deploy it.

Create a case in the IBM Cloud support center and include the logs of the failed job. Ensure to mention the name of the deployable architecture you are using (VSI on VPC landing zone or Red Hat OpenShift Container Platform on VPC landing zone), and the version you are trying to upgrade from.