Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop to master - prepare for Amazon Linux 2023 #443

Merged
merged 41 commits into from
Jun 24, 2024
Merged

Develop to master - prepare for Amazon Linux 2023 #443

merged 41 commits into from
Jun 24, 2024

Conversation

ThrawnCA
Copy link
Contributor

  • Update package installations to handle Amazon Linux 2023 offerings
  • Configure services via Systemd if Supervisord is unavailable
  • Fix param syntax
  • Add shell alias for Git commands

ThrawnCA and others added 30 commits May 16, 2024 12:46
- The 'configure' phase should specifically relate to an instance entering active service
- Swap disk should be created during 'setup'
- Cron jobs should be created during 'configure' as they denote an active instance
- Scripts should be created during 'deploy' as they are non-invasive
- Swap disk should be created during 'setup'
- Cron jobs should be created during 'configure' as they denote an active instance
- Scripts should be created during 'deploy' as they are non-invasive
QOLDEV-833 adjust recipes to better support 'warm' instances
- Wait until instance is meant to be active before starting services
[QOLDEV-833] only start Supervisor during 'configure' phase
- AL2023 replaces OpenJDK with Corretto, we can accept either one
… CLI

- Previously it was only guaranteed to be installed on batch and web instances
- Use postfix if it's available, since it will be installed if available
- This lets us create, enable, and start units in one step, and avoids having to hard-code or guess the Systemd config path
- Chef has a bug applying the 'file' resource to an NFS share, see chef/chef#14438
- At some point we might replace everything with Systemd timers, but for now just enable cron
ThrawnCA added 11 commits June 20, 2024 15:05
- One minute might not be quite enough for all the calls we need to make
- Don't put spaces around assignment operators
[QOLDEV-892] include 'index' directory in chown, just not its contents
- Otherwise Systemd will create them as root, which causes problems
systemd/systemd#14385
- Starting Solr too early just causes it to fail
QOLDEV-892 Wait for 'configure' phase to start services
- Putting multiple commands in one property can be problematic, better to use the post property
QOLDEV-892 fix cookbook compatibility with Amazon Linux 2
@ThrawnCA ThrawnCA requested a review from a team June 24, 2024 04:13
@ThrawnCA ThrawnCA merged commit 8256bf0 into master Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants