terraform-aws-loadtest-distribuited icon indicating copy to clipboard operation
terraform-aws-loadtest-distribuited copied to clipboard

Upgrade AMI to Amazon Linux 2023

Open sdarwin opened this issue 2 years ago • 1 comments

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-broken flag to skip over the error. Not a show-stopper. Another idea is to remove curl from the list entirely because 2023 includes curl already.

sdarwin avatar Nov 09 '23 22:11 sdarwin

By the way, when I commented "locust ran successfully", that was also with pull request 31 merged. I used the latest release of locust.

sdarwin avatar Nov 09 '23 22:11 sdarwin