Jump to content
We've recently updated our Privacy Statement, available here ×

CloudFormation fail with init failure


ssivaraman

Recommended Posts

Jasper servers were created using cloudformation scripts on aws and it was working fine for last 3-4 months. All sudden today we are not able to drain AutoScalingGroup. Cloudformation fails with finit error

 

 

Oct 27 19:06:53 cloud-init[3661]: util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/userdata.txt [1]
Oct 27 19:06:53 cloud-init[3661]: cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
Oct 27 19:06:53 cloud-init[3661]: util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.pyc'>) failed

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

This is due to a change in EPL repository content. (specifically a python dependency per your output log file).  You will need to comment out both yum commands in the each userdata section of the cloud formation template so that the cfn-init is not installed or updated and will rely on what was built into the image as a workaround. 

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...