Closed klausfyhn closed 1 year ago
Hi there, thanks for your interest in openfaas.
We'll need you to raise this issue on the Rust repo itself, not on faasd.
faasd is a runtime for OpenFaaS Community Edition and doesn't have anything to do with custom templates written in Rust.
I'll get this closed and keep an eye out on the other repo.
Alex
Due diligence
My actions before raising this issue
I tried updating the rust-http-templates my actions is available in this PR https://github.com/openfaas-incubator/rust-http-template/pull/9
Why do you need this?
It would be great to be able to easily create a function written in rust.
Who is this for?
nightingale.io and for personal projects. We are not registered as adopters yet, as we are still in early evaluation state.
Expected Behaviour
A function based on the
rust
orrust-http
template should be possible to deploy to faasd.Current Behaviour
Deploying to faasd results in:
However a docker/ctr run runs fine as mentioned in https://github.com/openfaas-incubator/rust-http-template/pull/9
Are you a GitHub Sponsor (Yes/No?)
No, not yet. I have only been contributing buying the https://openfaas.gumroad.com/l/serverless-for-everyone-else
Check at: https://github.com/sponsors/openfaas
List All Possible Solutions and Workarounds
I do not have enough knowledge about what the difference in faas and direct container deployment is.
Which Solution Do You Recommend?
Implement the function I need in javascript or go instead of rust. It could be considered to remove templates from the store if they are outdated and therefore doesn't work out of the box.
Steps to Reproduce (for bugs)
https://github.com/openfaas-incubator/rust-http-template/pull/9
Your Environment
New vm with ubuntu 22.04 and a fresh install of
./hack/install.sh
OS and architecture: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6 Linux faas1 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy
Versions:
containerd github.com/containerd/containerd v1.6.8 faasd version: 0.16.8-rc1 commit: 4d6b6dfdc5ccc827742dea4dff506e242b67459b