Hello I'm a real beginner and was following the getting started page on Vitess' documentation with local install via homebrew. Everything went well until i had to start a single keyspace cluster where i had to run ./101_initial_cluster.
It had shown this error:
add /vitess/global
add /vitess/zone1
add zone1 CellInfo
Created cell: zone1
etcd start done...
Starting vtctld...
Starting MySQL for tablet zone1-0000000100...
Starting vttablet for zone1-0000000100...
curl: (7) Failed to connect to user.local port 15100: Connection refused
ERROR: tablet could not be started!
Starting MySQL for tablet zone1-0000000101...
Starting vttablet for zone1-0000000101...
curl: (7) Failed to connect to user.local port 15101: Connection refused
ERROR: tablet could not be started!
Starting MySQL for tablet zone1-0000000102...
Starting vttablet for zone1-0000000102...
curl: (7) Failed to connect to user.local port 15102: Connection refused
ERROR: tablet could not be started!
E1117 09:25:02.290306 98858 main.go:42] rpc error: code = Unknown desc = node doesn't exist: /vitess/global/keyspaces/commerce/shards/0/
ApplySchema Error: rpc error: code = Unknown desc = unable to get shard names for keyspace: commerce, error: node doesn't exist: /vitess/global/keyspaces/commerce/shards/
E1117 09:25:02.382266 98859 main.go:76] remote error: rpc error: code = Unknown desc = unable to get shard names for keyspace: commerce, error: node doesn't exist: /vitess/global/keyspaces/commerce/shards/
New VSchema object:
{
"tables": {
"corder": {},
"customer": {},
"product": {}
}
}
If this is not what you expected, check the input data (as JSON parsing will skip unexpected fields).
ApplyVSchema Error: rpc error: code = Unknown desc = keyspace(commerce) doesn't exist, check if the keyspace is initialized
E1117 09:25:02.408863 98860 main.go:76] remote error: rpc error: code = Unknown desc = keyspace(commerce) doesn't exist, check if the keyspace is initialized
Waiting for vtgate to be up...
and it stays like that for a while. I am really stuck, and would appreciate the help anyone could give me. Also please note that I am a pure beginner and if this seems like a ridiculous problem, please understand.
Thank you.