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

pouchd panic #2122

Closed
rudyfly opened this issue Aug 20, 2018 · 4 comments · Fixed by #2123
Closed

pouchd panic #2122

rudyfly opened this issue Aug 20, 2018 · 4 comments · Fixed by #2123
Labels
kind/panic priority/P1 this is high priority that all maintainers should stop to handle this issue status/more-info-needed

Comments

@rudyfly
Copy link
Collaborator

rudyfly commented Aug 20, 2018

Ⅰ. Issue Description

goroutine 483295 [running]:
net/http.(*conn).serve.func1(0xc4201a1860)
        /usr/local/go/src/net/http/server.go:1697 +0xd0
panic(0x1e21c80, 0x2138990)
        /usr/local/go/src/runtime/panic.go:491 +0x283
github.com/alibaba/pouch/storage/quota.(*PrjQuotaDriver).GetNextQuotaID(0xc4202e00f0, 0x0, 0x0, 0x0)
        /go/src/github.com/alibaba/pouch/storage/quota/prjquota.go:304 +0xf8
github.com/alibaba/pouch/storage/quota.GetNextQuotaID(0xc420ca346c, 0x2, 0xffffffffffffffff)
        /go/src/github.com/alibaba/pouch/storage/quota/quota.go:145 +0x35
github.com/alibaba/pouch/daemon/mgr.(*ContainerManager).setMountPointDiskQuota(0xc4208e8120, 0x2b2c880, 0xc420d59d40, 0xc420aedc00, 0x0, 0x0)
        /go/src/github.com/alibaba/pouch/daemon/mgr/container_storage.go:494 +0xc15
github.com/alibaba/pouch/daemon/mgr.(*ContainerManager).Create(0xc4208e8120, 0x2b2c880, 0xc420d59d40, 0xc4202cad63, 0x14, 0xc4214384e0, 0x0, 0x0, 0x0)
        /go/src/github.com/alibaba/pouch/daemon/mgr/container.go:371 +0x108c
github.com/alibaba/pouch/apis/server.(*Server).createContainer(0xc4201b61d0, 0x2b2c880, 0xc420d59d40, 0x2b2b380, 0xc4217d4540, 0xc4208ef100, 0xc4219f7d40, 0xc420d59c80)
        /go/src/github.com/alibaba/pouch/apis/server/container_bridge.go:61 +0x3b3
github.com/alibaba/pouch/apis/server.(*Server).(github.com/alibaba/pouch/apis/server.createContainer)-fm(0x2b2c880, 0xc420d59d40, 0x2b2b380, 0xc4217d4540, 0xc4208ef100, 0xc4202cadc0, 0x32)
        /go/src/github.com/alibaba/pouch/apis/server/router.go:42 +0x5c
github.com/alibaba/pouch/apis/server.filter.func1(0x2b2b380, 0xc4217d4540, 0xc4208ef100)
        /go/src/github.com/alibaba/pouch/apis/server/router.go:207 +0x3b3
net/http.HandlerFunc.ServeHTTP(0xc420be1e60, 0x2b2b380, 0xc4217d4540, 0xc4208ef100)
        /usr/local/go/src/net/http/server.go:1918 +0x44
github.com/alibaba/pouch/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc42044e120, 0x2b2b380, 0xc4217d4540, 0xc4208ef100)
        /go/src/github.com/alibaba/pouch/vendor/github.com/gorilla/mux/mux.go:133 +0xed
net/http.serverHandler.ServeHTTP(0xc4202f8a90, 0x2b2b380, 0xc4217d4540, 0xc4208eef00)
        /usr/local/go/src/net/http/server.go:2619 +0xb4
net/http.(*conn).serve(0xc4201a1860, 0x2b2c7c0, 0xc420e30300)
        /usr/local/go/src/net/http/server.go:1801 +0x71d
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:2720 +0x288

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@pouchrobot
Copy link
Collaborator

Thanks for your contribution. 🍻 @rudyfly
While we thought ISSUE TITLE could be more specific, longer than 20 chars.
Please edit issue title instead of opening a new one.
More details, please refer to https://github.com/alibaba/pouch/blob/master/CONTRIBUTING.md

@pouchrobot pouchrobot added kind/panic priority/P1 this is high priority that all maintainers should stop to handle this issue status/more-info-needed labels Aug 20, 2018
@pouchrobot
Copy link
Collaborator

Thanks for your report, @rudyfly
😱 This is a priority/P1 issue which is highest.
Seems to be severe enough.
ping @alibaba/pouch , PTAL.

2 similar comments
@pouchrobot
Copy link
Collaborator

Thanks for your report, @rudyfly
😱 This is a priority/P1 issue which is highest.
Seems to be severe enough.
ping @alibaba/pouch , PTAL.

@pouchrobot
Copy link
Collaborator

Thanks for your report, @rudyfly
😱 This is a priority/P1 issue which is highest.
Seems to be severe enough.
ping @alibaba/pouch , PTAL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/panic priority/P1 this is high priority that all maintainers should stop to handle this issue status/more-info-needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants