terraform-aws-loadtest-distribuited
terraform-aws-loadtest-distribuited copied to clipboard
Upgrade AMI to Amazon Linux 2023
When testing Locust, it seemed to run into a problem where urllib3 wasn't compatible with the installed openssl version.
The issue was fixed by upgrading from Amazon Linux 2 to Amazon Linux 2023. Then locust ran successfully.
Generally it's advisable to upgrade the operating system anyway.
Other discoveries:
- python3-pip was missing (in 2023), so added that in the module.
- for some reason when installing curl, it tries to install curl-minimal also, and that causes a conflict. Added the -
-skip-brokenflag to skip over the error. Not a show-stopper. Another idea is to remove curl from the list entirely because 2023 includes curl already.
By the way, when I commented "locust ran successfully", that was also with pull request 31 merged. I used the latest release of locust.