-
Notifications
You must be signed in to change notification settings - Fork 521
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedGood issue for community involvementGood issue for community involvementno-staleOpt-out of closing issue due to no activityOpt-out of closing issue due to no activity
Description
What happened
fvm switch in a docker container failed with "Error: Text file busy (os error 26)"
Expected behavior
fvm switch or fvm update successfully switches versions
Describe the setup
Running fluvio and fvm switch on some os environments with a running cluster can lead to this error.
- Macos: this behavior does not occur
- docker: this bug occurs
- linux: this bug can occur
How to reproduce it (as minimally and precisely as possible)
- Install fvm & fluvio
fvm install latestfluvio cluster startStarts a local clusterfvm switch stable
Causes an "Error: Text file busy (os error 26)"
Additional context
A workaround is to shut down the local fluvio cluster, switch versions, then restart. On switch for linux environments, the binaries may need to be unlinked before copying new binaries of the switch-to version.
An intermediate fix is to detect running instances and ask them to shutdown, but this is likely more complex than doing an unlnk.
LeoBorai
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedGood issue for community involvementGood issue for community involvementno-staleOpt-out of closing issue due to no activityOpt-out of closing issue due to no activity