Here is the cat of /etc/hosts
I had tried using the hostname instead of IPs and it resulted in the same error.
Yes, every node can ping to each other using ping hostname and the ip is all correct.