openshift / geard

geard is no longer maintained - see OpenShift 3 and Kubernetes
Other
405 stars 80 forks source link

gear clean failed #221

Open goern opened 10 years ago

goern commented 10 years ago

I just did a fresh boot of atomic host and a gear clean... pls adv what other debug data I may provide.

-bash-4.2# ostree admin status

-bash-4.2# gear clean INFO: 2014/06/28 09:32:04 --- "FAILED CONTAINERS" CLEANUP --- panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0x1 addr=0x0 pc=0x633e62]

goroutine 1 [running]: runtime.panic(0x7f8620, 0xfa25e8) /usr/lib/golang/src/pkg/runtime/panic.c:266 +0xb6 github.com/openshift/geard/cleanup.(_FailureCleanup).Clean(0xc21000a500, 0xc21007a400) /builddir/build/BUILD/geard-3c781d0cd8a961a85449d362fb5d8c88c5a34a22/_build/src/github.com/openshift/geard/cleanup/cleanup_failures.go:48 +0x5d2 github.com/openshift/geard/cleanup.Clean(0xc21007a400) /builddir/build/BUILD/geard-3c781d0cd8a961a85449d362fb5d8c88c5a34a22/_build/src/github.com/openshift/geard/cleanup/cleanup.go:31 +0x6f github.com/openshift/geard/cleanup/cmd.clean(0xc2100ba2d0, 0xfc5b98, 0x0, 0x0) /builddir/build/BUILD/geard-3c781d0cd8a961a85449d362fb5d8c88c5a34a22/_build/src/github.com/openshift/geard/cleanup/cmd/cmd.go:32 +0x1ae github.com/spf13/cobra.(_Command).execute(0xc2100ba2d0, 0xc21000a020, 0x0, 0x0, 0x0, ...) /builddir/build/BUILD/geard-3c781d0cd8a961a85449d362fb5d8c88c5a34a22/vendor/src/github.com/spf13/cobra/command.go:297 +0x116 github.com/spf13/cobra.(_Command).findAndExecute(0xc2100b5000, 0xc21000a010, 0x1, 0x1, 0x0, ...) /builddir/build/BUILD/geard-3c781d0cd8a961a85449d362fb5d8c88c5a34a22/vendor/src/github.com/spf13/cobra/command.go:283 +0xa8 github.com/spf13/cobra.(_Command).Execute(0xc2100b5000, 0x0, 0x0) /builddir/build/BUILD/geard-3c781d0cd8a961a85449d362fb5d8c88c5a34a22/vendor/src/github.com/spf13/cobra/command.go:332 +0x66e main.Execute() /builddir/build/BUILD/geard-3c781d0cd8a961a85449d362fb5d8c88c5a34a22/_build/src/github.com/openshift/geard/cmd/gear/commands.go:258 +0x178e main.main() /builddir/build/BUILD/geard-3c781d0cd8a961a85449d362fb5d8c88c5a34a22/_build/src/github.com/openshift/geard/cmd/gear/main.go:6 +0x1a -bash-4.2#