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

Service account is not owned by this ClusterServiceVersion #2028

Closed
davidkarlsen opened this issue Mar 4, 2021 · 2 comments · Fixed by #2029
Closed

Service account is not owned by this ClusterServiceVersion #2028

davidkarlsen opened this issue Mar 4, 2021 · 2 comments · Fixed by #2029
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@davidkarlsen
Copy link

Bug Report

What did you do?

Upgrade namespace-configuration operator by using the operator ui: redhat-cop/namespace-configuration-operator#92
The install is actually OK, but halts with a bad status. Then you see:

Kind:     ServiceAccount
Message:  Service account is not owned by this ClusterServiceVersion
Name:     default
Status:   PresentNotSatisfied

What did you expect to see?
Smooth upgrade.

What did you see instead? Under which circumstances?
The upgrade "hangs"

Environment

  • operator-lifecycle-manager version:

openshift 4.6.18

  • Kubernetes version information:
    1.19

  • Kubernetes cluster kind:
    OpenShift

Possible Solution
IDK but I see similar issues reported in OCP BZ.

Additional context

@davidkarlsen davidkarlsen added the kind/bug Categorizes issue or PR as related to a bug. label Mar 4, 2021
@benluddy
Copy link
Contributor

benluddy commented Mar 4, 2021

There should be an InstallPlan in the same namespace that references the stuck ClusterServiceVersion. Can you share its status? It sounds like something may have failed after partially executing that plan.

@benluddy
Copy link
Contributor

benluddy commented Mar 4, 2021

I didn't take note that this ServiceAccount was named "default". I think this is a bug. Patch here: #2029.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
2 participants