-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Proposal: Add ppc64le support #1257
Comments
Thanks for raising this issue. I would think that complication should be relatively straightforward. I'm not aware of any contributors with access to equipment, so testing, support and debugging would be a challenge. Here are some of the component parts: https://docs.openfaas.com/contributing/get-started/#openfaas What kind of involvement or support are you looking for from the project? I noticed a few PRs and new Dockerfiles. Are you hoping to upstream support to each component and then test everything together, or would it also work to prove it out in your pipeline and then report back on the issue? Perhaps any issues or PRs could be linked back to this issue for tracking? |
As for now I would like just to push necessary changes to support the platform a "clean" build as far as I can and as near to the original as it possible. That's why I made first PRs to some components used in OpenFaaS:
In my own repositories I have OpenFaaS and Faas-Netes for ppc64le: I also compiled several docker images for ppc64le today which are available at https://hub.docker.com/u/powerlinux The next steps:
If it works, it means for me that OpenFaaS can work on ppc64le. The most difficult question is testing/support/debugging afterwards. I can do it only in my free time and as long as the project is interesting to me. |
I think there are potentially up to 20 +/- projects (excluding templates) that you may need to rebuild for your architecture. See a complete list at: https://docs.openfaas.com/contributing/get-started/#openfaas What the difference between s390x and ppc64le? I've had one of your colleagues send a PR to add a binary for s390x to the license-check component. Is this the same thing in other words, or are there two IBM platforms which we need to support upstream in each component?
Are you with IBM? I see that there are patches / questions about these two IBM platforms coming in from around 3-4 people at the moment. I'm finding it confusing to track all these efforts and would like to know if they are co-ordinated, or if OpenFaaS is just gaining random traction inside a new community. Durgadas Kamath @imdurgadas has also requested both of these IBM-specific architectures for |
Related PRs: |
I would suggest that you may also need faas-cli / watchdog / of-watchdog in addition to the server-side components. How far do you want to go with the experiment before reviewing whether to submit upstream patches to every component? Is there a way or place where the OpenFaaS community can test the patches or test new, breaking changes against the ppc64le platform? |
@aklyachkin see the binary release here that you requested: https://github.com/teamserverless/license-check/releases/tag/0.3.2 |
All patches I did to get it working I will commit back to the project. It is not so much work.
|
Congratulations on getting it working!
Once your patches are contributed back, who will be fixing, updating and maintaining support for ppc64le? And for how long?
|
I believe Rishi from the IBM enablement team was trying to get [OpenFaaS Cloud](https://github.com/openfaas/openfaas-cloud working) - which would of course also include OpenFaaS (this issue) |
Pull request #1258 As you can see Dockerfile for gateway is absolute identical for amd64 and ppc64le. |
I checked also faas-cli. There is no single change needed to compile it on ppc64le. |
At least the most easiest function works:
|
Somehow I can only see up to |
Any need for a dockerfile then? |
Not really. I needed it first because of license-check. Now I think I can drop it away and it will compile anyway. |
yes, it compiles:
I change the PR (if I can...) |
I have no clue about NodeJS, but new watchdog and https://github.com/openfaas-incubator/node10-express-template/ work like a charm on ppc64le with small corrections.
|
Pull request for of-watchdog openfaas/of-watchdog#69 |
wow. it works too - https://github.com/openfaas/workshop/blob/master/lab9.md
|
Is there a way project contributors can access Power environments free of cost? |
2 open alternatives I know: |
Thank you for your great demo in the community meeting today. once a recording is ready I will post a link here for anybody else who is interested in power and OpenFaaS |
/lock: inactivity |
I would like to see support for Linux/ppc64le architecture in OpenFaaS.
What I saw till now it should be quite easy task. I didn't test it, but compilation of almost everything went without any problems. I plan to try out what I compiled till now this or next week.
Expected Behaviour
OpenFaaS works on Linux/ppc64le
Current Behaviour
OpenFaaS doesn't work on Linux/ppc64le
Your Environment
My test environments are IBM Cloud Private 3.2.0 Community Edition on one OpenPOWER server and IBM Cloud Private 3.2.0 Enterprise Edition on IBM Power.
Docker version
docker version
(e.g. Docker 17.0.05 ):18.06
Are you using Docker Swarm or Kubernetes (FaaS-netes)?
Kubernetes
Operating System and version (e.g. Linux, Windows, MacOS):
RHEL 7/ppc64le
Next steps
PR
The text was updated successfully, but these errors were encountered: