5.2 Rollback Tasks
Note:
Ensure that no pod is in the failed state.To roll back from BSF 24.3.0 to a
previous version, perform the following steps:
- To check which revision you need to roll back to, run any of the
following commands:
Using Helm:
helm history <release_name> -n <release_namespace>
- Run either of the following commands to roll back to the required
version:
- Using Helm:
helm rollback <release_name> <revision_number> -n <release_namespace>
Note:
The following warnings must be ignored for BSF rollback to 24.2.0 and 24.1.0 CNE:helm rollback <releas_name> <revision-version> -n <namespace> W0910 07:39:23.637460 3540122 warnings.go:70] spec.template.spec.containers[0].ports[3]: duplicate port definition with spec.template.spec.containers[0].ports[2] W0910 07:39:26.437684 3540122 warnings.go:70] spec.template.spec.containers[0].ports[3]: duplicate port definition with spec.template.spec.containers[0].ports[1] Rollback was a success! Happy Helming!
- Using Helm:
- <Applicable for release 22.2.0 and later > If
you are rolling back from BSF 22.2.0 and later release to 22.1.0 or earlier
releases, then run the following command to delete the database that is not
applicable:
DROP DATABASE ocbsf_LeaderPodDb;
Note:
If the rollback is not successful, perform the troubleshooting steps mentioned in Oracle Communications Cloud Native Core, Binding Support Function Troubleshooting Guide.Note:
When rolling back from 23.4.0, Audit Service must be disabled and re-enabled after the rollback is completed. As the audit registration request is resent after the Audit Service pod comes up and the data gets updated in Audit Service tables.