Troubleshooting
Problem
Diagnosing The Problem
In certain OpenShift Container Platform patch versions, there are chances that the Fusion operator can get stuck with a similar error:
error validating existing CRs against new CRD's schema for "fusionserviceinstances.service.isf.ibm.com": error validating service.isf.ibm.com/v1, Kind=FusionServiceInstance "ibm-spectrum-fusion-ns/odfmanager": updated validation is too restrictive: [].status.triggerCatSrcCreateStartTime: Invalid value: "number": status.triggerCatSrcCreateStartTime in body must be of type integer: "number"
If you encounter this error, you must contact the IBM support.
To prevent this error from occurring, follow the steps mentioned in the Resolving the problem section. The steps patch the FusionServiceInstance CRs and FusionServiceDefinition CRs to reset the fields that can block the upgrade.
Resolving The Problem
- Run the following OC commands specific to FusionServiceInstance CRs:
Note: If there are any FusionServiceInstance CRs present in the cluster, then run the commands mentioned in this step.
oc project $(oc get spectrumfusion -A -o custom-columns=NS:metadata.namespace --no-headers)
oc get fusionserviceinstance -o jsonpath='{.items[*].metadata.name}' |tr ' ' '\n' | xargs -I {} oc patch fusionserviceinstance {} --type=merge --subresource=status -p '{"status": {"triggerCatSrcCreateStartTime": 0}}'
oc get fusionserviceinstance -o jsonpath='{.items[*].metadata.name}' |tr ' ' '\n' | xargs -I {} oc patch fusionserviceinstance {} --type=merge --subresource=status -p '{"status": {"currentInstallStartTime": 0}}'
oc get fusionserviceinstance -o jsonpath='{.items[*].metadata.name}' |tr ' ' '\n' | xargs -I {} oc patch fusionserviceinstance {} --type=merge --subresource=status -p '{"status": {"operatorLastUpdateTime": 0}}'
oc get fusionserviceinstance -o jsonpath='{.items[*].metadata.name}' |tr ' ' '\n' | xargs -I {} oc patch fusionserviceinstance {} --type=merge --subresource=status -p '{"status": {"operatorUpgradeStartTime": 0}}' - Run the OC command specific to FusionServiceDefinition CR:
oc get fusionservicedefinition -o jsonpath='{.items[*].metadata.name}' |tr ' ' '\n' | xargs -I {} oc patch fusionservicedefinition {} --type=merge -p '{"spec": {"serviceInformation": {"lastUpdated": 0}}}'
Note: If there are any FusionServiceDefinition CRs present in the cluster, then run the commands mentioned in this step.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
24 January 2025
UID
ibm17173499