aws-quickstart / quickstart-splunk-enterprise

AWS Quick Start Team
Apache License 2.0
40 stars 47 forks source link

Timeout creating CM after modify the template #28

Closed nihe closed 6 years ago

nihe commented 6 years ago

Hello,

I have modify the CF template to move all splunk instance private subnet with the exception of the Loadbalancers. Therefor I modify the template and add 3 private subnet, NAT GW, Route Table. The modify VPC template created successfully. The modify Splunkt Template ran in to a timeout when deploying the Cluster Master Instance.

Troubleshooting: Create a jumphost login to cluster-master and review the cloud-init-output.log. Last message is Error: Cannot specify both a WaitConditionHandle URL and a logical resource id usermod --expiredate 1 splunk

Can somebody give me a hint where I should look and why the CM instance always fails.

regards

nihe commented 6 years ago

for more troubleshooting here the 10 lines before the error and all lines after

All preliminary checks passed.

Starting splunk server daemon (splunkd)...
Done

Waiting for web server at http://127.0.0.1:8000 to be available.. Done

If you get stuck, we're here to help.
Look for answers here: http://docs.splunk.com

The Splunk web interface is at http://splunklicense:8000

/opt/aws/bin/cfn-signal -e $? --stack A89373670-Splunk-SplunkStack-X19OM1XQMQXC --resource SplunkCM --region eu-central-1/opt/aws/bin/cfn-signal -e 0 -i token -d "$TOKEN" 'https://cloudformation-waitcondition-eu-central-1.s3.eu-central-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aeu-central-1%3A808065542248%3Astack/A89373670-Splunk-SplunkStack-X19OM1XQMQXC/f3aeabc0-abd3-11e8-a8f9-06b9157d5a50/SplunkCMWaitHandle?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180829T213909Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86399&X-Amz-Credential=AKIAIGFVXCIBFK7SPLKQ%2F20180829%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Signature=48b519d8dc237de1aa8385f00e4b4adabf9479b2529563958edc8bcfdb2d90cf'
Error: Cannot specify both a WaitConditionHandle URL and a logical resource id
usermod --expiredate 1 splunk
Cloud-init v. 0.7.6 finished at Wed, 29 Aug 2018 21:41:53 +0000. Datasource DataSourceEc2.  Up 135.35 seconds
nihe commented 6 years ago

Short update solve my issue by redo my customization.