Bug #18075
closedarvados-dispatch-cloud should respect Containers.MaxComputeVMs
Description
While researching a customer question, I noticed that we have a config setting Containers.MaxComputeVMs which is not respected by arvados-dispatch-cloud. (It appears that it was previously used by the legacy "nodes" table and NodeManager). We should rename it to MaxInstances in the CloudVMs section and support it so users have a way to avoid blowing up their Arvados cluster by accident when they queue a really large workflow.
Updated by Peter Amstutz almost 2 years ago
- Target version deleted (
Future) - Description updated (diff)
Updated by Tom Clegg almost 2 years ago
- Story points set to 1.0
- Target version changed from Future to To be scheduled
- Assigned To set to Tom Clegg
- Description updated (diff)
Updated by Peter Amstutz almost 2 years ago
- Target version changed from To be scheduled to 2023-02-01 sprint
Updated by Tom Clegg almost 2 years ago
- Status changed from New to In Progress
18075-max-compute-vms @ 508a25a9f3677c913b081e79350bc76d25c76698 -- developer-run-tests: #3466
Updated by Tom Clegg almost 2 years ago
18075-max-compute-vms @ c11aeb6b640c78feec50ebcacc52718faf5643a7 -- developer-run-tests: #3467
added #20032 re flaky test
Updated by Tom Clegg almost 2 years ago
18075-max-compute-vms @ c11aeb6b640c78feec50ebcacc52718faf5643a7 -- developer-run-tests: #3469
retry wb1 developer-run-tests-apps-workbench-integration: #3731
- add new config CloudVMs.MaxInstances (behaves the same as hitting cloud provider's instance quota)
- remove old config to avoid confusion
- eye-poke tests that rely on old config (I wondered if I could remove the database table or the railsapi routes/code, but it quickly started affecting Everything, so I backed away slowly)
Updated by Lucas Di Pentima almost 2 years ago
The code LGTM, just a couple of comments on documentation:
- The code comment for
AtQuota()
might need some update to reflect the new behavior. - The upgrade notes could also mention the deprecated config knob.
Updated by Peter Amstutz almost 2 years ago
- Target version changed from 2023-02-01 sprint to 2023-02-15 sprint
Updated by Tom Clegg almost 2 years ago
- mention deprecated config in upgrade notes
- update AtQuota comment
- check quota at time of Create() too
Updated by Tom Clegg almost 2 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|fc0445570096282a9f10b2883a6bbd6a30c7aae1.