fluvio icon indicating copy to clipboard operation
fluvio copied to clipboard

[Bug]: Fluvio cluster install should suggest `fluvio cluster delete` for chart mismatch

Open ajhunyady opened this issue 2 years ago • 2 comments

% fluvio cluster start            
Current channel: stable
📝 Running pre-flight checks
    ✅ Kubectl active cluster minikube at: https://192.168.64.6:8443 found
    ✅ Supported helm version 3.7.0+geeac838 is installed
    ✅ Supported Kubernetes server 1.22.2 found
    ✅ Fluvio system charts are installed
    ❌ Check Fluvio installation failed Fluvio chart is already installed
💔 Some pre-flight check failed!
Error: 
   0: Fluvio cluster error
   1: Failed to install Fluvio on Kubernetes
   2: Preflight check failed

Suggestion

❌ Fluvio installation failed Fluvio chart is already installed
   Suggestion:  run `fluvio cluster delete` for clean install or `fluvio cluster start --upgrade` for upgrade

After that everything works fine:

% fluvio cluster delete
Current channel: stable
Uninstalled fluvio kubernetes components
Uninstalled fluvio local components
Objects and secrets have been cleaned up

% fluvio cluster start            
Current channel: stable
📝 Running pre-flight checks
    ✅ Kubectl active cluster minikube at: https://192.168.64.6:8443 found
    ✅ Supported helm version 3.7.0+geeac838 is installed
    ✅ Supported Kubernetes server 1.22.2 found
    ✅ Fixed: Fluvio Sys chart 0.9.23 is installed
    ✅ Previous fluvio installation not found
🎉 All checks passed!
✅ Installed Fluvio app chart: 0.9.23
✅ Connected to SC: 192.168.64.6:30003
👤 Profile set
✅ SPU group main launched with 1 replicas
🎯 Successfully installed Fluvio!

ajhunyady avatar Apr 15 '22 16:04 ajhunyady

Suggest fluvio cluster delete for clean install or fluvio cluster start --upgrade for upgrade

nacardin avatar Apr 22 '22 17:04 nacardin

Stale issue message

github-actions[bot] avatar Jun 22 '22 11:06 github-actions[bot]