Generating support bundle generates a 500 error


#1

When I try to generate a support bundle on 2.29.0, I get a 500 Internal server error.

Here are the replicated container logs I get while the error occurs:

docker logs of replicated:

INFO 2018-11-01T14:34:32+00:00 support/daemon.go:57 [taskqueue] daemonSupportBundle f75e3fa3a6c749d041e253bc8c6deeb7, complete
INFO 2018-11-01T14:34:32+00:00 support/daemon.go:127 [taskqueue] goRoutineSupportBundle e18cc8376dc04f5f42376f76ea8e2363, complete
INFO 2018-11-01T14:34:32+00:00 support/daemon.go:287 [taskqueue] replicatedVersionSupportBundle 4cbb07c8c55c4fa5426ba5e5fd087b17, complete
INFO 2018-11-01T14:34:32+00:00 support/daemon.go:269 [taskqueue] configCommandResultsSupportBundle c0ae7c1845284b597cb0134646839d87, complete
INFO 2018-11-01T14:34:32+00:00 support/daemon.go:75 [taskqueue] hostInfo 66e545d186bf45e67185231309c2d712, complete
INFO 2018-11-01T14:34:32+00:00 support/daemon.go:109 [taskqueue] systemCommandsSupportBundles 9be1fa29fa58478e6e68153648b69bdd, complete
INFO 2018-11-01T14:34:33+00:00 support/daemon.go:250 [taskqueue] tasksCmdSupportBundle db20c0205d4f4599567059b1750d7b1d, complete
panic: runtime error: index out of range

goroutine 10306 [running]:
github.com/replicatedcom/replicated/vendor/github.com/retracedhq/retraced-go.(*Stream).Read(0xc421ba8dc0, 0x0, 0x0, 0x0)
	/go/src/github.com/replicatedcom/replicated/vendor/github.com/retracedhq/retraced-go/stream.go:41 +0x1b5
github.com/replicatedcom/replicated/vendor/github.com/retracedhq/retraced-go.(*Client).ExportCSV.func2(0xc422936000, 0xc423dda0c0, 0xc422568160, 0xc423282240, 0xc420076a20, 0x442ff20, 0xc423b26240)
	/go/src/github.com/replicatedcom/replicated/vendor/github.com/retracedhq/retraced-go/export.go:32 +0x8a
created by github.com/replicatedcom/replicated/vendor/github.com/retracedhq/retraced-go.(*Client).ExportCSV
	/go/src/github.com/replicatedcom/replicated/vendor/github.com/retracedhq/retraced-go/export.go:25 +0x1fd

#2

Thanks for the report. We will work to get this resolved ASAP.