-
Notifications
You must be signed in to change notification settings - Fork 246
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
fly console
fails if vm.memory
is set in fly.toml without vm.cpu_kind
and vm.cpus
#4107
Comments
This bit us today. Thanks for providing a workaround, @lesliebc. Here's what we had before (that worked fine) but now crashes [[vm]]
size = 'shared-cpu-2x'
memory = '1gb' And here's the workaround after adding [[vm]]
size = 'shared-cpu-2x'
memory = '1gb'
cpus = 2
cpu_kind = 'shared' Per the docs, all of these keys should be optional, so this is definitely broken in the current release and not user error. I wonder if this breakage is at all related to @jipperinbham's work to remove the global GraphQL API call dependency from configuration normalization 🤔 |
I'm on
|
Cross-linking to #4049 for visibility |
@knksmith57 you are right. I focused on fixing the panic and forgot to look at the original bug. Will try to craft a fix but can't promise it for this week 🏖️ |
Describe the bug
fly console
spits out "Oops, something went wrong! Could you try that again?" if:vm.memory
is set alone in fly.toml, orvm.memory
is set withvm.size
onlyThis can be worked around by adding
vm.cpu_kind
andvm.cpus
.fly version
fly v0.3.46 darwin/arm64 Commit: 65df111 BuildDate: 2024-12-04T14:43:36Z
(also observed in releases since at least v0.3.42)
** Paste your
fly.toml
** Command output: **
The text was updated successfully, but these errors were encountered: