fermyon / installer

Fermyon Installer
https://fermyon.dev
Apache License 2.0
156 stars 38 forks source link

Local installer fails with spin 0.10.0 #126

Open ad-ops opened 1 year ago

ad-ops commented 1 year ago

spin v0.10.0 has removed --follow-all which causes Nomad jobs to fail Remove deprecated --follow-all option

Downgrading to spin v0.9.0 solves this.

Installed on macOS

Example log from nomad job:

WARNING: Bindle support is deprecated and will be removed in a future version.
For remote applications, please use registry commands and features instead.
See https://developer.fermyon.com/spin/spin-oci for more details

2023-03-06T21:24:44.375105Z  INFO spin_loader::bindle::assets: Mounting files from 'webserver/0.1.0+qca333d2' to '/private/tmp/.tmpMhCgAf'    
error: Found argument '--follow-all' which wasn't expected, or isn't valid in this context

    Did you mean '--follow'?

    If you tried to supply `--follow-all` as a value rather than a flag, use `-- --follow-all`

USAGE:
    spin trigger http --listen <ADDRESS> --follow <FOLLOW_ID>

For more information try --help
Error: exit status: 2
vdice commented 1 year ago

@ad-ops thank you for the issue. I see a few options here, in rough order of preference:

vdice commented 1 year ago

Apologies for the delay here. We do have a new hippo release (https://github.com/deislabs/hippo/releases/tag/v0.20.2) but I'm seeing issues with redeploying apps when using Spin v0.10.1 w/ Hippo v0.20.2 so it appears there may be other areas in Hippo that need updating for compatibility.

For the near term, we'll have to notify users running the installer locally that Spin needs to be pinned to a certain version -- ideally the same as used by the remote installers -- until Hippo is updated.