6 Rolling Back OSO

This chapter provides information about rolling back Oracle Communications Operations Services Overlay (OSO) deployment to previous releases.

6.1 Supported Rollback Paths

The following table lists the supported rollback paths for OSO:

Table 6-1 Supported Rollback Path

Source Release Target Release
23.4.5 23.4.0, 23.4.4
23.4.5 23.3.1

6.2 Prerequisites

Following are the prerequisites to rollback OSO:
  • Ensure that the system has OSO 23.4.5 installed and the OSO is working properly.
  • Verify if all the pods and services are up and running.

6.3 Rollback Tasks

To roll back from OSO 23.4.5 to previous releases 23.3.x or 23.4.x:

  1. Check the revision you want to roll back your release to.
    $ helm -n <namespace> history <oso-release-name>

    For example:

    $ helm -n dbtier history oso

    Sample output

    
    REVISION        UPDATED                         STATUS          CHART                   APP VERSION             DESCRIPTION
    1               Mon Mar 25 17:46:51 2024        superseded      prometheus-15.16.1      23.4.5-62-g28668fe Install complete
    2               Mon Mar 25 17:48:01 2024        deployed        prometheus-15.16.1      23.4.5-62-g28668fe Upgrade complete
  2. Pick the Revision number to which you wish to roll back your release into. In above example, it will be 1. Run the following command to roll back:
    $ helm  -n <namespace> rollback <oso-release-name> <oso revision number>

    For example:

    $ helm -n dbtier rollback oso 1

    Sample output

    Rollback was a success! Happy Helming!
  3. Verify if the rollback was successful to a previous version, perform the following command:
    $ helm -n <namespace> history <oso-release-name>

    For example:

    $ helm -n dbtier history oso

    Sample output

    
    REVISION        UPDATED                         STATUS          CHART                   APP VERSION             DESCRIPTION
    1               Mon Mar 25 17:46:51 2024        superseded      prometheus-15.16.1      23.4.5-62-g28668fe Install complete
    2               Mon Mar 25 17:48:01 2024        superseded      prometheus-15.16.1      23.4.5-62-g28668fe Upgrade complete
    3               Wed Mar 27 18:37:02 2024        deployed        prometheus-15.16.1      23.4.5-62-g28668fe Rollback to 1