I don't know exactly where to put it but would it ...
# announcements
s
I don't know exactly where to put it but would it be possible to push a fix for this issue? https://github.com/flyteorg/flyte/issues/2444 We had to downgrade as half of our data scientists couldn't log-in because of that bug 😅
👀 1
👍 1
k
@Prafulla Mahindrakar is on it! 🙏
🙏 2
hey folks the latest flyteadmin release v1.1.7 should have the changes if you'd like to upgrade! cc @Stephen @Sören Brunk
s
Thanks @katrina. I just tried 1.1.7 so I could change my name back but it crashes on auth with this error:
Copy code
flyteadmin-7f66647887-zq5h4 {"json":{},"level":"warning","msg":"Unable to decode eyJuYW1lIjoiU29lcmVuIEJydW5rIiwiZ2l2ZW5fbmFtZSI6IlNvZXJlbiIsImZhbWlseV9uYW1lIjoiQnJ1bmsiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUFUWEFKd1A2b3N1bXM5dDRJSjd5MnI5aHZXcVFiWEs5TUxxMnhJMHJ4MUM9czk2LWMifQ due to illegal base64 data at input byte 220","ts":"2022-05-19T19:04:32Z"}
flyteadmin-7f66647887-zq5h4 {"json":{},"level":"info","msg":"Could not unmarshal user info from metadata unexpected end of JSON input","ts":"2022-05-19T19:04:32Z"}
flyteadmin-7f66647887-zq5h4 {"json":{},"level":"debug","msg":"gRPC server info in logging interceptor [100654584649615369986[]method [/flyteidl.service.AdminService/ListProjects]\n","ts":"2022-05-19T19:04:32Z"}
flyteadmin-7f66647887-zq5h4 panic: runtime error: invalid memory address or nil pointer dereference
flyteadmin-7f66647887-zq5h4 [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1ac5cd4]
flyteadmin-7f66647887-zq5h4 goroutine 1652 [running[]:
flyteadmin-7f66647887-zq5h4 <http://github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0x29a5900|github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0x29a5900>?, 0xc001ddf6b0?}, {0x236fcc0?, 0xc001cc4cd0?})
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.2.2/chain.go:25 +0x34
flyteadmin-7f66647887-zq5h4 <http://github.com/flyteorg/flyteadmin/auth.AuthenticationLoggingInterceptor({0x29a5900|github.com/flyteorg/flyteadmin/auth.AuthenticationLoggingInterceptor({0x29a5900>, 0xc001ddf6b0}, {0x236fcc0, 0xc001cc4cd0}, 0xc001c91560, 0xc001c91580)
flyteadmin-7f66647887-zq5h4     /go/src/github.com/flyteorg/flyteadmin/auth/handlers.go:194 +0x4c6
flyteadmin-7f66647887-zq5h4 <http://github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0x29a5900|github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0x29a5900>?, 0xc001ddf6b0?}, {0x236fcc0?, 0xc001cc4cd0?})
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.2.2/chain.go:25 +0x3a
flyteadmin-7f66647887-zq5h4 <http://github.com/grpc-ecosystem/go-grpc-middleware/auth.UnaryServerInterceptor.func1({0x29a5900|github.com/grpc-ecosystem/go-grpc-middleware/auth.UnaryServerInterceptor.func1({0x29a5900>, 0xc001d7c720}, {0x236fcc0, 0xc001cc4cd0}, 0xc001c91560, 0xc001c915a0)
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.2.2/auth/auth.go:47 +0xba
flyteadmin-7f66647887-zq5h4 <http://github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0x29a5900|github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0x29a5900>?, 0xc001d7c720?}, {0x236fcc0?, 0xc001cc4cd0?})
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.2.2/chain.go:25 +0x3a
flyteadmin-7f66647887-zq5h4 <http://github.com/flyteorg/flyteadmin/auth.GetAuthenticationCustomMetadataInterceptor.func1({0x29a5900|github.com/flyteorg/flyteadmin/auth.GetAuthenticationCustomMetadataInterceptor.func1({0x29a5900>, 0xc001d7c720}, {0x236fcc0, 0xc001cc4cd0}, 0x20?, 0xc001c915c0)
flyteadmin-7f66647887-zq5h4     /go/src/github.com/flyteorg/flyteadmin/auth/handlers.go:219 +0x26a
flyteadmin-7f66647887-zq5h4 <http://github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0x29a5900|github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0x29a5900>?, 0xc001d7c720?}, {0x236fcc0?, 0xc001cc4cd0?})
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.2.2/chain.go:25 +0x3a
flyteadmin-7f66647887-zq5h4 <http://github.com/grpc-ecosystem/go-grpc-prometheus.(*ServerMetrics).UnaryServerInterceptor.func1({0x29a5900|github.com/grpc-ecosystem/go-grpc-prometheus.(*ServerMetrics).UnaryServerInterceptor.func1({0x29a5900>, 0xc001d7c720}, {0x236fcc0, 0xc001cc4cd0}, 0x7fe67e483660?, 0xc001c915e0)
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-prometheus@v1.2.0/server_metrics.go:107 +0x87
flyteadmin-7f66647887-zq5h4 <http://github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0x29a5900|github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0x29a5900>?, 0xc001d7c720?}, {0x236fcc0?, 0xc001cc4cd0?})
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.2.2/chain.go:25 +0x3a
flyteadmin-7f66647887-zq5h4 <http://github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1({0x29a5900|github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1({0x29a5900>, 0xc001d7c720}, {0x236fcc0, 0xc001cc4cd0}, 0xc0010a8af0?, 0x20ee0e0?)
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.2.2/chain.go:34 +0xbf
flyteadmin-7f66647887-zq5h4 <http://github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service._AdminService_ListProjects_Handler({0x243e940|github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service._AdminService_ListProjects_Handler({0x243e940>?, 0xc0016c9000}, {0x29a5900, 0xc001d7c720}, 0xc001cc2b40, 0xc000576b70)
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/github.com/flyteorg/flyteidl@v1.1.0/gen/pb-go/flyteidl/service/admin.pb.go:1576 +0x138
flyteadmin-7f66647887-zq5h4 <http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc001070e00|google.golang.org/grpc.(*Server).processUnaryRPC(0xc001070e00>, {0x29ae220, 0xc001cfa000}, 0xc0008c8ea0, 0xc001beb470, 0x3c5bbf8, 0x0)
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/google.golang.org/grpc@v1.46.0/server.go:1283 +0xcfd
flyteadmin-7f66647887-zq5h4 <http://google.golang.org/grpc.(*Server).handleStream(0xc001070e00|google.golang.org/grpc.(*Server).handleStream(0xc001070e00>, {0x29ae220, 0xc001cfa000}, 0xc0008c8ea0, 0x0)
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/google.golang.org/grpc@v1.46.0/server.go:1620 +0xa1b
flyteadmin-7f66647887-zq5h4 <http://google.golang.org/grpc.(*Server).serveStreams.func1.2()|google.golang.org/grpc.(*Server).serveStreams.func1.2()>
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/google.golang.org/grpc@v1.46.0/server.go:922 +0x98
flyteadmin-7f66647887-zq5h4 created by <http://google.golang.org/grpc.(*Server).serveStreams.func1|google.golang.org/grpc.(*Server).serveStreams.func1>
flyteadmin-7f66647887-zq5h4     /go/pkg/mod/google.golang.org/grpc@v1.46.0/server.go:920 +0x28a
The same in 1.1.6 while 1.1.5 works fine. So I suspect the changes from https://github.com/flyteorg/flyteadmin/pull/420 might be related.
k
that would certainly make sense, sorry about this. let me revert
🙏 1
hey @Sören Brunk so sorry about this, v1.1.8 should be good to go
s
Awesome! 1.1.9 seems to be working fine too. Thanks @katrina
👍 2
s
Thanks a lot for pushing the fix, we’ll upgrade soon 😄
Works for us as well, thanks a lot for pushing the fix 🙏
👍 1
168 Views