openark / orchestrator

MySQL replication topology management and HA
Apache License 2.0
5.63k stars 930 forks source link

Maxscale binlog-server not getting discovered in the topology #637

Open sharad-jha opened 6 years ago

sharad-jha commented 6 years ago

Cluster topology : 1 Master having a number of direct slaves , including 2 binlog servers.

Binlog servers are not being discovered by orchestrator. Hence, cluster becomes disjointed when these binlog servers are made to be intermediate masters for slaves.

This is being observed in the branch: tree/fix-analysis-query (#632 ). Although seems working fine on version 2.1.5.

On orch version 2.1.5: Maxscale binlog-sever- 10.41.191.61

[root@orch-master orchestrator]# ./orchestrator -c discover -i 10.41.191.61:3306
2018-09-29 17:00:19 DEBUG Connected to orchestrator backend: orchestrator:?@tcp(127.0.0.1:3306)/orchestrator?timeout=1s
2018-09-29 17:00:19 DEBUG Orchestrator pool SetMaxOpenConns: 128
2018-09-29 17:00:19 DEBUG Initializing orchestrator
2018-09-29 17:00:19 INFO Connecting to backend: maxConnections: 128, maxIdleConns: 32
2018-09-29 17:00:19 DEBUG Hostname unresolved yet: 10.41.191.61
2018-09-29 17:00:19 DEBUG Cache hostname resolve 10.41.191.61 as 10.41.191.61
2018-09-29 17:00:19 DEBUG WriteResolvedHostname: resolved 10.41.191.61 to 10.41.191.61
2018-09-29 17:00:19 DEBUG Hostname unresolved yet: 10.41.191.72
2018-09-29 17:00:19 DEBUG Cache hostname resolve 10.41.191.72 as 10.41.191.72
2018-09-29 17:00:19 DEBUG WriteResolvedHostname: resolved 10.41.191.72 to 10.41.191.72
10.41.191.61:3306

image

tree/fix-analysis-query (#632 ) :

[root@orch-app-1 orchestrator-fix-analysis-query]# bin/orchestrator -c discover -i 10.41.191.61:3306 --debug
2018-09-29 17:00:37 INFO starting orchestrator, version: 3.0.12
2018-09-29 17:00:37 DEBUG Hostname unresolved yet: 10.41.191.61
2018-09-29 17:00:37 DEBUG Cache hostname resolve 10.41.191.61 as 10.41.191.61
2018-09-29 17:00:37 ERROR Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
2018-09-29 17:00:37 ERROR Error 1046: No database selected
2018-09-29 17:00:37 ERROR Error 1046: No database selected
2018-09-29 17:00:37 ERROR Error 1046: No database selected
2018-09-29 17:00:37 CRITICAL Error 1046: No database selected
2018-09-29 17:00:37 ERROR Error 1046: No database selected
2018-09-29 17:00:37 ERROR Error 1046: No database selected
2018-09-29 17:00:37 ERROR Error 1046: No database selected
2018-09-29 17:00:37 ERROR ContinuousRegistration: RegisterNode failed: Error 1046: No database selected
2018-09-29 17:00:37 ERROR Error 1046: No database selected
2018-09-29 17:00:37 ERROR Error 1046: No database selected
2018-09-29 17:00:37 INFO verifyCert requested, client certificates will be verified
2018-09-29 17:00:37 ERROR TLS requested but server does not support TLS
2018-09-29 17:00:37 ERROR ReadTopologyInstance(10.41.191.61:3306) show variables like 'maxscale%': TLS requested but server does not support TLS
2018-09-29 17:00:37 ERROR Error 1046: No database selected
2018-09-29 17:00:37 ERROR Error 1046: No database selected
2018-09-29 17:00:37 FATAL TLS requested but server does not support TLS
[root@orch-app-1 orchestrator-fix-analysis-query]# 

--debug --stack logs:

[root@orch-app-1 orchestrator-fix-analysis-query]# bin/orchestrator -c discover -i 10.41.191.61:3306 --debug --stack
2018-09-30 04:38:23 INFO starting orchestrator, version: 3.0.12
2018-09-30 04:38:23 DEBUG Hostname unresolved yet: 10.41.191.61
2018-09-30 04:38:23 DEBUG Cache hostname resolve 10.41.191.61 as 10.41.191.61
2018-09-30 04:38:23 ERROR Error 1046: No database selected
goroutine 1 [running]:
runtime/debug.Stack(0x3a, 0x60, 0xc4200e4680)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x2, 0x1125f00, 0xc4201ea5a0, 0x1125f00, 0xc4201ea5a0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Errore(0x1125f00, 0xc4201ea5a0, 0x9e, 0xc42020abb0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:224 +0x3e
github.com/github/orchestrator/vendor/github.com/openark/golib/sqlutils.ExecNoPrepare(0xc42019ad20, 0xbb2b9f, 0x9e, 0xc42020abb0, 0x5, 0x5, 0x0, 0x0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/sqlutils/sqlutils.go:331 +0x154
github.com/github/orchestrator/go/db.ExecOrchestrator(0xbb2b9f, 0x9e, 0xc42020abb0, 0x5, 0x5, 0x500000000000001, 0x10000154e, 0xc420196000, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/db.go:342 +0xe0
github.com/github/orchestrator/go/process.WriteRegisterNode.func1()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health_dao.go:40 +0x18b
sync.(*Once).Do(0xc420196098, 0xc42020acd8)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/sync/once.go:44 +0xbe
github.com/github/orchestrator/go/process.WriteRegisterNode(0xc420196000, 0xc420196000, 0xc420144610, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health_dao.go:39 +0x108
github.com/github/orchestrator/go/process.RegisterNode(0xc420196000, 0x48, 0x50, 0xc42007b4a0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health.go:99 +0x3d
github.com/github/orchestrator/go/process.ContinuousRegistration.func1.1()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health.go:166 +0x31
github.com/github/orchestrator/go/process.ContinuousRegistration.func1()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health.go:177 +0x2d
sync.(*Once).Do(0x117c208, 0xbce6b8)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/sync/once.go:44 +0xbe
github.com/github/orchestrator/go/process.ContinuousRegistration(0xb7b23d, 0x7, 0x7ffcafb43890, 0x8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health.go:164 +0x8b
github.com/github/orchestrator/go/app.Cli(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:210 +0x1eb0b
github.com/github/orchestrator/go/app.CliWrapper(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:149 +0x20d
main.main()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/cmd/orchestrator/main.go:158 +0xdb9
2018-09-30 04:38:23 ERROR Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
goroutine 26 [running]:
runtime/debug.Stack(0xb8, 0xa0, 0xc42021c1e0)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x2, 0x1125f00, 0xc4201ea5c0, 0x1125f00, 0xc4201ea5c0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Errore(0x1125f00, 0xc4201ea5c0, 0x1e, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:224 +0x3e
github.com/github/orchestrator/go/db.OpenOrchestrator(0xba8852, 0x54, 0xba8852)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/db.go:148 +0x887
github.com/github/orchestrator/go/db.QueryOrchestrator(0xba8852, 0x54, 0xc42004bf48, 0x1, 0x1, 0xc42004bf28, 0xc4200287c0, 0x6cc6ea)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/db.go:366 +0x148
github.com/github/orchestrator/go/inst.ReadResolvedHostname(0x7ffcafb4389c, 0xc, 0x0, 0x0, 0x0, 0xc4201942a0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve_dao.go:93 +0x121
github.com/github/orchestrator/go/inst.ResolveHostname.func1(0x7ffcafb4389c, 0xc)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve.go:146 +0x39
created by github.com/github/orchestrator/go/inst.ResolveHostname
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve.go:145 +0x79f
2018-09-30 04:38:23 ERROR Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
goroutine 26 [running]:
runtime/debug.Stack(0xb8, 0xc0, 0xc42021c3c0)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x2, 0x1125f00, 0xc4201ea5c0, 0xc42003c6d0, 0xc4200286f8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Errore(0x1125f00, 0xc4201ea5c0, 0xc42004bf48, 0x1)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:224 +0x3e
github.com/github/orchestrator/go/inst.ReadResolvedHostname(0x7ffcafb4389c, 0xc, 0x0, 0x0, 0x0, 0xc4201942a0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve_dao.go:100 +0x1b2
github.com/github/orchestrator/go/inst.ResolveHostname.func1(0x7ffcafb4389c, 0xc)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve.go:146 +0x39
created by github.com/github/orchestrator/go/inst.ResolveHostname
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve.go:145 +0x79f
2018-09-30 04:38:23 ERROR Error 1046: No database selected
goroutine 27 [running]:
runtime/debug.Stack(0x3a, 0x140, 0xc4200e4760)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x2, 0x1125f00, 0xc4201ea5e0, 0x1125f00, 0xc4201ea5e0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Errore(0x1125f00, 0xc4201ea5e0, 0xfe, 0xc4201aeec8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:224 +0x3e
github.com/github/orchestrator/vendor/github.com/openark/golib/sqlutils.ExecNoPrepare(0xc42019ad20, 0xbb6aba, 0xfe, 0xc4201aeec8, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/sqlutils/sqlutils.go:331 +0x154
github.com/github/orchestrator/go/db.ExecOrchestrator(0xbb6aba, 0xfe, 0xc4201aeec8, 0x2, 0x2, 0xc420028e48, 0x4666a6, 0xc7a37, 0x15f67af1)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/db.go:342 +0xe0
github.com/github/orchestrator/go/inst.WriteResolvedHostname.func1(0xbee432af00000008, 0xbce2b8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve_dao.go:46 +0x13a
github.com/github/orchestrator/go/inst.ExecDBWriteFunc(0xc4200f3620, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:133 +0xb9
github.com/github/orchestrator/go/inst.WriteResolvedHostname(0x7ffcafb4389c, 0xc, 0x7ffcafb4389c, 0xc, 0xc4201446c0, 0x34630b8a000)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve_dao.go:77 +0x8e
github.com/github/orchestrator/go/inst.UpdateResolvedHostname(0x7ffcafb4389c, 0xc, 0x7ffcafb4389c, 0xc, 0x4d)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve.go:188 +0x160
created by github.com/github/orchestrator/go/inst.ResolveHostname
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve.go:172 +0x562
2018-09-30 04:38:23 ERROR Error 1046: No database selected
2018-09-30 04:38:23 ERROR Error 1046: No database selected
goroutine 27 [running]:
runtime/debug.Stack(0x3a, 0xc0, 0xc4200e47e0)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x2, 0x1125f00, 0xc4201ea5e0, 0x1125f00, 0xc4201ea5e0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Errore(0x1125f00, 0xc4201ea5e0, 0xc4201aeec8, 0x2)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:224 +0x3e
github.com/github/orchestrator/go/inst.WriteResolvedHostname.func1(0xbee432af00000008, 0xbce2b8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve_dao.go:58 +0x2f1
github.com/github/orchestrator/go/inst.ExecDBWriteFunc(0xc4200f3620, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:133 +0xb9
github.com/github/orchestrator/go/inst.WriteResolvedHostname(0x7ffcafb4389c, 0xc, 0x7ffcafb4389c, 0xc, 0xc4201446c0, 0x34630b8a000)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve_dao.go:77 +0x8e
github.com/github/orchestrator/go/inst.UpdateResolvedHostname(0x7ffcafb4389c, 0xc, 0x7ffcafb4389c, 0xc, 0x4d)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve.go:188 +0x160
created by github.com/github/orchestrator/go/inst.ResolveHostname
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/resolve.go:172 +0x562
goroutine 1 [running]:
runtime/debug.Stack(0x3a, 0x40, 0xc420014420)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x2, 0x1125f00, 0xc42000c7c0, 0x1125f00, 0xc42000c7c0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Errore(0x1125f00, 0xc42000c7c0, 0x108, 0xc42020ad08)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:224 +0x3e
github.com/github/orchestrator/vendor/github.com/openark/golib/sqlutils.ExecNoPrepare(0xc42019ad20, 0xbb6fbf, 0x108, 0xc42020ad08, 0x6, 0x6, 0x0, 0x0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/sqlutils/sqlutils.go:331 +0x154
github.com/github/orchestrator/go/db.ExecOrchestrator(0xbb6fbf, 0x108, 0xc42020ad08, 0x6, 0x6, 0x115b840, 0xc7, 0x43cf4b, 0x50)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/db.go:342 +0xe0
github.com/github/orchestrator/go/process.WriteRegisterNode(0xc420196000, 0xc420196000, 0xc420144610, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health_dao.go:51 +0x2cb
github.com/github/orchestrator/go/process.RegisterNode(0xc420196000, 0x48, 0x50, 0xc42007b4a0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health.go:99 +0x3d
github.com/github/orchestrator/go/process.ContinuousRegistration.func1.1()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health.go:166 +0x31
github.com/github/orchestrator/go/process.ContinuousRegistration.func1()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health.go:177 +0x2d
sync.(*Once).Do(0x117c208, 0xbce6b8)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/sync/once.go:44 +0xbe
github.com/github/orchestrator/go/process.ContinuousRegistration(0xb7b23d, 0x7, 0x7ffcafb43890, 0x8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health.go:164 +0x8b
github.com/github/orchestrator/go/app.Cli(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:210 +0x1eb0b
github.com/github/orchestrator/go/app.CliWrapper(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:149 +0x20d
main.main()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/cmd/orchestrator/main.go:158 +0xdb9
2018-09-30 04:38:23 ERROR Error 1046: No database selected
goroutine 1 [running]:
runtime/debug.Stack(0x3a, 0xc0, 0xc4200144a0)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x2, 0x1125f00, 0xc42000c7c0, 0x1125f00, 0xc42000c7c0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Errore(0x1125f00, 0xc42000c7c0, 0xc42020ad08, 0x6)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:224 +0x3e
github.com/github/orchestrator/go/process.WriteRegisterNode(0xc420196000, 0xc420196000, 0xc420144610, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health_dao.go:67 +0x7f8
github.com/github/orchestrator/go/process.RegisterNode(0xc420196000, 0x48, 0x50, 0xc42007b4a0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health.go:99 +0x3d
github.com/github/orchestrator/go/process.ContinuousRegistration.func1.1()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health.go:166 +0x31
github.com/github/orchestrator/go/process.ContinuousRegistration.func1()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health.go:177 +0x2d
sync.(*Once).Do(0x117c208, 0xbce6b8)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/sync/once.go:44 +0xbe
github.com/github/orchestrator/go/process.ContinuousRegistration(0xb7b23d, 0x7, 0x7ffcafb43890, 0x8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/process/health.go:164 +0x8b
github.com/github/orchestrator/go/app.Cli(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:210 +0x1eb0b
github.com/github/orchestrator/go/app.CliWrapper(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:149 +0x20d
main.main()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/cmd/orchestrator/main.go:158 +0xdb9
2018-09-30 04:38:23 ERROR ContinuousRegistration: RegisterNode failed: Error 1046: No database selected
2018-09-30 04:38:23 ERROR Error 1046: No database selected
goroutine 1 [running]:
runtime/debug.Stack(0x3a, 0xc0, 0xc420014600)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x2, 0x1125f00, 0xc42000c880, 0x1125f00, 0xc42000c880)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Errore(0x1125f00, 0xc42000c880, 0xab, 0xc42020a9f8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:224 +0x3e
github.com/github/orchestrator/vendor/github.com/openark/golib/sqlutils.ExecNoPrepare(0xc42019ad20, 0xbb3912, 0xab, 0xc42020a9f8, 0x3, 0x3, 0x0, 0x0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/sqlutils/sqlutils.go:331 +0x154
github.com/github/orchestrator/go/db.ExecOrchestrator(0xbb3912, 0xab, 0xc42020a9f8, 0x3, 0x3, 0x0, 0x11, 0x0, 0x47b8f0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/db.go:342 +0xe0
github.com/github/orchestrator/go/db.requiresTLS(0x7ffcafb4389c, 0xc, 0xcea, 0xc42018a0a0, 0x4b, 0xc42018a0a0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/tls.go:82 +0x340
github.com/github/orchestrator/go/db.openTopology(0x7ffcafb4389c, 0xc, 0xcea, 0xa, 0xadafc0, 0x2e7b65c410601, 0xc42003c830)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/db.go:92 +0x3c4
github.com/github/orchestrator/go/db.OpenDiscovery(0x7ffcafb4389c, 0xc, 0xcea, 0x2, 0xc42017f500, 0xc0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/db.go:74 +0x52
github.com/github/orchestrator/go/inst.ReadTopologyInstanceBufferable(0xc4201ea3e0, 0x3400000000000000, 0x0, 0x0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:297 +0x2c9
github.com/github/orchestrator/go/inst.ReadTopologyInstance(0xc4201ea3e0, 0x8, 0xb7c8fa, 0x8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:172 +0x39
github.com/github/orchestrator/go/app.Cli(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:1252 +0xf231
github.com/github/orchestrator/go/app.CliWrapper(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:149 +0x20d
main.main()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/cmd/orchestrator/main.go:158 +0xdb9
2018-09-30 04:38:23 ERROR Error 1046: No database selected
goroutine 1 [running]:
runtime/debug.Stack(0x3a, 0x80, 0xc420014680)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x2, 0x1125f00, 0xc42000c880, 0x1125f00, 0xc42000c880)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Errore(0x1125f00, 0xc42000c880, 0xc42020a9f8, 0x3)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:224 +0x3e
github.com/github/orchestrator/go/db.requiresTLS(0x7ffcafb4389c, 0xc, 0xcea, 0xc42018a0a0, 0x4b, 0xc42018a0a0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/tls.go:83 +0x40b
github.com/github/orchestrator/go/db.openTopology(0x7ffcafb4389c, 0xc, 0xcea, 0xa, 0xadafc0, 0x2e7b65c410601, 0xc42003c830)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/db.go:92 +0x3c4
github.com/github/orchestrator/go/db.OpenDiscovery(0x7ffcafb4389c, 0xc, 0xcea, 0x2, 0xc42017f500, 0xc0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/db.go:74 +0x52
github.com/github/orchestrator/go/inst.ReadTopologyInstanceBufferable(0xc4201ea3e0, 0x3400000000000000, 0x0, 0x0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:297 +0x2c9
github.com/github/orchestrator/go/inst.ReadTopologyInstance(0xc4201ea3e0, 0x8, 0xb7c8fa, 0x8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:172 +0x39
github.com/github/orchestrator/go/app.Cli(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:1252 +0xf231
github.com/github/orchestrator/go/app.CliWrapper(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:149 +0x20d
main.main()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/cmd/orchestrator/main.go:158 +0xdb9
2018-09-30 04:38:23 INFO verifyCert requested, client certificates will be verified
2018-09-30 04:38:23 ERROR TLS requested but server does not support TLS
goroutine 1 [running]:
runtime/debug.Stack(0x47, 0xc0, 0xc42001a1b0)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x2, 0x1125c80, 0xc420068640, 0xc42020aa78, 0xc420068640)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Errore(0x1125c80, 0xc420068640, 0xc4200683c0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:224 +0x3e
github.com/github/orchestrator/vendor/github.com/openark/golib/sqlutils.QueryRowsMap(0xc42019afa0, 0xb907e8, 0x1f, 0xc42020ab38, 0x0, 0x0, 0x0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/sqlutils/sqlutils.go:256 +0x132
github.com/github/orchestrator/go/inst.(*Instance).checkMaxScale(0xc42002b500, 0xc42019afa0, 0x0, 0xc42019af00, 0x0, 0x0, 0x68, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:199 +0x143
github.com/github/orchestrator/go/inst.ReadTopologyInstanceBufferable(0xc4201ea3e0, 0x3400000000000000, 0x0, 0x0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:305 +0xbb1
github.com/github/orchestrator/go/inst.ReadTopologyInstance(0xc4201ea3e0, 0x8, 0xb7c8fa, 0x8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:172 +0x39
github.com/github/orchestrator/go/app.Cli(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:1252 +0xf231
github.com/github/orchestrator/go/app.CliWrapper(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:149 +0x20d
main.main()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/cmd/orchestrator/main.go:158 +0xdb9
2018-09-30 04:38:23 ERROR ReadTopologyInstance(10.41.191.61:3306) show variables like 'maxscale%': TLS requested but server does not support TLS
2018-09-30 04:38:23 ERROR Error 1046: No database selected
goroutine 1 [running]:
runtime/debug.Stack(0x3a, 0x140, 0xc4200e4960)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x2, 0x1125f00, 0xc4201ea640, 0x1125f00, 0xc4201ea640)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Errore(0x1125f00, 0xc4201ea640, 0xa5, 0xc42020aac8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:224 +0x3e
github.com/github/orchestrator/vendor/github.com/openark/golib/sqlutils.ExecNoPrepare(0xc42019ad20, 0xbb332f, 0xa5, 0xc42020aac8, 0x3, 0x3, 0x0, 0x0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/sqlutils/sqlutils.go:331 +0x154
github.com/github/orchestrator/go/db.ExecOrchestrator(0xbb332f, 0xa5, 0xc42020aac8, 0x3, 0x3, 0xc97d5d9, 0x109b236, 0xc42020aaf8, 0x432c09)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/db/db.go:342 +0xe0
github.com/github/orchestrator/go/inst.UpdateInstanceLastChecked.func1(0xbee432af00000008, 0xbce2b8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:2435 +0x108
github.com/github/orchestrator/go/inst.ExecDBWriteFunc(0xc42000cae0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:133 +0xb9
github.com/github/orchestrator/go/inst.UpdateInstanceLastChecked(0xc42002b500, 0xb7b600, 0x7, 0x9)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:2450 +0x68
github.com/github/orchestrator/go/inst.ReadTopologyInstanceBufferable(0xc4201ea3e0, 0x3400000000000000, 0x0, 0x0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:823 +0x8cd
github.com/github/orchestrator/go/inst.ReadTopologyInstance(0xc4201ea3e0, 0x8, 0xb7c8fa, 0x8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:172 +0x39
github.com/github/orchestrator/go/app.Cli(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:1252 +0xf231
github.com/github/orchestrator/go/app.CliWrapper(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:149 +0x20d
main.main()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/cmd/orchestrator/main.go:158 +0xdb9
2018-09-30 04:38:23 ERROR Error 1046: No database selected
goroutine 1 [running]:
runtime/debug.Stack(0x3a, 0xc0, 0xc4200e49e0)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x2, 0x1125f00, 0xc4201ea640, 0x1125f00, 0xc4201ea640)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Errore(0x1125f00, 0xc4201ea640, 0xc42020aac8, 0x3)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:224 +0x3e
github.com/github/orchestrator/go/inst.UpdateInstanceLastChecked.func1(0xbee432af00000008, 0xbce2b8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:2448 +0x120
github.com/github/orchestrator/go/inst.ExecDBWriteFunc(0xc42000cae0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:133 +0xb9
github.com/github/orchestrator/go/inst.UpdateInstanceLastChecked(0xc42002b500, 0xb7b600, 0x7, 0x9)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:2450 +0x68
github.com/github/orchestrator/go/inst.ReadTopologyInstanceBufferable(0xc4201ea3e0, 0x3400000000000000, 0x0, 0x0, 0x0, 0x0)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:823 +0x8cd
github.com/github/orchestrator/go/inst.ReadTopologyInstance(0xc4201ea3e0, 0x8, 0xb7c8fa, 0x8)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/inst/instance_dao.go:172 +0x39
github.com/github/orchestrator/go/app.Cli(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:1252 +0xf231
github.com/github/orchestrator/go/app.CliWrapper(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:149 +0x20d
main.main()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/cmd/orchestrator/main.go:158 +0xdb9
2018-09-30 04:38:23 FATAL TLS requested but server does not support TLS
goroutine 1 [running]:
runtime/debug.Stack(0x47, 0x140, 0xc420070420)
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
    /usr/local/orchestrator-fix-analysis-query/.vendor/go19/go/src/runtime/debug/stack.go:16 +0x22
github.com/github/orchestrator/vendor/github.com/openark/golib/log.logErrorEntry(0x0, 0x1125c80, 0xc420068640, 0x1125c80, 0xc420068640)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:178 +0xfd
github.com/github/orchestrator/vendor/github.com/openark/golib/log.Fatale(0x1125c80, 0xc420068640, 0x1125c80, 0xc420068640)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/vendor/github.com/openark/golib/log/log.go:255 +0x3e
github.com/github/orchestrator/go/app.Cli(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:1254 +0xf2fb
github.com/github/orchestrator/go/app.CliWrapper(0x7ffcafb43890, 0x8, 0x0, 0x7ffcafb4389c, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/app/cli.go:149 +0x20d
main.main()
    /usr/local/orchestrator-fix-analysis-query/.gopath/src/github.com/github/orchestrator/go/cmd/orchestrator/main.go:158 +0xdb9

image

sharad-jha commented 6 years ago

Topology discovered fine by 2.1.15 :

Binlog servers are- 10.41.191.61 10.41.191.62

image

In 3.1.12 , Orch displays a disjointed set. Seems its unable to discover the linkage between Binlog-server and Master:

image

image

Orch didnt discover the other remaining (10.41.191.62) binlog server at all. When trying to discover it through CLI, we get following debug messages:

[root@orch-app-1 orchestrator-fix-analysis-query]# bin/orchestrator -c discover -i 10.41.191.62:3306 --debug
2018-09-30 05:38:03 INFO starting orchestrator, version: 3.0.12
2018-09-30 05:38:03 DEBUG Hostname unresolved yet: 10.41.191.62
2018-09-30 05:38:03 DEBUG Cache hostname resolve 10.41.191.62 as 10.41.191.62
2018-09-30 05:38:03 ERROR Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
2018-09-30 05:38:03 ERROR Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
2018-09-30 05:38:03 ERROR Error 1046: No database selected
2018-09-30 05:38:03 ERROR Error 1046: No database selected
2018-09-30 05:38:03 ERROR Error 1046: No database selected
2018-09-30 05:38:03 ERROR Error 1046: No database selected
2018-09-30 05:38:03 ERROR Error 1046: No database selected
2018-09-30 05:38:03 ERROR ContinuousRegistration: RegisterNode failed: Error 1046: No database selected
2018-09-30 05:38:03 ERROR Error 1046: No database selected
2018-09-30 05:38:03 ERROR Error 1046: No database selected
2018-09-30 05:38:03 INFO verifyCert requested, client certificates will be verified
2018-09-30 05:38:03 ERROR TLS requested but server does not support TLS
2018-09-30 05:38:03 ERROR ReadTopologyInstance(10.41.191.62:3306) show variables like 'maxscale%': TLS requested but server does not support TLS
2018-09-30 05:38:03 ERROR Error 1046: No database selected
2018-09-30 05:38:03 ERROR Error 1046: No database selected
2018-09-30 05:38:03 FATAL TLS requested but server does not support TLS
shlomi-noach commented 6 years ago

I'm merely curious: which version of MaxScale are you using?

I have not touched MaxScale binlog servers in almost three years, and my ability to continue supporting them is almost nonexistent. At the time, MaxScale BLS was extremely sensitive to queries it was not familiar with, to the point of whitespace.

Moreover, I'm considering dropping support for MaxScale binlog servers altogether. See https://github.com/github/orchestrator/issues/552

shlomi-noach commented 6 years ago

Friendly ping.

sharad-jha commented 6 years ago

My genuine apologies for this extremely late reply.

At the time of posting this issue, i wasn't aware of orch's discontinuity in supporting binlog server. However i do realize it now and it (#552) makes sense :)

I tried with this poc with Maxscale version 2.2 and flipping between : Orch 2.1.15 & 3.1.12

Tried to play around with maxscale 1.4.x aswell, but got hit with other burning issues related to VIP & network challenges.

Although i do see it picking up pace again in next few days.

Thank you for getting back!