-
Notifications
You must be signed in to change notification settings - Fork 518
Open
Labels
CLIenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersno-staleOpt-out of closing issue due to no activityOpt-out of closing issue due to no activity
Description
No amount of waiting will result in a cluster starting correctly, so I think instead of spinning, we can safely exit and give a useful error to the user.
2021-12-14T21:16:53.969537Z WARN install_fluvio{namespace="default"}:try_connect_to_sc{config=FluvioConfig { endpoint: "172.18.0.2:30003", use_spu_local_address: false, tls: Disabled } platform_version=Version { major: 0, minor: 9, patch: 16 }}: fluvio_cluster::start::common: Current Version 0.9.15 is not same as expected: 0.9.16
Possibly when we find this scenario, we might want to fluvio cluster delete for the user? Perhaps this can be opt-in with a flag like --cleanup-cluster-on-error or something along those lines.
Repro steps:
Developers are the ones mostly impacted by this behavior. You can repro by intentionally starting a cluster w/ a different version as the CLI.
In most cases, if you have the latest stable CLI, start the cluster like this:
RUST_LOG=debug fluvio cluster start --image-version latest
Metadata
Metadata
Assignees
Labels
CLIenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersno-staleOpt-out of closing issue due to no activityOpt-out of closing issue due to no activity