Hide Forgot
I found this while looking through customer logs, thought it would be good to find out if it's a known problem, already solved in later versions, or not yet known. This was in the log from atomic-openshift-master-api E0808 10:04:48.280408 80260 runtime.go:58] Recovered from panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference) /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/util/runtime/runtime.go:52 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/util/runtime/runtime.go:40 /usr/lib/golang/src/runtime/asm_amd64.s:402 /usr/lib/golang/src/runtime/panic.go:387 /usr/lib/golang/src/runtime/panic.go:42 /usr/lib/golang/src/runtime/sigpanic_unix.go:26 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_build/src/github.com/openshift/origin/pkg/image/registry/imagestreamimport/rest.go:181 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/apiserver/resthandler.go:437 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/apiserver/resthandler.go:400 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/apiserver/resthandler.go:916 /usr/lib/golang/src/runtime/asm_amd64.s:2232 E0808 10:04:48.280677 80260 apiserver.go:207] recover from panic situation: - runtime error: invalid memory address or nil pointer dereference /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/github.com/emicklei/go-restful/container.go:183 /usr/lib/golang/src/runtime/asm_amd64.s:401 /usr/lib/golang/src/runtime/panic.go:387 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/apiserver/resthandler.go:932 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/apiserver/resthandler.go:405 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/apiserver/metrics/metrics.go:101 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/github.com/emicklei/go-restful/container.go:249 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/github.com/emicklei/go-restful/container.go:95 /usr/lib/golang/src/net/http/server.go:1265 /usr/lib/golang/src/net/http/server.go:1541 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/github.com/emicklei/go-restful/container.go:264 <autogenerated>:32 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_build/src/github.com/openshift/origin/pkg/cmd/server/origin/handlers.go:95 /usr/lib/golang/src/net/http/server.go:1265 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_build/src/github.com/openshift/origin/pkg/cmd/server/origin/auth.go:764 /usr/lib/golang/src/net/http/server.go:1265 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_build/src/github.com/openshift/origin/pkg/cmd/server/origin/handlers.go:177 /usr/lib/golang/src/net/http/server.go:1265 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_build/src/github.com/openshift/origin/pkg/cmd/server/origin/handlers.go:143 /usr/lib/golang/src/net/http/server.go:1265 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_build/src/github.com/openshift/origin/pkg/cmd/server/origin/handlers.go:62 /usr/lib/golang/src/net/http/server.go:1265 /usr/lib/golang/src/net/http/server.go:1541 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/github.com/emicklei/go-restful/container.go:264 <autogenerated>:32 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/apiserver/handlers.go:364 /usr/lib/golang/src/net/http/server.go:1265 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_build/src/github.com/openshift/origin/pkg/cmd/server/origin/handlers.go:291 /usr/lib/golang/src/net/http/server.go:1265 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/api/requestcontext.go:101 /usr/lib/golang/src/net/http/server.go:1265 /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/apiserver/handlers.go:118 /usr/lib/golang/src/net/http/server.go:1265 /usr/lib/golang/src/net/http/server.go:1703 /usr/lib/golang/src/net/http/server.go:1204 /usr/lib/golang/src/runtime/asm_amd64.s:2232 I don't have any further context for what caused this, but it repeats again in exactly 3 minutes and then several times after.
this was assigned to the image component...what image is it in reference to?
moving to registry component since this appears to be a panic in the registry image import code.
Sorry about that, must have picked the component next to the one I wanted.
This check [1] was added starting from 1.3/3.3. That should address the nil panic in : /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_build/src/github.com/openshift/origin/pkg/image/registry/imagestreamimport/rest.go:181 I don't see any other problem here. [1] https://github.com/openshift/origin/blob/11d3928180e4063720053ad2a8aaf93f6e17b1b6/pkg/image/registry/imagestreamimport/rest.go#L181-L183
The exact master version here was 3.2.1.4
I'll close this then, as it's fixed in newer version and doesn't seem to be causing much headache in the 3.2 version so I don't see a backport being required.