Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install TrustyAI in OperatorV2 #132

Closed
nehachopra27 opened this issue Oct 23, 2023 · 2 comments
Closed

Unable to install TrustyAI in OperatorV2 #132

nehachopra27 opened this issue Oct 23, 2023 · 2 comments
Assignees
Labels

Comments

@nehachopra27
Copy link

nehachopra27 commented Oct 23, 2023

Describe the bug
Unable to apply trustyai component to a spec of DataScienceCluster CR for v2 operator.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Delete the default DataScienceCluster in the Operator
  2. Create a new DataScience Cluster and in yaml view
    add following component to the DSC CR:
trustyai:
   managementState: Managed
  1. Apply the CR and check the events that this is applied successfully

Expected behavior
TrustyAI operator should be deployed successfully

TrustyAI version
Please attach TrustyAI version or commit used.

OpenShift Version
(If applicable) Please attach OpenShift version used.
Version #: 4.13.15
PSI Cluster

Additional context
The component is not applied when the CR is created and when try to edit the YAML error message appears:
Screenshot 2023-10-23 at 10 21 56

Installing: unexpected annotation on deployment. Expected operatorframework.io/initialization-resource:{ "apiVersion": "datasciencecluster.opendatahub.io/v1", "kind": "DataScienceCluster", "metadata": { "name": "default", "labels": { "app.kubernetes.io/name": "datasciencecluster", "app.kubernetes.io/instance": "default", "app.kubernetes.io/part-of": "opendatahub-operator", "app.kubernetes.io/managed-by": "kustomize", "app.kubernetes.io/created-by": "opendatahub-operator" } }, "spec": { "components": { "codeflare": { "managementState": "Removed" }, "dashboard": { "managementState": "Managed" }, "datasciencepipelines": { "managementState": "Managed" }, "kserve": { "managementState": "Removed" }, "modelmeshserving": { "managementState": "Managed" }, "ray": { "managementState": "Removed" }, "workbenches": { "managementState": "Managed" }, "trustyai": { "managementState": "Managed" } } } }, found operatorframework.io/initialization-resource:{ "apiVersion": "datasciencecluster.opendatahub.io/v1", "kind": "DataScienceCluster", "metadata": { "name": "default", "labels": { "app.kubernetes.io/name": "datasciencecluster", "app.kubernetes.io/instance": "default", "app.kubernetes.io/part-of": "opendatahub-operator", "app.kubernetes.io/managed-by": "kustomize", "app.kubernetes.io/created-by": "opendatahub-operator" } }, "spec": { "components": { "codeflare": { "managementState": "Removed" }, "dashboard": { "managementState": "Managed" }, "datasciencepipelines": { "managementState": "Managed" }, "kserve": { "managementState": "Removed" }, "modelmeshserving": { "managementState": "Managed" }, "ray": { "managementState": "Removed" }, "workbenches": { "managementState": "Managed" } } } }
@nehachopra27 nehachopra27 added the kind/bug Something isn't working label Oct 23, 2023
@ruivieira ruivieira self-assigned this Oct 23, 2023
@ruivieira ruivieira transferred this issue from trustyai-explainability/trustyai-explainability Oct 23, 2023
@ruivieira
Copy link
Member

Since TrustyAI is now on ODH 2.3.0, it should show up in the DataScienceCluster now. Is that the case @nehachopra27 ?

@nehachopra27
Copy link
Author

Yes, it works now, the default state is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants