-
Notifications
You must be signed in to change notification settings - Fork 23
Issues in creating a 3 node yugabyte cluster in private subnet of vpc #31
Description
Hi, I've tried to deploy a 3 node yugabyte cluster in private subnet within a VPC,
the configuration means that the cluster will be accessible only to applications within the VPC.
these are the properties I've added for the setup
use_public_ip_for_ssh = "false"
associate_public_ip_address = "false"
with terraform 12.29 I'm getting this error (log snippet):
module.yugabyte-db-cluster.aws_instance.yugabyte_nodes[1]: Still creating... [5m0s elapsed] module.yugabyte-db-cluster.aws_instance.yugabyte_nodes[2]: Still creating... [5m0s elapsed] module.yugabyte-db-cluster.aws_instance.yugabyte_nodes[0]: Still creating... [5m10s elapsed] module.yugabyte-db-cluster.aws_instance.yugabyte_nodes[2]: Still creating... [5m10s elapsed] module.yugabyte-db-cluster.aws_instance.yugabyte_nodes[1]: Still creating... [5m10s elapsed] Error: timeout - last error: SSH authentication failed (centos@:22): ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain Error: timeout - last error: SSH authentication failed (centos@:22): ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain Error: timeout - last error: SSH authentication failed (centos@:22): ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
with terraform 13.2 I'm getting this error (log snippet):
module.yugabyte-db-cluster.aws_instance.yugabyte_nodes[2]: Still creating... [10s elapsed]
module.yugabyte-db-cluster.aws_instance.yugabyte_nodes[0]: Still creating... [10s elapsed]
module.yugabyte-db-cluster.aws_instance.yugabyte_nodes[1]: Provisioning with 'file'...
module.yugabyte-db-cluster.aws_instance.yugabyte_nodes[0]: Provisioning with 'file'...
module.yugabyte-db-cluster.aws_instance.yugabyte_nodes[2]: Provisioning with 'file'...
Error: host for provisioner cannot be empty
Error: host for provisioner cannot be empty
Error: host for provisioner cannot be empty`