wunderio / radi-cli

CLI interface for the Radi-API
1 stars 2 forks source link

Local: when up -> error regarding existing volume #13

Closed james-nesbitt closed 7 years ago

james-nesbitt commented 7 years ago

When I run the local up orchestration command, I get an error regarding existing volumes:

-> % radi up
Creating network "wundertest_default" with driver ""
ERRO[0000] Error occured running operation               error="Volume \"assets_private\" needs to be recreated - driver has changed" errors=[Volume "assets_private" needs to be recreated - driver has changed] id=orchestrate.up success=false
Volume "assets_private" needs to be recreated - driver has changed
james-nesbitt commented 7 years ago

This sometimes occurs when a project has been "down"ed, but volumes were not removed.

It is unclear how it is that docker thinks that the driver has changed, but the issue can be mitigated by removing volumes when you down a project:

-> % radi down --compose.removevolumes
james-nesbitt commented 7 years ago

this will not be handled in this project.