YugabyteDB Name Resolution Issues In No-Network Containers
Name resolution issues in YugabyteDB: add hostname to /etc/hosts or use --master_addresses=127.0.0.2:7100 to resolve errors like "Timed out" and "Network error
In a previous post I mentioned how to start YugabyteDB fast for a quick short-life lab. This can run on Micro VM (like firecracker) and in some cases you have no network interfaces with it. You don't need it if you connect with ysqlsh from the MicroVM but you may encounter name resolution issues. Note that you can reproduce it with docker run --network none. This post is about the following errors and their resolution: ysqlsh: FATAL: Timed out: OpenTable RPC (request call id 2) to 0.0.0.0:9100 timed out after 120.000s or, in the yb-tserver.ERROR: E0830 11:32:44.518...