Disabling a policy results in a 403 error
Selecting the Disable automation updates option results in a 403 error when a cluster is set to be a backup deployment.
Problem
When you go to
Disable automation updates option on a policy, the
FETCH_ERROR_403
error appears. This error is expected for a backup deployment.
Cause
Policy updates are not allowed on the backup cluster.
Resolution
To avoid the error, you can set a variable so that the cluster is not recognized as backup.
- Edit the cem-users deployment and add the
SERVICECONTINUITY_ISBACKUPDEPLOYMENT
variable if it doesn't yet exist.- To edit the cem-users deployment from the command line, run the following
commands:
oc get deployment | grep cem-users oc edit deployment <release_name>-ibm-cem-cem-users
- To edit the cem-users deployment from the Red Hat® OpenShift®console, log in to Red Hat OpenShift, go to Deployments, and edit the cem-users deployment.
- To edit the cem-users deployment from the command line, run the following
commands:
- In the cem-users deployment, set the value of the
SERVICECONTINUITY_ISBACKUPDEPLOYMENT
variable to false. The cluster is not recognized as backup if this variable is set to false.- Do not set this property to true on a single, stand-alone cluster.
- Set this property to true only in a high availability disaster recovery (HADR) hybrid deployment or geo-redundant setup.