yugabyte / yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
https://www.yugabyte.com
Other
8.69k stars 1.04k forks source link

PKS multi DC replication #6043

Open sabarikrishnavk opened 3 years ago

sabarikrishnavk commented 3 years ago

I was doing a POC for multi-dc active-active replication using PKS . Setup 2 PKS namespaces (yb-east - PKS in VMware bare metal & yb-west -PKS in Azure) Followed the steps to setup 2 yugabyte clusters(https://docs.yugabyte.com/latest/deploy/kubernetes/single-zone/oss/helm-chart/) and ran the setup_universe_replication (https://docs.yugabyte.com/latest/deploy/multi-dc/2dc-deployment/ ) in both clusters and it shows setup is successful . :7000/cluster-config have the consumer and producer table id . But when I tried to insert data into yb-east a table , its not replicated to other cluster. Not sure If I missed out any step. Can anyone help?

ddorian commented 3 years ago

@sabarikrishnavk Have you opened the ports between the nodes ?

Can you check some logs from the yb-tservers and upload here zipped https://docs.yugabyte.com/latest/troubleshoot/nodes/check-logs/ ?

ddorian commented 3 years ago

User reported the nodes can't connect to each other on slack:

checking the logs. Looks like there is connectivity error from yb-tablet-0 in yb-west cluster..  I1014 15:15:39.353407  223 tablet_rpc.cc:125] Unable to pick leader for 5fe79e940f1540c793ee0a36a1b42d84, replicas: [], followers: [] [suppressed 1 similar messages]
W1014 15:15:40.418553  238 proxy.cc:269] Resolve yb-tserver-2.yb-tservers.yb-east.svc.cluster.local failed: Network error (yb/util/net/dns_resolver.cc:64): Resolve failed yb-tserver-2.yb-tservers.yb-east.svc.cluster.local: Host not found (authoritative)