cloud-native-robotz-hackathon / infrastructure

0 stars 1 forks source link

DevWorkspaceOperator - installed twice #50

Closed rbo closed 2 months ago

rbo commented 3 months ago

Operators image

Argocd:


Failed to load live state: failed to get cluster info for "https://kubernetes.default.svc": error synchronizing cache state : failed to sync cluster https://172.30.0.1:443: failed to load initial state of resource DevWorkspace.workspace.devfile.io: Internal error occurred: error resolving resource
Failed to load target state: failed to get cluster version for cluster "https://kubernetes.default.svc": failed to get cluster info for "https://kubernetes.default.svc": error synchronizing cache state : failed to sync cluster https://172.30.0.1:443: failed to load initial state of resource DevWorkspace.workspace.devfile.io: Internal error occurred: error resolving resource
error synchronizing cache state : failed to sync cluster https://172.30.0.1:443: failed to load initial state of resource DevWorkspace.workspace.devfile.io: Internal error occurred: error resolving resource

image

rbo commented 3 months ago

Try to delete Failed and dupicated operator...

rbo commented 2 months ago

Fresh deployed cluster, all looks good. Close...

rbo commented 2 months ago

New Development cluster has the DevWorkspace Operator issue:

% oc get subs -A -o wide | grep dev
openshift-devspaces   devspaces                                                                    devspaces                         redhat-operators-for-robots    stable
openshift-devspaces   devworkspace-operator-fast-redhat-operators-for-robots-openshift-devspaces   devworkspace-operator             redhat-operators-for-robots    fast
openshift-operators   devworkspace-operator-fast-redhat-operators-for-robots-openshift-operators   devworkspace-operator             redhat-operators-for-robots    fast
%

% oc get installplan -A | grep dev
openshift-devspaces   install-v2ww4   devspacesoperator.v3.14.0                 Automatic   true
openshift-operators   install-qq8cp   devworkspace-operator.v0.28.0             Automatic   true
%
rbo commented 2 months ago

Mh that could be a problem with web-terminal & devspaces installation.

rbo commented 2 months ago

Test env have the same problem, with an alert as well:

CsvAbnormalFailedOver2Min Failed to install Operator devworkspace-operator.v0.28.0 version 0.28.0. Reason-InterOperatorGroupOwnerConflict