Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Deployment fails during SplunkCM EC2 Instance Creation #33

Open
auzroz opened this issue Nov 29, 2018 · 7 comments
Open

Deployment fails during SplunkCM EC2 Instance Creation #33

auzroz opened this issue Nov 29, 2018 · 7 comments

Comments

@auzroz
Copy link

auzroz commented Nov 29, 2018

I have attempted to remove the UserData from the SplunkCM resource, but the deployment then times out. Still troubleshooting this one.

@auzroz
Copy link
Author

auzroz commented Nov 30, 2018

Looks like it is related to the following line in the UserData, this is present in all Instances. Based on running the exact command on the AMI manually, it throws an error where the sed command strips the variable out.
sed -i 's/ENFORCE_PWD_CHANGE=1//' /etc/init.d/splunk\n
This appears to alleviate the issue:
sed -i 's/ENFORCE_PWD_CHANGE=1/ENFORCE_PWD_CHANGE=0/' /etc/init.d/splunk\n

@tweaksalot
Copy link

tweaksalot commented Dec 10, 2018

will this completely resolve the issue? Is anyone else getting this as well? cc @sshvans
Can't seem to pass this error after 5 attempts. I'm blocked by this.

"CREATE_FAILED AWS::EC2::Instance SplunkCM Failed to receive 1 resource signal(s) within the specified duration
CREATE_IN_PROGRESS AWS::EC2::Instance SplunkCM Resource creation Initiated"

@auzroz
Copy link
Author

auzroz commented Dec 10, 2018

I was able to finish the Quick Start guide by changing this, yes.

@spitzzz
Copy link

spitzzz commented Feb 26, 2019

Having the same issue.

@billbartlett
Copy link
Contributor

What options are you using when you experience this error? I just launched an unedited quickstart template in us-west-1 without any issue. My options of note were:

2 AZ
c4.2xlarge indexer instance type, 3 indexers
no pre-installed apps

Any additional information would be great so that I can replicate the issues seen in this thread.

@billbartlett
Copy link
Contributor

This should be fixed now with PR#38

@augwyl
Copy link

augwyl commented May 11, 2020

I am still experiencing the same issue: CREATE_FAILED AWS::EC2::Instance SplunkCM Failed

I just launched an unedited quickstart template in ap-southeast-2 region. My options of note were:

3 AZ
c4.2xlarge indexer instance type, 3 indexers
no pre-installed apps

still failed

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

5 participants