Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Python-Tornado for PPC64 #16

Open
jfindlay opened this issue Jan 19, 2016 · 6 comments
Open

Python-Tornado for PPC64 #16

jfindlay opened this issue Jan 19, 2016 · 6 comments

Comments

@jfindlay
Copy link

Moved from @alvaroarb, saltstack/salt-bootstrap#735.

Hi, never used github before (i'm not a developer but a sysadmin), i don't know if this is the right place to do this, but i want to contribute something to this wonderful community.
Recently i was tasked to set up a number of IBM Power 8 Servers with RHEL 7, since they all need to have the same exact configuration i turned to salt for this task, but when trying to install my minions with bootstrap the package python-tornado was not available for my processor architecture, since you guys have the source rpm available on the repo i downloaded it and compiled the rpm in the ppc64
architecture, manually installed it and then bootstrap worked like a charm.

Now, i've tried to upload the file here, several times, but something's happening and "Something went really wrong, and we can’t process that file. Choose Files", how can i send this rpm file to you?
If you guys consider more packages need to be recompiled this way, so you can proudly announce support for one more platform, i'd be more than happy to do so, i'm aware Power 8 hardware is not that easily available. Just let me know

@UtahDave, @dmurphy18, @meggiebot

@jfindlay
Copy link
Author

@alvaroarb, thanks for working on this. Would you be able to build other and newer salt binary dependencies for PPC64 in the future? There is no obligation, but what you can provide is very appreciated.

@jfindlay
Copy link
Author

@alvaroarb, the best way to send in the RPM is probably through a pull request against this repo, but there is going to be some sls that may be needed as well. @dmurphy18, will know more about this than I.

@dmurphy18
Copy link
Contributor

@alvaroarb Thanks for your contribution, salt-pack can be found on github here https://github.com/saltstack/salt-pack.

This is the build framework for building salt and its dependencies. It currently supports Intel architectures, x86_64, i386, i686, amd64, but there is provision for other architectures. In this case you could replace the Intel architecture with that used for Redhat on PowerLinux, presuming 64 bit. It would be good to also build those other dependencies that salt requires too; take a look at Redhat 7 x86_64 packages. The python-tornado should be version 4.2.1 at a minimum due to CVE against version 4.2. I have plans to right up a 'HOW TO' when time allows, but for now it requires the current salt 2015.8.3 to use for Master and Minion. The setup directory contains state file which install the needed packages to build and use the framework.

Please take a look at salt-pack since it is open-sourced and it will make it easier to expand support for salt on other OS's and architectures.

FYI - there is already support for Salt on Power 8, but it is with AIX (not in salt-pack). It would be good to get PowerLinux support into salt-pack.

@alvaroarb
Copy link

i'll take a look and get back to you. Glad to help

@alvaroarb
Copy link

Hi guys, sorry, but i couldn't figure out how to create the pull request you mentioned ... as i mentioned before i'm a sysadmin and not a developer, and this is the first time i use github, so i'm not familiar with it, little help?

@dmurphy18
Copy link
Contributor

@alvaroarb I am about to go through a build tag phase, but after I should have time to help walk you through the process; it will also drive my need to write the 'How to use Salt-pack' documentation. In the meantime, it would help to read the following: https://docs.saltstack.com/en/latest/topics/development/contributing.html

In the examples: replace salt.git with salt-pack.git for use with salt-pack

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants