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

[Bug]: Pipelines operator is not detected correctly. #1485

Closed
1 task done
vishnudev-k opened this issue Jul 7, 2023 · 5 comments
Closed
1 task done

[Bug]: Pipelines operator is not detected correctly. #1485

vishnudev-k opened this issue Jul 7, 2023 · 5 comments
Labels
feature/ds-pipelines Data Science Pipelines feature (aka DSP) kind/bug Something isn't working migrated needs-info Further information is requested from the reporter or from another source priority/normal An issue with the product; fix when possible

Comments

@vishnudev-k
Copy link

vishnudev-k commented Jul 7, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Deploy type

Using an OpenDataHub main version (eg. v1.6.0)

Version

Openshift version - 4.9.59 RH Pipelines version - 1.7.3 ODH version - 1.6 (dashboard is main and kfDef is 1.7)

Current Behavior

ODH dashboard is not detecting pipeline operators intermittently.

I have tried triaging the issue by adding cluster role binding to my IAM user
and momentarily got the pipeline enabled. (not sure if it's the fix or something else)

Later the dashboard started complaining about operator installation again.

I am using IBM SSO for logging into the cluster.
My username looks like this.
image

image

Expected Behavior

ODH dashboard should detect pipelines operator without any config change.

Steps To Reproduce

No response

Workaround (if any)

No response

What browsers are you seeing the problem on?

No response

Anything else

No response

@vishnudev-k vishnudev-k added kind/bug Something isn't working priority/normal An issue with the product; fix when possible untriaged Indicates the newly create issue has not been triaged yet labels Jul 7, 2023
@shalberd
Copy link
Contributor

shalberd commented Jul 7, 2023

@andrewballantyne meaning the user of IBM SSO had to do this for Red Hat Openshift Pipelines Operator detection logic to work, though intermittently, the error message of Red Hat Openshift Pipelines not installed still appears.

kind: ClusterRoleBinding
apiVersion: [rbac.authorization.k8s.io/v1](http://rbac.authorization.k8s.io/v1)
metadata:
  name: cluster-reader-myusername
subjects:
  - kind: User
    apiGroup: [rbac.authorization.k8s.io](http://rbac.authorization.k8s.io/)
    name: "IAM#myusername@ibm.com"
roleRef:
  apiGroup: [rbac.authorization.k8s.io](http://rbac.authorization.k8s.io/)
  kind: ClusterRole
  name: cluster-reader

@lucferbux
Copy link
Contributor

Hi @shalberd @vishnudev-k I think we've already addressed this issue in this PR which is already merged in our v2.12 release.
This release was merged on friday, @vishnudev-k can you verify if your dashboard deployment is already in v2.12.0 and the issue is gone?
Thanks in advance!

@pnaik1
Copy link
Contributor

pnaik1 commented Jul 10, 2023

cc @andrewballantyne

@pnaik1 pnaik1 added feature/ds-pipelines Data Science Pipelines feature (aka DSP) needs-info Further information is requested from the reporter or from another source and removed untriaged Indicates the newly create issue has not been triaged yet labels Jul 10, 2023
@andrewballantyne
Copy link
Member

What we need to do is investigate why an RB impacted this -- there must be a funky way to start the Dashboard or something at play here... I'm shocked that an SSO client could impact this 🤔 Perhaps there is some form of token loss or something when the SSO login is used with the OAuth Proxy.

My leading guess is we should look at the pod terminal and request a whoami response from the Dashboard Pod. It should come back with the ODH Dashboard Service Account -- but I imagine that's not the case in this scenario -- if it is, I'm back to square one.

@adnankhan666
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/ds-pipelines Data Science Pipelines feature (aka DSP) kind/bug Something isn't working migrated needs-info Further information is requested from the reporter or from another source priority/normal An issue with the product; fix when possible
Projects
Status: Done
Status: No status
Archived in project
Development

No branches or pull requests

6 participants