Hi,
When i run list_gossip it gives me the three hosts in the cluster
but when i run tctl admin membership list_db i get an error
It looks like it tries to connect to localhost instead of my CASSANDRA_SEEDS
etc/temporal # tctl admin membership list_db
2020/11/23 15:37:23 gocql: unable to dial control conn 127.0.0.1: EOF
Error: Failed to initialize cluster metadata manager
Error Details: create cassandra session from cluster: gocql: unable to create session: control: unable to connect to initial hosts: EOF
Stack trace:
goroutine 1 [running]:
runtime/debug.Stack(0xd, 0x0, 0x0)
/usr/local/go/src/runtime/debug/stack.go:24 +0x9f
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x25
go.temporal.io/server/tools/cli.printError(0x1dd7f59, 0x2d, 0x2025500, 0xc00000c080)
/temporal/tools/cli/util.go:541 +0x2be
go.temporal.io/server/tools/cli.ErrorAndExit(0x1dd7f59, 0x2d, 0x2025500, 0xc00000c080)
/temporal/tools/cli/util.go:552 +0x49
go.temporal.io/server/tools/cli.AdminListClusterMembership(0xc00012f8c0)
/temporal/tools/cli/adminCommands.go:627 +0x325
go.temporal.io/server/tools/cli.newAdminMembershipCommands.func2(0xc00012f8c0)
/temporal/tools/cli/admin.go:291 +0x2b
github.com/urfave/cli.HandleAction(0x1a2fd20, 0x1e2db70, 0xc00012f8c0, 0xc00012f8c0, 0x0)
/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:526 +0x58
github.com/urfave/cli.Command.Run(0x1d860b6, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1daf9d3, 0x1d, 0x0, ...)
/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:173 +0x58e
github.com/urfave/cli.(*App).RunAsSubcommand(0xc0004ee380, 0xc00012f600, 0x0, 0x0)
/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:405 +0x954
github.com/urfave/cli.Command.startApp(0x1d8aa37, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1db9f6b, 0x21, 0x0, ...)
/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:372 +0x87f
github.com/urfave/cli.Command.Run(0x1d8aa37, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1db9f6b, 0x21, 0x0, ...)
/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:102 +0x9f4
github.com/urfave/cli.(*App).RunAsSubcommand(0xc0003bbdc0, 0xc00012f4a0, 0x0, 0x0)
/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:405 +0x954
github.com/urfave/cli.Command.startApp(0x1d82c1e, 0x5, 0x0, 0x0, 0xc0004a2b50, 0x1, 0x1, 0x1d9a32b, 0x13, 0x0, ...)
/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:372 +0x87f
github.com/urfave/cli.Command.Run(0x1d82c1e, 0x5, 0x0, 0x0, 0xc0004a2b50, 0x1, 0x1, 0x1d9a32b, 0x13, 0x0, ...)
/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:102 +0x9f4
github.com/urfave/cli.(*App).Run(0xc0003bba40, 0xc0000ba040, 0x4, 0x4, 0x0, 0x0)
/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:277 +0x7e8
main.main()
/temporal/cmd/tools/cli/main.go:37 +0x4e