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
[FEATURE REQUEST] Add to bootstrap-salt.sh support for Amazon Linux 2022 #62525
Comments
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. |
Hi there - I'm trying to pre-qualify Amazon Linux 2022 for use in our prod environment. Part of that is getting Salt to work on it. AWS Linux 2022 will replace AWS Linux 2 over time, so it is not some niche distro. By the looks of this bootstrap output, its ignoring the python3 parameter, failing to get the content of the repo, and then defaulting to some python 2.7 packages that don't exist - everything in AL2022 is python 3.9 at this date.
I manually installed the python3- version of all those RPMs and only some were found python3-crypto-2.6.1-34.amzn2022.0.1.x86_64.rpm |
https://aws.amazon.com/linux/amazon-linux-2022/faqs/ says
How to get some traction on supporting this updated distro ? Given its AWS automation users are likely to be more frequent users. |
Further info -the bootstrap script is treating AL2022 like amazon linux 2 and installing python 2.7 stuff, which isn't available.
Even forcing python3 and git as a source still attempts python27 installs.
I can't go to salt 3005 yet - that would probably work better with the onedir thing. |
Is your feature request related to a problem? Please describe.
bootstrap-salt.sh fails to install salt in an Amazon Linux 2022 EC2 instance
Describe the solution you'd like
bootstrap-salt.sh supports Amazon Linux 2022
Describe alternatives you've considered
Additional context
Tested with this AMI ami-09b54833c45ebb360 in us-west-2 region
Please Note
If this feature request would be considered a substantial change or addition, this should go through a SEP process here https://github.com/saltstack/salt-enhancement-proposals, instead of a feature request.
The text was updated successfully, but these errors were encountered: