You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@localhost]# replication-manager-cli version
Replication Manager v2.3.10 for MariaDB 10.x and MySQL 5.7 Series
Full Version: v2.3.10
Build Time: 2023-06-20T18:55:30+0900
[root@localhost]# replication-manager-cli console
panic: runtime error: index out of range [0] with length 0
svaroqui
changed the title
replication-manager-cli command not working!
replication-manager-cli command stop having a default cluster if exists !
Jul 21, 2023
[root@localhost]# replication-manager-cli version
Replication Manager v2.3.10 for MariaDB 10.x and MySQL 5.7 Series
Full Version: v2.3.10
Build Time: 2023-06-20T18:55:30+0900
[root@localhost]# replication-manager-cli console
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
github.com/signal18/replication-manager/clients.cliGetServers()
/root/go/src/github.com/replication-manager/clients/client_cmd.go:504 +0x84e
github.com/signal18/replication-manager/clients.cliInit(0x0)
/root/go/src/github.com/replication-manager/clients/client_cmd.go:155 +0x316
github.com/signal18/replication-manager/clients.glob..func8(0x3f7d600, {0x22ffade, 0x0, 0x0})
/root/go/src/github.com/replication-manager/clients/client_console.go:29 +0x38
github.com/spf13/cobra.(*Command).execute(0x3f7d600, {0x3fdc458, 0x0, 0x0})
/root/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:844 +0x5f8
github.com/spf13/cobra.(*Command).ExecuteC(0x3f7bbc0)
/root/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:945 +0x38d
github.com/spf13/cobra.(*Command).Execute(...)
/root/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:885
github.com/signal18/replication-manager/clients.Execute()
/root/go/src/github.com/replication-manager/clients/client_cmd.go:99 +0x25
main.main()
/root/go/src/github.com/replication-manager/main_client.go:24 +0x19
[root@localhost]# replication-manager-cli switchover
FATA[0000] No cluster specify use --cluster in values [] error="No cluster specify"
[root@localhost]# replication-manager-cli topology
FATA[0000] No cluster specify use --cluster in values [] error="No cluster specify"
[root@localhost]# replication-manager-cli status
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
github.com/signal18/replication-manager/clients.cliGetServers()
/root/go/src/github.com/replication-manager/clients/client_cmd.go:504 +0x84e
github.com/signal18/replication-manager/clients.cliInit(0x0)
/root/go/src/github.com/replication-manager/clients/client_cmd.go:155 +0x316
github.com/signal18/replication-manager/clients.glob..func17(0x3f7c640, {0x22ffade, 0x0, 0x0})
/root/go/src/github.com/replication-manager/clients/client_status.go:26 +0x55
github.com/spf13/cobra.(*Command).execute(0x3f7c640, {0x3fdc458, 0x0, 0x0})
/root/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:844 +0x5f8
github.com/spf13/cobra.(*Command).ExecuteC(0x3f7bbc0)
/root/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:945 +0x38d
github.com/spf13/cobra.(*Command).Execute(...)
/root/go/pkg/mod/github.com/spf13/cobra@v0.0.6/command.go:885
github.com/signal18/replication-manager/clients.Execute()
/root/go/src/github.com/replication-manager/clients/client_cmd.go:99 +0x25
main.main()
/root/go/src/github.com/replication-manager/main_client.go:24 +0x19
[root@localhost]# replication-manager-cli status
INFO[0000] ERROR in login unexpected end of JSON input
The text was updated successfully, but these errors were encountered: