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

Error: The user is already a member of the organization (422) #5

Open
mgp112 opened this issue Jun 8, 2023 · 1 comment
Open

Error: The user is already a member of the organization (422) #5

mgp112 opened this issue Jun 8, 2023 · 1 comment

Comments

@mgp112
Copy link

mgp112 commented Jun 8, 2023

After modifying namespaces within a tenant, I'm getting errors in the add-on module logs. I can only restrict my namespaces again only if I create a new user entirely.

1.6862328399359455e+09 INFO Reconciling Namespace hydro-cc4v-staging {"controller": "tenant", "controllerGroup": "capsule.clastix.io", "controllerKind": "Tenant", "tenant": {"name":"hydro-cc4v"}, "namespace": "", "name": "hydro-cc4v", "reconcileID": "a0ff744f-0ed9-4bf6-bb5e-0233d3953875"} 1.6862328399361534e+09 INFO Reconciling Namespace hydro-cc4v-production {"controller": "tenant", "controllerGroup": "capsule.clastix.io", "controllerKind": "Tenant", "tenant": {"name":"hydro-cc4v"}, "namespace": "", "name": "hydro-cc4v", "reconcileID": "a0ff744f-0ed9-4bf6-bb5e-0233d3953875"} 1.6862328399363341e+09 INFO Reconciling Namespace hydro-cc4v-development {"controller": "tenant", "controllerGroup": "capsule.clastix.io", "controllerKind": "Tenant", "tenant": {"name":"hydro-cc4v"}, "namespace": "", "name": "hydro-cc4v", "reconcileID": "a0ff744f-0ed9-4bf6-bb5e-0233d3953875"} 1.6862328399402323e+09 INFO Reconciliation completed {"controller": "tenant", "controllerGroup": "capsule.clastix.io", "controllerKind": "Tenant", "tenant": {"name":"hydro-cc4v"}, "namespace": "", "name": "hydro-cc4v", "reconcileID": "a0ff744f-0ed9-4bf6-bb5e-0233d3953875"} 1.6862328549465728e+09 ERROR failed ensuring user [email protected] for Tenant hydro-cc4v {"controller": "tenant", "controllerGroup": "capsule.clastix.io", "controllerKind": "Tenant", "tenant": {"name":"hydro-cc4v"}, "namespace": "", "name": "hydro-cc4v", "reconcileID": "f761fc2d-9876-4d11-93e1-c455fb32f64a", "error": "The user is already a member of the organization (422)"} sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:121 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:320 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:273 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2 /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:234

@draghuram
Copy link

How much I wish for simple plain text logs with stack traces printed on independent lines! This trend of json logs is a serious menace to developer productivity. Now, I need to mentally parse this text, remove all unnecessary fields, and focus on messages alone. So much effort to just get to error messages. Of course, I can write a script but it is tricky to write one that works different formats of json logs. We have the same issue for CloudCasa as well.

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

No branches or pull requests

2 participants