we are trying to set up a Jira data center using the following AWS Quick start:
The infrastructure seems to set up fine and the event log in CloudFormation logs the stack to be set up successfully. But when we then try to access the Jira via the load balancer we get a 502 - Bad Gateway. We already threw everything away and set up the stack from scratch - with the exact same result.
I dug a bit around on the Jira DC instance and it looks like the scripts that set up the DC failed. I found the following entries in the log file /var/log/cloud-init-output.log
lots of the following python errors
Traceback (most recent call last): File "/usr/lib64/python2.7/logging/__init__.py", line 891, in emit stream.write(fs % msg.encode("UTF-8")) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 88: ordinal not in range(128) Logged from file util.py, line 476
Oct 30 08:51:46 cloud-init: util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001  Oct 30 08:51:46 cloud-init: cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts) Oct 30 08:51:46 cloud-init: 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
Does anyone know more about this?