Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Can't Connect to Node #401

Open
somatusjn opened this issue Jan 8, 2022 · 1 comment
Open

Can't Connect to Node #401

somatusjn opened this issue Jan 8, 2022 · 1 comment

Comments

@somatusjn
Copy link

somatusjn commented Jan 8, 2022

I'm brand new to elasticsearch and I'm trying to deploy a testing instance on Azure and I'm having a problem, but I can't pinpoint the problem.

Here are the parameters I'm using:

{
  "_artifactsLocation":{"value":"https://raw.githubusercontent.com/elastic/azure-marketplace/7.11.1/src/"},
  "_artifactsLocationSasToken":{"value":""},
  "esVersion":{"value":"7.11.1"},
  "esClusterName":{"value":"$esClusterName"},
  "loadBalancerType":{"value":"external"},
  "loadBalancerInternalSku":{"value":"Standard"},
  "loadBalancerExternalSku":{"value":"Standard"},
  "azureCloudPlugin":{"value":"No"},
  "azureCloudStorageAccountName":{"value":""},
  "azureCloudStorageAccountResourceGroup":{"value":""},
  "xpackPlugins":{"value":"Yes"},
  "esAdditionalPlugins": { "value":""},
  "esAdditionalYaml": { "value":""},
  "esHeapSize": { "value":0},
  "esHttpCertBlob": { "value":"$esHttpCertBlob"},
  "esHttpCertPassword": { "value":"$esHttpCertPassword"},
  "esHttpCaCertBlob": { "value":""},
  "esHttpCaCertPassword": { "value":""},
  "esTransportCaCertBlob": { "value":""},
  "esTransportCaCertPassword": { "value":""},
  "esTransportCertPassword": { "value":""},
  "samlMetadataUri": { "value":""},
  "samlServiceProviderUri": { "value":""},
  "kibana":{"value":"Yes"},
  "vmSizeKibana":{"value":"Standard_DS1_v2"},
  "vmKibanaAcceleratedNetworking":{"value":"Default"},
  "kibanaCertBlob":{"value":"$kibanaCertBlob"},
  "kibanaKeyBlob":{"value":"$kibanaKeyBlob"},
  "kibanaKeyPassphrase":{"value":"$kibanaKeyPassphrase"},
  "kibanaAdditionalYaml": { "value":""},
  "logstash": { "value":"No"},
  "vmSizeLogstash": { "value":"Standard_DS1_v2"},
  "vmLogstashCount": { "value":1},
  "vmLogstashAcceleratedNetworking":{"value":"Default"},
  "logstashHeapSize": { "value": 0 },
  "logstashConf": { "value": "" },
  "logstashKeystorePassword": { "value": "" },
  "logstashAdditionalPlugins": { "value": "" },
  "logstashAdditionalYaml": { "value": "" },
  "jumpbox":{"value":"No"},
  "vmHostNamePrefix":{"value":"$vmHostNamePrefix"},
  "vmSizeDataNodes":{"value":"Standard_DS1_v2"},
  "vmDataNodeAcceleratedNetworking":{"value":"Default"},
  "vmDataDiskCount":{"value":40},
  "vmDataDiskSize":{"value":"32GiB"},
  "vmDataNodeCount":{"value":1},
  "storageAccountType":{"value":"Default"},
  "dataNodesAreMasterEligible":{"value":"Yes"},
  "vmSizeMasterNodes":{"value":"Standard_DS1_v2"},
  "vmMasterNodeAcceleratedNetworking":{"value":"Default"},
  "vmClientNodeCount":{"value":0},
  "vmSizeClientNodes":{"value":"Standard_DS1_v2"},
  "vmClientNodeAcceleratedNetworking":{"value":"Default"},
  "adminUsername":{"value":"$esAdminUsername"},
  "authenticationType":{"value":"sshPublicKey"},
  "sshPublicKey":{"value":"$SSH_KEY"},
  "adminPassword":{"value":""},
  "securityBootstrapPassword":{"value":""},
  "securityAdminPassword":{"value":"$securityAdminPassword"},
  "securityKibanaPassword":{"value":"$securityKibanaPassword"},
  "securityLogstashPassword":{"value":"$securityLogstashPassword"},
  "securityBeatsPassword":{"value":"$securityBeatsPassword"},
  "securityApmPassword":{"value":"$securityApmPassword"},
  "securityRemoteMonitoringPassword":{"value":"$securityRemoteMonitoringPassword"},
  "vNetNewOrExisting": {"value":"new"},
  "vNetName": {"value": "es-net"},
  "vNetExistingResourceGroup": {"value": ""},
  "vNetNewAddressPrefix": {"value": "10.0.0.0/24"},
  "vNetLoadBalancerIp": {"value": "10.0.0.4"},
  "vNetClusterSubnetName": {"value": "es-subnet"},
  "vNetNewClusterSubnetAddressPrefix": {"value": "10.0.0.0/25"},
  "vNetAppGatewaySubnetName": {"value": "es-app-gateway"},
  "vNetNewAppGatewaySubnetAddressPrefix": {"value": "10.0.0.128/28"},
  "appGatewayTier": {"value":"Standard"},
  "appGatewaySku": {"value":"Small"},
  "appGatewayCount": {"value":1},
  "appGatewayCertBlob": {"value":""},
  "appGatewayCertPassword": {"value":""},
  "appGatewayWafStatus": {"value":"Disabled"},
  "appGatewayWafMode": {"value":"Detection"},
  "appGatewayEsHttpCertBlob": { "value": ""}
}

And this is error I'm getting:

"VM has reported a failure when processing extension 'script'. Error message: "Enable failed: failed to execute command: command terminated with exit status=10\n[stdout]\n[08012022-18:21:14] [wait_for_started] seeing if node is up after sleeping 5 seconds, retry 60/60\n[08012022-18:21:14] [wait_for_started] never saw elasticsearch go up locally\n\n[stderr]\n:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused\n"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot "

Is my configuration incorrect? Or is this a bug?

@wl02302677
Copy link

I came across similar issue, but my issue is on my redeploy by arm template.
My cluster have 3 nodes, One time I redeploy my es on Azure, 2 node build successful, but one of them error and error log print "Failed to connect to localhost port 9200"
I want to know why I used same template to redeploy 3 nodes but one of tem broken..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants