Skip to content

Bug: Unable to update application status in case of gitops using argocd #4877

@tayalrishabh96

Description

@tayalrishabh96

📜 Description

encountering multiple panic errors in devtron app as shown below :
[Apr 02 2024 11:57:01 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: 2024/04/02 06:27:01 traces export: context deadline exceeded: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp: lookup otel.opentelemetry on 10.96.0.10:53: no such host" [Apr 02 2024 11:57:01 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: {"level":"info","ts":1712039221.8476982,"caller":"user/UserService.go:1650","msg":"no token provided"} [Apr 02 2024 11:57:01 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: {"level":"error","ts":1712039221.8477273,"caller":"user/UserService.go:1685","msg":"error in fetching map claims","err":"no token provided","stacktrace":"github.com/devtron-labs/devtron/pkg/auth/user.UserServiceImpl.GetEmailAndGroupClaimsFromToken\n\t/go/src/github.com/devtron-labs/devtron/pkg/auth/user/UserService.go:1685\ngithub.com/devtron-labs/devtron/api/util.LoggingMiddlewareImpl.LoggingMiddleware.func1\n\t/go/src/github.com/devtron-labs/devtron/api/util/logger.go:43\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/src/github.com/devtron-labs/devtron/vendor/github.com/gorilla/mux/mux.go:210\ngithub.com/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:91\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2936\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1995"} [Apr 02 2024 11:57:01 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: 2024/04/02 06:27:01 AUDIT_LOG: user does not exists [Apr 02 2024 11:57:01 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: 2024/04/02 06:27:01 AUDIT_LOG: urlPath: /health, queryParams: ,updatedBy: , updatedOn: 2024-04-02 06:27:01.847782948 +0000 UTC m=+823819.316736663, apiResponseCode: 200,requestPayload: [Apr 02 2024 11:57:01 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: {"level":"info","ts":1712039221.8482342,"caller":"user/UserService.go:1650","msg":"no token provided"} [Apr 02 2024 11:57:01 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: {"level":"error","ts":1712039221.848292,"caller":"user/UserService.go:1685","msg":"error in fetching map claims","err":"no token provided","stacktrace":"github.com/devtron-labs/devtron/pkg/auth/user.UserServiceImpl.GetEmailAndGroupClaimsFromToken\n\t/go/src/github.com/devtron-labs/devtron/pkg/auth/user/UserService.go:1685\ngithub.com/devtron-labs/devtron/api/util.LoggingMiddlewareImpl.LoggingMiddleware.func1\n\t/go/src/github.com/devtron-labs/devtron/api/util/logger.go:43\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/src/github.com/devtron-labs/devtron/vendor/github.com/gorilla/mux/mux.go:210\ngithub.com/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:91\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2936\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1995"} [Apr 02 2024 11:57:01 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: 2024/04/02 06:27:01 AUDIT_LOG: user does not exists [Apr 02 2024 11:57:01 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: 2024/04/02 06:27:01 AUDIT_LOG: urlPath: /health, queryParams: ,updatedBy: , updatedOn: 2024-04-02 06:27:01.849069081 +0000 UTC m=+823819.318022846, apiResponseCode: 200,requestPayload: [Apr 02 2024 11:57:06 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: {"level":"info","ts":1712039226.599838,"caller":"user/UserService.go:1650","msg":"no token provided"} [Apr 02 2024 11:57:06 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: {"level":"error","ts":1712039226.5998704,"caller":"user/UserService.go:1685","msg":"error in fetching map claims","err":"no token provided","stacktrace":"github.com/devtron-labs/devtron/pkg/auth/user.UserServiceImpl.GetEmailAndGroupClaimsFromToken\n\t/go/src/github.com/devtron-labs/devtron/pkg/auth/user/UserService.go:1685\ngithub.com/devtron-labs/devtron/api/util.LoggingMiddlewareImpl.LoggingMiddleware.func1\n\t/go/src/github.com/devtron-labs/devtron/api/util/logger.go:43\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/src/github.com/devtron-labs/devtron/vendor/github.com/gorilla/mux/mux.go:210\ngithub.com/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:91\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2936\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1995"} [Apr 02 2024 11:57:06 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: 2024/04/02 06:27:06 AUDIT_LOG: user does not exists [Apr 02 2024 11:57:06 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: 2024/04/02 06:27:06 AUDIT_LOG: urlPath: /metrics, queryParams: ,updatedBy: , updatedOn: 2024-04-02 06:27:06.599930274 +0000 UTC m=+823824.068883989, apiResponseCode: 200,requestPayload: [Apr 02 2024 11:57:11 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: {"level":"info","ts":1712039231.8471463,"caller":"user/UserService.go:1650","msg":"no token provided"} [Apr 02 2024 11:57:11 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: {"level":"error","ts":1712039231.8471756,"caller":"user/UserService.go:1685","msg":"error in fetching map claims","err":"no token provided","stacktrace":"github.com/devtron-labs/devtron/pkg/auth/user.UserServiceImpl.GetEmailAndGroupClaimsFromToken\n\t/go/src/github.com/devtron-labs/devtron/pkg/auth/user/UserService.go:1685\ngithub.com/devtron-labs/devtron/api/util.LoggingMiddlewareImpl.LoggingMiddleware.func1\n\t/go/src/github.com/devtron-labs/devtron/api/util/logger.go:43\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/src/github.com/devtron-labs/devtron/vendor/github.com/gorilla/mux/mux.go:210\ngithub.com/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:91\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2936\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1995"} [Apr 02 2024 11:57:11 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: 2024/04/02 06:27:11 AUDIT_LOG: user does not exists [Apr 02 2024 11:57:11 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: 2024/04/02 06:27:11 AUDIT_LOG: urlPath: /health, queryParams: ,updatedBy: , updatedOn: 2024-04-02 06:27:11.84722171 +0000 UTC m=+823829.316175425, apiResponseCode: 200,requestPayload: [Apr 02 2024 11:57:11 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: {"level":"info","ts":1712039231.8476582,"caller":"user/UserService.go:1650","msg":"no token provided"} [Apr 02 2024 11:57:11 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: {"level":"error","ts":1712039231.8476686,"caller":"user/UserService.go:1685","msg":"error in fetching map claims","err":"no token provided","stacktrace":"github.com/devtron-labs/devtron/pkg/auth/user.UserServiceImpl.GetEmailAndGroupClaimsFromToken\n\t/go/src/github.com/devtron-labs/devtron/pkg/auth/user/UserService.go:1685\ngithub.com/devtron-labs/devtron/api/util.LoggingMiddlewareImpl.LoggingMiddleware.func1\n\t/go/src/github.com/devtron-labs/devtron/api/util/logger.go:43\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/src/github.com/devtron-labs/devtron/vendor/github.com/gorilla/mux/mux.go:210\ngithub.com/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:91\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2936\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1995"} [Apr 02 2024 11:57:11 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: 2024/04/02 06:27:11 AUDIT_LOG: user does not exists [Apr 02 2024 11:57:11 GMT+0530] orchestrator-chitale-dcd-64d9845cb5-42twf: 2024/04/02 06:27:11 AUDIT_LOG: urlPath: /health, queryParams: ,updatedBy: , updatedOn: 2024-04-02 06:27:11.847713204 +0000 UTC m=+823829.316666919, apiResponseCode: 200,requestPayload:

Affected areas

Other NON-CRITICAL functionality

Additional affected areas

Other NON-CRITICAL functionality

Prod/Non-prod environments?

None

Is User unblocked?

None

How was the user un-blocked?

None

Impact on Enterprise

app status not getting updated correctly

👟 Steps to replicate the Issue

NA

👍 Expected behavior

application status should update successfully.

👎 Actual Behavior

application status not getting updated.

☸ Kubernetes version

NA

Cloud provider

NA

🌍 Browser

Chrome

✅ Proposed Solution

NA

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Labels

bugSomething isn't workingpager-dutyBugs / Issues found while on pager duty

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions