And I fired up the second node leaving out the cluster.initial_master_nodes parameter this time:
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:34:42,031Z", "level": "INFO", "component": "o.e.d.DiscoveryModule", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "using discovery type [zen] and seed hosts providers [settings, ec2]" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:34:43,349Z", "level": "INFO", "component": "o.e.t.TransportService", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "publish_address {10.0.5.39:9300}, bound_addresses {0.0.0.0:9300}" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:34:43,962Z", "level": "INFO", "component": "o.e.b.BootstrapChecks", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "bound or publishing to a non-loopback address, enforcing bootstrap checks" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:34:53,995Z", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}]; discovery will continue using [127.0.0.1:9300, 127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, 10.0.4.88:9300, 10.0.5.39:9300, 10.0.6.231:9300] from hosts providers and [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:35:04,003Z", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}]; discovery will continue using [127.0.0.1:9300, 127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, 10.0.4.88:9300, 10.0.5.39:9300, 10.0.6.231:9300] from hosts providers and [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:35:14,021Z", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}]; discovery will continue using [127.0.0.1:9300, 127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, 10.0.4.88:9300, 10.0.5.39:9300, 10.0.6.231:9300] from hosts providers and [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:35:14,018Z", "level": "WARN", "component": "o.e.n.Node", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "timed out while waiting for initial discovery state - timeout: 30s" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:35:14,047Z", "level": "INFO", "component": "o.e.h.AbstractHttpServerTransport", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "publish_address {10.0.5.39:9200}, bound_addresses {0.0.0.0:9200}" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:35:14,048Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "started" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:35:24,025Z", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}]; discovery will continue using [127.0.0.1:9300, 127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, 10.0.4.88:9300, 10.0.5.39:9300, 10.0.6.231:9300] from hosts providers and [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:35:34,027Z", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}]; discovery will continue using [127.0.0.1:9300, 127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, 10.0.4.88:9300, 10.0.5.39:9300, 10.0.6.231:9300] from hosts providers and [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:35:44,030Z", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}]; discovery will continue using [127.0.0.1:9300, 127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, 10.0.4.88:9300, 10.0.5.39:9300, 10.0.6.231:9300] from hosts providers and [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:35:54,032Z", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}]; discovery will continue using [127.0.0.1:9300, 127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, 10.0.4.88:9300, 10.0.5.39:9300, 10.0.6.231:9300] from hosts providers and [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:36:04,034Z", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}]; discovery will continue using [127.0.0.1:9300, 127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, 10.0.4.88:9300, 10.0.5.39:9300, 10.0.6.231:9300] from hosts providers and [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:36:14,037Z", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}]; discovery will continue using [127.0.0.1:9300, 127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, 10.0.4.88:9300, 10.0.5.39:9300, 10.0.6.231:9300] from hosts providers and [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }
logs-dev-log-group elk-es/elk-es/182d0cd4-fb70-4566-85f0-5892416a9a6a {"type": "server", "timestamp": "2020-03-13T22:36:24,040Z", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "logs-dev", "node.name": "logs-dev-b", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}]; discovery will continue using [127.0.0.1:9300, 127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, 10.0.4.88:9300, 10.0.5.39:9300, 10.0.6.231:9300] from hosts providers and [{logs-dev-b}{xH2tXROEQhe0uKYiQFSD-w}{gF0zxCEjSIC4dl1OaXR7KQ}{10.0.5.39}{10.0.5.39:9300}{dim}{aws_availability_zone=ap-southeast-2b, xpack.installed=true}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }
Im not sure why it still thinks there is no cluster though, or what is preventing the join. Really do appreciate you looking at this
Have a great day
Cheers
Josh