Details
-
Bug
-
Resolution: Done
-
Critical
-
fuse-7.10-GA
-
None
-
False
-
False
-
%
-
Todo
-
Description
When I run `bash ./fuse-online-install/update_ocp.sh --skip-pull-secret`, it failed on
ERROR: No CRD Syndesis installed or no permissions to read them. Please run --setup and/or --grant as cluster-admin. Please use '--help' for more information.
because the `oc get syndesis` in the `check_syndesis` ( https://github.com/syndesisio/fuse-online-install/blob/1.13.0/update_ocp.sh#L115 ) is failing on
Error from server (NotFound): Unable to list "syndesis.io/v1beta2, Resource=syndesises": the server could not find the requested resource (get syndesises.syndesis.io)
weird is that after some time (~5 minutes), the error is gone and the command oc get syndesis starts working again.
The same thing happens when I delete syndesis crd and after that, I run `oc get syndesis`. There is an error
No resources found. Error from server (NotFound): Unable to list {"syndesis.io" "v1beta3" "syndesises"}: the server could not find the requested resource (get syndesises.syndesis.io)
and after some time (~10 minutes), there is only
error: the server doesn't have a resource type "syndesis"
A workaround is just waiting till `oc get syndesis` starts working again after the CRD is updated[1] during the upgrade process.
[1] -
bash install_ocp.sh --setup bash install_ocp.sh --grant developer