Upgrade - OpenShift (3.3)

Upgrade Usage Engine

  1. Validate the Helm Chart Contents

    To ensure there are no errors in the Helm chart content, you can run the following:

    $ helm lint usage-engine-private-edition


    You can also run the helm template chart to see the yaml file with modified values:

    $ helm template usage-engine-private-edition
  2. Upgrade all pods.

    - Use the new License Key for the upgrade. In case you have not received a new License Key, see the Release Note for the alternative method.

    - In the case the upgrade fails, it will rollback automatically. The new resources from the upgrade will be removed automatically.

    Before you upgrade, validate the helm chart with a dry-run: Note that <release_platform> is the unique names that was defined at the installation. $ helm upgrade <release_platform> usage-engine-private-edition --set-file licenseKey=<licensekey_file> --dry-run --debug --namespace <namespace> If the validation is ok, continue with the upgrade: $ helm upgrade <release_platform> usage-engine-private-edition --set-file licenseKey=<licensekey_file> --atomic --cleanup-on-fail --debug --namespace <namespace>
  3. Verify the installation. STATUS Running. The READY state (ready/desired) should be 1/1, 2/2 and so on.  It can can take a few minutes before everything is in up and running.

     

Manual Downgrade

If you need to do a manual downgrade of the system, see for more information.

Manual ECD rolling update

In the case Automatic Rolling Update was never defined for the ECDs, you need to enter the Web interface and manually upgrade the ECDs to the new image by clicking Upgrade in the EC deployment interface.

  1. Connect to the Web Interface, go to :<NodePort>, entering your cluster node and the NodePort. Use the NodePort number substitute for 80 (http) or 443 (https), you get the ports from kubectl get services, see the output example above with port 31200. 

  2. Login to the Web Interface and click on Upgrade for the ECDs with a warning sign, to apply the upgrades.


    Example of the ECD ecd01, with a warning sign ready for the image upgrade.