-
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
[FEATURE REQUEST] Minion support for Linux ppc64 architecture #60518
Comments
Just install |
That's the little little-endian, but just the "ppc64" is big-endian. So you either need to have big-endian system, or use virtualization platform that can emulate big-endian on little-endian (AFAIK QEMU can't do that currently for PowerPC arch.). So that's why it's a bit tricky |
Did you try? This says it just works. |
FYI - The AIX native minion runs on ppc64 as a tiamat based salt-minion, it builds a rpm (AIX) and then works that into an AIX bff (rte) fileset. The build process for GitLab CI is still being worked on, but there is a bash build script that can be worked on. Note: still waiting to move this into the open-source area (constrained by resources at the moment) on GitLab, but will be there eventually. Also IBM has a version of Salt (3001.1) built by them already available as an rpm, see https://www.ibm.com/support/pages/aix-toolbox-linux-applications-downloads-alpha#S |
@lukasraska FYI here is the grains.items for AIX Salt 3003.1 which is going to QA today, if this helps.
|
@OrangeDog There are two variants under ppc64 architecture - ppc64 (which is the original PowerPC 64-bit, big endian) and ppc64le (also sometimes called ppc64el - the little endian variant). From QEMU docs you cannot emulate big endian ppc64 on little endian host system. According to wiki - So far I don't have any BE machine that I could actually use to try to virtualize ppc64 OS, just one or two actual servers (where I recompiled the necessary packages to run Salt). But as far as I understood the BE-variant of Linux on Power is mostly legacy - Debian is not supporting it officially, RedHat only provides ppc64le arch. for RHEL 8 (ppc64 is only for RHEL 7), so it's questionable whether to focus on it (at least from packaging support) @dmurphy18 Thanks, the AIX minion works fine (the currently supported version) and the grains look fine too. The mentioned issue here is mostly for Linux on Power - all it took to get it working was to invoke rpmbuild on the existing source RPMs (for RHEL on Power), so it's much easier than building packages for AIX I believe. If it's possible, we can test the 3003.1 QA AIX package as well. |
The discussion of this was brought up some time ago and there was not enough demand for it. In discussing this with some of the Core Team this is still the case and putting this into the Approved milestone as it can be picked up by the open source community to develop. |
@lukasraska Going to close this feature request since the Salt Project just moved AIX and hence ppc64 support to a community repository https://github.com/vmware/salt-native-minion-for-aix. If you examine the script used to build, you will see that rpm's are created using rpmbuild, which are then processed to provide the normal AIX fileset, bff, etc. package. It is a trivial task to only build the rpm, currently only for the salt-minion, but it would be simple to build other Salt components. I am still the maintainer for the GitHub repository, but VMware is inviting co-maintainers, if you are interested. |
@dmurphy18 well this has nothing to do with AIX, but with Linux on Power architecture, which has nothing to do with the Salt Native minions (regular minions work just fine on ppc64le if rebuilt from the current SRPM), but it's your call, i'm fine with closing this issue |
@lukasraska Understand your feature request has nothing to do with AIX, but I was pointing out the steps in the script which basically build an rpm (on an AIX machine) and then once the rpm is built, the script then goes on to generate the AIX package. The same steps could be used to build Salt on a Power Linux machine, perhaps not having to lock down the dependencies from the AIX Toolbox, since they are available from Power Linux. Big fan of the ppc hardware, and Linux at it should run great on it. |
Is your feature request related to a problem? Please describe.
Although Salt Minion is very versatile in terms of environment it can run on (it can probably run on anything that can run Python) and it's currently possible to run minions on ppc64 architecture (either on ppc64le or ppc64 - big endian), there are still few things that are missing.
Minion RPM can already be rebuilt for ppc64le RHEL via rpmbuild (ppc64 big endian arch is a little bit complicated - it can be rebuilt, but cross-compilation with gcc on RHEL has few issues this arch + it's very problematic to virtualize due to endianity, but rpmbuild on existing BE system runs fine),
Describe the solution you'd like
Basic functionality works, all standard core grains are compiled without issues, maybe put it into CI pipeline as well? I expect the ppc64le architecture would be the one to focus on (and keep the BE arch only as a note it can run)
Describe alternatives you've considered
Define custom modules / grains that override core functionality and keep it to myself.
Additional context
Versions report (LE)
Versions report (BE)
Disclaimer: I haven't actually tested if ZeroMQ transport works (we're using TCP transport), so because of the complicated build on the BE architecture, ZMQ is not even installed. But TCP transport works fine.
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: