Rolling back Developer Portal to v2018
If problems are encountered during the upgrade of Developer Portal to v10, you can rollback to v2018.
About this task
The rollback process removes any v10 portal related resources and reinstates the v2018 resources. During rollback:
- The v2018 ingress resources are recreated.
- The v2018 portal
www
anddb
pods are unfrozen. - Once the pods have come back up and reached
READY
status, any remaining portal upgrade related resources are removed.
If a portal upgrade CR has been rolled back, then in order to retry the upgrade a new portal upgrade CR must be created. It is recommended to delete the failed upgrade CR instance first.
The upgrade CR property triggerRollback
provides the ability to define when a
rollback should or should not be initiated. The triggerRollback
property can take
the following values:
Value | Description |
---|---|
false |
Rollback of the portal subsystem will not be triggered. Default value |
true |
The upgrade of the portal subsystem will be rolled back immediately unless the upgrade
process has already started to remove the v2018 portal resources, as indicated by the status
condition CleanupInProgress is true.The upgrade CR is rejected if
|
You should gather log information before editing the upgrade CR and setting the
triggerRollback
value to true
, as follows:
kubectl
command. On OpenShift, use the equivalent oc
command in its place. If you are using a top-level CR you must edit the multiSiteHA section for the
subsystem in the top-level CR, instead of directly in the subsystem CRs. If the subsystem section is
not included in the top-level CR, copy and paste the section from the subsystem CR to the top-level
CR.