openfaas / faasd

A lightweight & portable faas engine
https://store.openfaas.com/l/serverless-for-everyone-else
MIT License
2.97k stars 213 forks source link

Executing install.sh fails because of wrong version #336

Closed matthi-g closed 1 year ago

matthi-g commented 1 year ago

Due diligence

My actions before raising this issue

Before you ask for help or support, make sure that you've consulted the manual for faasd. We can't answer questions that are already covered by the manual.

Why do you need this?

I am using a slightly modified version of the AWS EC2 terraform module, to startup a vm with a running instance of openfaas (faasd). The module can be found here.

Who is this for?

My master thesis supervised by the Distributed and Parallel Systems group of the University Innsbruck. The project consists of implementing a resource manager. For function deployments on EC2 instances faasd and openfaas are used.

Expected Behaviour

Executing install.sh installs faasd and all required components.

Current Behaviour

The result of line 25 in install.sh is 0.17.0. This results in downloading the old version of docker-compose.yaml. The old file uses tag 0.26.0 of the gateway package which does not exist anymore. It also uses the 0.13.3 tag from the (queue-worker package)[https://github.com/openfaas/nats-queue-worker/pkgs/container/queue-worker] which is non existent. With this bug, it is not possible to install faasd using the install.sh script.

I don't know if there are more problems linked to the retrieval of the old version tag.

List All Possible Solutions and Workarounds

Workaround: modify the install.sh by myself and use it instead of the one in the repository.

Which Solution Do You Recommend?

Change the 0.18.0 tag to a full release instead of a pre-release

Steps to Reproduce (for bugs)

  1. Execute the install.sh.

Your Environment

alexellis commented 1 year ago

Hi thanks for the issue.

I've changed the tag now.

Please give it 5 minutes and try again.

Alex