[Update] I fixed it because it was wrong
I wanted to try out the tablespaces in YugabyteDB, so I created a cluster as follows.
All nodes are on the same network and are accessible.
yugabyted start \
--base_dir=/home/yugabyte/az1-node1/yugabyte-data \
--advertise_address=az1-node1.maas \
--cloud_location=mycompany.regionone.az1
yugabyted start \
--base_dir=/home/yugabyte/az1-node2/yugabyte-data \
--advertise_address=az1-node2.maas \
--join=az1-node1.maas \
--cloud_location=mycompany.regionone.az1
yugabyted start \
--base_dir=/home/yugabyte/az1-node3/yugabyte-data \
--advertise_address=az1-node3.maas \
--join=az1-node1.maas \
--cloud_location=mycompany.regionone.az1
yugabyted start \
--base_dir=/home/yugabyte/az3-node1/yugabyte-data \
--advertise_address=az2-node1.maas \
--join=az1-node1.maas \
--cloud_location=mycompany.regiontwo.az2
yugabyted start \
--base_dir=/home/yugabyte/az3-node2/yugabyte-data \
--advertise_address=az2-node2.maas \
--join=az1-node1.maas \
--cloud_location=mycompany.regiontwo.az2
yugabyted start \
--base_dir=/home/yugabyte/az3-node3/yugabyte-data \
--advertise_address=az2-node3.maas \
--join=az1-node1.maas \
--cloud_location=mycompany.regiontwo.az2
Only nodes with --cloud_location=mycompany.regiontwo.az2
set will frequently log to yb-master.WARNING
. What is happening?
W0414 06:00:44.965507 531343 catalog_manager.cc:1634] Failed to get current config: Illegal state (yb/master/catalog_manager.cc:11754): Node fbeb1e1a47b84fe38b411ae8ed81ff78 peer not initialized.
W0414 06:00:44.965581 530339 async_client_initializer.cc:94] Failed to initialize client: Illegal state (yb/client/client-internal.cc:2787): Could not locate the leader master: Unable to determine master addresses
W0414 06:00:44.965684 530325 async_client_initializer.cc:94] Failed to initialize client: Illegal state (yb/client/client-internal.cc:2787): Could not locate the leader master: Unable to determine master addresses
The problem will be reproduced in the next version.
- yugabyte-2.25.0.0-b489-linux-x86_64 on Ubuntu 22.04.5 LTS, Python 3.10.12
- yugabyte-2.25.1.0-b381-linux-x86_64 on Ubuntu 22.04.5 LTS, Python 3.10.12