Skip to content
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

[CLI] fluvio update should update fluvio-channel #2221

Closed
tjtelan opened this issue Feb 22, 2022 · 3 comments
Closed

[CLI] fluvio update should update fluvio-channel #2221

tjtelan opened this issue Feb 22, 2022 · 3 comments
Assignees
Labels
Milestone

Comments

@tjtelan
Copy link
Contributor

tjtelan commented Feb 22, 2022

The only way to update fluvio-channel is to reinstall via install.sh script

Here's a small snippet of the script downloading fluvio-channel and installing it in my home dir as /home/telant/.fluvio/bin/fluvio

$ cat install.sh | bash
fluvio: ⏳ Downloading Fluvio 0.9.20 for x86_64-unknown-linux-musl...
fluvio: ⬇️  Downloaded Fluvio, installing...
fluvio: ✅ Successfully installed /home/telant/.fluvio/bin/fluvio-stable
fluvio: ⏳ Downloading Fluvio channel frontend 0.9.20 for x86_64-unknown-linux-musl...
fluvio: ✅ Successfully installed /home/telant/.fluvio/bin/fluvio
[...]

Here's the output for fluvio update. No where in the output do we report updating the Fluvio channel frontend at /home/telant/.fluvio/bin/fluvio

$ fluvio update
Current channel: stable
🎣 Fetching latest version for fluvio...
⏳ Downloading Fluvio CLI with latest version: 0.9.20...
🔑 Downloaded and verified package file
✅ Successfully updated /home/telant/.fluvio/bin/fluvio-stable
🔧 Preparing update for 3 plugins:
   - fluvio-cloud (/home/telant/.fluvio/extensions/fluvio-cloud)
   - fluvio-package (/home/telant/.fluvio/extensions/fluvio-package)
   - fluvio-run (/home/telant/.fluvio/extensions/fluvio-run)
⏳ Downloading plugin fluvio-cloud with version 0.1.6
🔑 Downloaded and verified package file
✅ Successfully updated fluvio/fluvio-cloud:0.1.6 at (/home/telant/.fluvio/extensions/fluvio-cloud)
⏳ Downloading plugin fluvio-package with version 0.1.9
🔑 Downloaded and verified package file
✅ Successfully updated fluvio/fluvio-package:0.1.9 at (/home/telant/.fluvio/extensions/fluvio-package)
⏳ Downloading plugin fluvio-run with version 0.9.20
🔑 Downloaded and verified package file
✅ Successfully updated fluvio/fluvio-run:0.9.20 at (/home/telant/.fluvio/extensions/fluvio-run)
@tjtelan
Copy link
Contributor Author

tjtelan commented Apr 5, 2022

It looks like this issue needs to be bumped up in priority due to #2166. It appears that upgrade tests in CD_Dev have been failing since this PR merge, and it appears to be related to fluvio-channel not updating. When I manually replace the binary with a new build, the cluster starts

@sehz
Copy link
Contributor

sehz commented Apr 12, 2022

fluvio update works now for latest channel but installer path still doesn't work:

curl -fsS https://packages.fluvio.io/v1/install.sh | VERSION=latest bash

@sehz
Copy link
Contributor

sehz commented Apr 13, 2022

all fixed

@sehz sehz closed this as completed Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants