Registry 2.7.1 gcs storage drive upgrade failure
With #3964 (closed), Registry got upgraded to 2.7.1.
During an upgrade from 11.7.5, registry is failing to start:
2019-02-07_16:43:51.15100 goroutine 1 [running]:
2019-02-07_16:43:51.15112 github.com/docker/distribution/registry/handlers.NewApp(0xe887c0, 0xc4203f5440, 0xc4203de700, 0x0)
2019-02-07_16:43:51.15124 /var/cache/omnibus/src/registry/src/github.com/docker/distribution/registry/handlers/app.go:126 +0x3001
2019-02-07_16:43:51.15133 github.com/docker/distribution/registry.NewRegistry(0xe887c0, 0xc4203f5440, 0xc4203de700, 0xc, 0x0, 0x0)
2019-02-07_16:43:51.15143 /var/cache/omnibus/src/registry/src/github.com/docker/distribution/registry/registry.go:105 +0x1d5
2019-02-07_16:43:51.15154 github.com/docker/distribution/registry.glob..func1(0x1344660, 0xc42038ed20, 0x1, 0x1)
2019-02-07_16:43:51.15162 /var/cache/omnibus/src/registry/src/github.com/docker/distribution/registry/registry.go:63 +0x187
2019-02-07_16:43:51.15172 github.com/docker/distribution/vendor/github.com/spf13/cobra.(*Command).execute(0x1344660, 0xc42038ece0, 0x1, 0x1, 0x1344660, 0xc42038ece0)
2019-02-07_16:43:51.15176 /var/cache/omnibus/src/registry/src/github.com/docker/distribution/vendor/github.com/spf13/cobra/command.go:495 +0x197
2019-02-07_16:43:51.15176 github.com/docker/distribution/vendor/github.com/spf13/cobra.(*Command).Execute(0x1344800, 0xc420211f78, 0xc42008a058)
2019-02-07_16:43:51.15177 /var/cache/omnibus/src/registry/src/github.com/docker/distribution/vendor/github.com/spf13/cobra/command.go:560 +0x2f5
2019-02-07_16:43:51.15178 main.main()
2019-02-07_16:43:51.15178 /var/cache/omnibus/src/registry/src/github.com/docker/distribution/cmd/registry/main.go:23 +0x2d
2019-02-07_16:43:52.16685 {"level":"info","msg":"debug server listening 0.0.0.0:5001","time":"2019-02-07T16:43:52.166494207Z"}
2019-02-07_16:43:52.17045 panic: StorageDriver not registered: gcs
2019-02-07_16:43:52.17083
2019-02-07_16:43:52.17085 goroutine 1 [running]:
2019-02-07_16:43:52.17085 github.com/docker/distribution/registry/handlers.NewApp(0xe887c0, 0xc4203f5f50, 0xc4203e7c00, 0x0)
2019-02-07_16:43:52.17086 /var/cache/omnibus/src/registry/src/github.com/docker/distribution/registry/handlers/app.go:126 +0x3001
2019-02-07_16:43:52.17088 github.com/docker/distribution/registry.NewRegistry(0xe887c0, 0xc4203f5f50, 0xc4203e7c00, 0xc, 0x0, 0x0)
2019-02-07_16:43:52.17089 /var/cache/omnibus/src/registry/src/github.com/docker/distribution/registry/registry.go:105 +0x1d5
2019-02-07_16:43:52.17089 github.com/docker/distribution/registry.glob..func1(0x1344660, 0xc420406290, 0x1, 0x1)
2019-02-07_16:43:52.17089 /var/cache/omnibus/src/registry/src/github.com/docker/distribution/registry/registry.go:63 +0x187
2019-02-07_16:43:52.17090 github.com/docker/distribution/vendor/github.com/spf13/cobra.(*Command).execute(0x1344660, 0xc420406250, 0x1, 0x1, 0x1344660, 0xc420406250)
2019-02-07_16:43:52.17090 /var/cache/omnibus/src/registry/src/github.com/docker/distribution/vendor/github.com/spf13/cobra/command.go:495 +0x197
2019-02-07_16:43:52.17090 github.com/docker/distribution/vendor/github.com/spf13/cobra.(*Command).Execute(0x1344800, 0xc42023bf78, 0xc42008a058)
2019-02-07_16:43:52.17090 /var/cache/omnibus/src/registry/src/github.com/docker/distribution/vendor/github.com/spf13/cobra/command.go:560 +0x2f5
2019-02-07_16:43:52.17091 main.main()
2019-02-07_16:43:52.17091 /var/cache/omnibus/src/registry/src/github.com/docker/distribution/cmd/registry/main.go:23 +0x2d
Most notable line is: StorageDriver not registered: gcs
, implying that something is wrong with configuration for S3 storage for gcs.