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

[backend] Panic in API Server #10267

Closed
TobiasGoerke opened this issue Nov 28, 2023 · 1 comment
Closed

[backend] Panic in API Server #10267

TobiasGoerke opened this issue Nov 28, 2023 · 1 comment

Comments

@TobiasGoerke
Copy link
Contributor

Environment

  • How did you deploy Kubeflow Pipelines (KFP)?
    Using Kubeflow v1.8.0 Release.
  • KFP version:
    v2.0.3

Steps to reproduce

The pipelines API (ml-pipeline-Pod) periodically crashes.
While I can't give an example reproducing the error, here's the --previous log with the panic:

I1127 14:21:13.257864       7 resource_manager.go:1702] Authorizing request
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1d7362c]

goroutine 591944 [running]:
[github.com/kubeflow/pipelines/backend/src/common/util.(*UserError).Error(..](http://github.com/kubeflow/pipelines/backend/src/common/util.(*UserError).Error(..).)
        /go/src/[github.com/kubeflow/pipelines/backend/src/common/util/error.go:249](http://github.com/kubeflow/pipelines/backend/src/common/util/error.go:249)
[github.com/kubeflow/pipelines/backend/src/apiserver/resource.(*ResourceManager).IsAuthorized(0xc00035f900](http://github.com/kubeflow/pipelines/backend/src/apiserver/resource.(*ResourceManager).IsAuthorized(0xc00035f900), {0x28b0890, 0xc001e659b0}, 0xc0003c5d50)
        /go/src/[github.com/kubeflow/pipelines/backend/src/apiserver/resource/resource_manager.go:1730](http://github.com/kubeflow/pipelines/backend/src/apiserver/resource/resource_manager.go:1730) +0x9cc
[github.com/kubeflow/pipelines/backend/src/apiserver/server.(*ExperimentServer).canAccessExperiment(0xc00024cea0](http://github.com/kubeflow/pipelines/backend/src/apiserver/server.(*ExperimentServer).canAccessExperiment(0xc00024cea0), {0x28b0890, 0xc001e659b0}, {0xc00059ef60, 0x24}, 0xc0003c5d50)
        /go/src/[github.com/kubeflow/pipelines/backend/src/apiserver/server/experiment_server.go:348](http://github.com/kubeflow/pipelines/backend/src/apiserver/server/experiment_server.go:348) +0x1e8
[github.com/kubeflow/pipelines/backend/src/apiserver/server.(*ExperimentServer).getExperiment(0xc00024cea0](http://github.com/kubeflow/pipelines/backend/src/apiserver/server.(*ExperimentServer).getExperiment(0xc00024cea0), {0x28b0890, 0xc001e659b0}, {0xc00059ef60, 0x24})
        /go/src/[github.com/kubeflow/pipelines/backend/src/apiserver/server/experiment_server.go:155](http://github.com/kubeflow/pipelines/backend/src/apiserver/server/experiment_server.go:155) +0x71
[github.com/kubeflow/pipelines/backend/src/apiserver/server.(*ExperimentServer).GetExperiment(0xc00024cea0](http://github.com/kubeflow/pipelines/backend/src/apiserver/server.(*ExperimentServer).GetExperiment(0xc00024cea0)?, {0x28b0890?, 0xc001e659b0?}, 0xc001c1b2c0?)
        /go/src/[github.com/kubeflow/pipelines/backend/src/apiserver/server/experiment_server.go:188](http://github.com/kubeflow/pipelines/backend/src/apiserver/server/experiment_server.go:188) +0x8c
[github.com/kubeflow/pipelines/backend/api/v2beta1/go_client._ExperimentService_GetExperiment_Handler.func1({0x28b0890](http://github.com/kubeflow/pipelines/backend/api/v2beta1/go_client._ExperimentService_GetExperiment_Handler.func1(%7B0x28b0890), 0xc001e659b0}, {0x21c8060?, 0xc001c1b2c0})
        /go/src/[github.com/kubeflow/pipelines/backend/api/v2beta1/go_client/experiment.pb.go:1086](http://github.com/kubeflow/pipelines/backend/api/v2beta1/go_client/experiment.pb.go:1086) +0x78
main.apiServerInterceptor({0x28b0890, 0xc001e659b0}, {0x21c8060, 0xc001c1b2c0}, 0xc0005ea2e0, 0xc001b38fc0)
        /go/src/[github.com/kubeflow/pipelines/backend/src/apiserver/interceptor.go:30](http://github.com/kubeflow/pipelines/backend/src/apiserver/interceptor.go:30) +0xd8
[github.com/kubeflow/pipelines/backend/api/v2beta1/go_client._ExperimentService_GetExperiment_Handler({0x2360700](http://github.com/kubeflow/pipelines/backend/api/v2beta1/go_client._ExperimentService_GetExperiment_Handler(%7B0x2360700)?, 0xc00024cea0}, {0x28b0890, 0xc001e659b0}, 0xc00177b7a0, 0x25498a0)
        /go/src/[github.com/kubeflow/pipelines/backend/api/v2beta1/go_client/experiment.pb.go:1088](http://github.com/kubeflow/pipelines/backend/api/v2beta1/go_client/experiment.pb.go:1088) +0x138
[google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001ba000](http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001ba000), {0x28b8ae0, 0xc000683d40}, 0xc000956ea0, 0xc0005486c0, 0x3a03d38, 0x0)
        /go/pkg/mod/[google.golang.org/[email protected]/server.go:1282](http://google.golang.org/[email protected]/server.go:1282) +0xcef
[google.golang.org/grpc.(*Server).handleStream(0xc0001ba000](http://google.golang.org/grpc.(*Server).handleStream(0xc0001ba000), {0x28b8ae0, 0xc000683d40}, 0xc000956ea0, 0x0)
        /go/pkg/mod/[google.golang.org/[email protected]/server.go:1616](http://google.golang.org/[email protected]/server.go:1616) +0xa36
[google.golang.org/grpc.(*Server).serveStreams.func1.2()](http://google.golang.org/grpc.(*Server).serveStreams.func1.2())
        /go/pkg/mod/[google.golang.org/[email protected]/server.go:921](http://google.golang.org/[email protected]/server.go:921) +0x98
created by [google.golang.org/grpc.(*Server).serveStreams.func1](http://google.golang.org/grpc.(*Server).serveStreams.func1)
        /go/pkg/mod/[google.golang.org/[email protected]/server.go:919](http://google.golang.org/[email protected]/server.go:919) +0x28a

Impacted by this bug? Give it a 👍.

@TobiasGoerke
Copy link
Contributor Author

TobiasGoerke commented Nov 28, 2023

Looks like it paniced while trying to log an error, as it can't access the internalError.Error()

hsinhoyeh added a commit to hsinhoyeh/pipelines that referenced this issue Dec 4, 2023
roytman pushed a commit to roytman/pipelines that referenced this issue Feb 14, 2024
…0267 (kubeflow#10439)

* Fix(backend): fix timeout for internal server error

* Fix(backend): fix timeout for internal server error (variable rename)

Signed-off-by: Alexey Roytman <[email protected]>
stijntratsaertit pushed a commit to stijntratsaertit/kfp that referenced this issue Feb 16, 2024
…0267 (kubeflow#10439)

* Fix(backend): fix timeout for internal server error

* Fix(backend): fix timeout for internal server error (variable rename)
petethegreat pushed a commit to petethegreat/pipelines that referenced this issue Mar 27, 2024
…0267 (kubeflow#10439)

* Fix(backend): fix timeout for internal server error

* Fix(backend): fix timeout for internal server error (variable rename)
petethegreat pushed a commit to petethegreat/pipelines that referenced this issue Mar 29, 2024
…0267 (kubeflow#10439)

* Fix(backend): fix timeout for internal server error

* Fix(backend): fix timeout for internal server error (variable rename)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Closed
Development

Successfully merging a pull request may close this issue.

1 participant