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

Database structure changes can cause the cluster to fail to serve. #1138

Open
wesbillman opened this issue Mar 25, 2024 · 1 comment
Open

Comments

@wesbillman
Copy link
Member

If we run ftl dev . in ftl-examples/online-boutique everything starts up correctly:

ftl dev online-boutique/backend --recreate
info: Starting FTL with 1 controller(s)
info:currency: Building module

# ... building and deploying...

info:controller0: Deployed cart-8c85f8485b
info:controller0: Deployed checkout-90b6ae9e13
info:controller0: Deployed recommendation-880c13394c
info:controller0: Deployed shipping-ed10711eb0
info:controller0: Deployed productcatalog-ff266169ab
info: All modules deployed, watching for changes...

If I then go start the server from a new folder (like ftl) and run ftl serve without recreating anything, I get the following warnings and errors

ftl serve

info: Starting FTL with 1 controller(s)
info:controller0: Web console available at: http://localhost:8892
warn:reconcileRunners: failed to get deployments needing reconciliation: can't scan into dest[4]: 14:3: ingress verb getQuote: couldn't resolve response body type currency.Money
warn:reconcileRunners: failed to get deployments needing reconciliation: can't scan into dest[4]: 14:3: ingress verb getQuote: couldn't resolve response body type currency.Money
warn:reconcileRunners: failed to get deployments needing reconciliation: can't scan into dest[4]: 14:3: ingress verb getQuote: couldn't resolve response body type currency.Money
error:controller0: Failed to increase deployment replicas: failed to claim runners for checkout-90b6ae9e13: no idle runners found matching labels {"languages":["go"]}: not found
@github-actions github-actions bot added the triage Issue needs triaging label Mar 25, 2024
@alecthomas
Copy link
Collaborator

I think I saw this before and deleting and recreating the DB container fixed it. See if that works.

@alecthomas alecthomas removed the triage Issue needs triaging label Apr 8, 2024
@wesbillman wesbillman changed the title Serving existing cluster fails Database structure changes can cause the cluster to fail to serve. Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants