kumahq / kuma-demo

A demo app to illustrate the capabilities and advantages of Kuma. 🐻
https://kuma.io/
Apache License 2.0
58 stars 54 forks source link

Fix failing vagrant provisioning #98

Closed jewertow closed 4 years ago

jewertow commented 4 years ago

Signed-off-by: Jacek Ewertowski jacek.ewertowski1@gmail.com

PR Details

I was trying to run kuma demo in vagrant and provisioning failed while starting vm kuma-control-plane with error:

kuma-control-plane: mv: 
kuma-control-plane: cannot stat 'kuma-0.7.1'
kuma-control-plane: : No such file or directory
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

The cause of the problem is that the script download_kuma.sh executes the installer without arguments and therefore installer downloads the latest version of Kuma. For now the latest version is 1.0.0 and the env variable $KUMA_VERSION is set to 0.7.1, therefore when the vagrant moves kuma-0.7.1 to $KUMA_HOME the process fails, because the directory does not exist.

Full changelog