ssivaraman Posted October 28, 2021 Share Posted October 28, 2021 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 More sharing options...
rmeadows Posted November 8, 2021 Share Posted November 8, 2021 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now