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

1Password Operator running in Kubernetes randomly fails to create new secrets #123

Open
john-yacuta-submittable opened this issue Aug 16, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@john-yacuta-submittable
Copy link

john-yacuta-submittable commented Aug 16, 2022

Your environment

Operator Version: v1.5.0

Connect Server Version: v1.5.6

Kubernetes Version: v1.21

What happened?

1Password Operator running in Kubernetes randomly fails to create new secrets. Error message states its due to authorization.

Workaround: delete the 1password-operator pod and then the operator is able to create new secrets again.

1Password Operator error message:

{"level":"error","ts":1660247809.6463165,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"onepassworditem-controller","request":"<SECRET_NAME>","error":"Failed to retrieve item: status 403: Authorization: (Invalid bearer token), ","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/workspace/vendor/github.com/go-logr/zapr/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:258\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\t/workspace/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\t/workspace/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/workspace/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/workspace/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:90"}

What did you expect to happen?

1Password Operator running in Kubernetes is able to create new secrets.

Steps to reproduce

  1. 1Password Operator running in Kubernetes for a couple of days/weeks and then randomly stops to create secrets. Note that no changes have been made to tokens and/or 1Password configuration.

Notes & Logs

See above.

@john-yacuta-submittable john-yacuta-submittable added the bug Something isn't working label Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant