-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[BUG] Onedir install broken on ARM64 Linux #62757
Comments
Related: #62664 |
@voidmain Sorry but for the moment onedir only supports Intel family of processors. For the current time I can recommend the classic packaging for Ubuntu 20.04 and ARM64 support for Salt 3005, https://repo.saltproject.io/py3/ubuntu/20.04/arm64/latest Closing this since working as designed, that is, only x86_64/amd64 is supported in onedir at the moment, but arm64 support will be coming to onedir in the future, sorry cannot give a timeframe except near future. |
@dmurphy18 If I may, I would like to suggest that this shouldn't have been closed without at least the documentation on the onedir upgrade page getting updated to reflect this fact. Also, can there please also be a firm commitment from the Salt team documented somewhere on the main site (possibly also on the onedir page), indicating that ARM64 will in fact be supported prior to non-onedir installations being dropped? At least in my workplace, we have a mix of ARM64 and AMD64 architectures (and have in fact recently replaced most AMD64 hosts with ARM64), so this news is of particular concern. |
@boltronics You can be rest assured that ARM64 will be supported in onedir in the next major release 3006.0. The method of building onedir packages is changing for onedir to overcome issues found with Tiamat based packaging, please see: https://github.com/saltstack/relative-environment-for-python @barbaricyawps Can we note that in the current onedir upgrade page, that the current onedir packages for 3005.x do not support ARM64, but ARM64 will be supported in the next major release. |
@dmurphy18 , sure thing. I'm working on a Salt Install Guide issue right now and I can fold that into the work I'm doing. |
Thanks guys. Much appreciated. |
Sorry, does this mean "arm64 won't be supported until 3006 is released" or "arm64 will definitely be supported by 3006 and 3005 will support it sometime before then"? In other words, given relenv is required to support onedir on arm64, will 3k6 mark the transition from tiamat to relenv? Will 3k5 be transitioned to relenv too, or will it just never support arm64? We've been stuck on 3k4, since Saltstack dropped support for classic packages built for Ubuntu 22.04, but onedir packages don't support arm64. As such, you cannot install salt on Ubuntu 22.04 arm64. Is the CI/CD used to build these packages publicly available? If support isn't forth coming, I'd like to try to get classic packages building for Ubuntu 22.04, and possibly replicate the issues with onedir on arm64. Thanks. |
@gvengel Here are the answers, to the best that I can give: Sorry, does this mean "arm64 won't be supported until 3006 is released" or "arm64 will definitely be supported by 3006 and 3005 will support it sometime before then"?
In other words, given relenv is required to support onedir on arm64, will 3k6 mark the transition from tiamat to relenv?
Will 3k5 be transitioned to relenv too, or will it just never support arm64?
We've been stuck on 3k4, since Saltstack dropped support for classic packages built for Ubuntu 22.04, but onedir packages don't support arm64. As such, you cannot install salt on Ubuntu 22.04 arm64.
Is the CI/CD used to build these packages publicly available?
If support isn't forth coming, I'd like to try to get classic packages building for Ubuntu 22.04, and possibly replicate the issues with onedir on arm64.
From my old notes:
There were plans to have arm64 support in onedir with 3005.x, but unforeseen resource reductions meant time was spent flushing out issues in build infrastructure, and ensuring that classic packaging also got done, resulting in arm64 getting dropped of the table due to a lack of time and able bodies. Apologize for arm64 not being there, preference would have been to have had it. |
Thanks for the comprehensive response. After poking around, I discovered the Debian 11 classic arm64 package installs without issue on Ubuntu 22.04. While not optimal from a support point of view, I think it's an acceptable hold over until 3006 ships. |
@gvengel That is interesting to know that Debian 11 will work on Ubuntu 22.04 (presume 24.04 was a typo). |
yes, 24.04 was a typo... |
Description
It appears that the Onedir install (bootstrap and manual) is broken on
ARM64
versions of Linux. Everything appears to exist in the APT repository except forsalt-common
. The file exists, but it looks like it was built withAMD64
only.Directory listing: https://repo.saltproject.io/salt/py3/ubuntu/20.04/amd64/latest/pool/
You can see in that directory that the
salt-common
file is targeting a specific architecture rather thanall
as the other packages are.I'm assuming that Onedir is supposed to support ARM64 but the build was messed up or something.
The text was updated successfully, but these errors were encountered: