Skip to content

chore(api-db): make the dpa-vni resource pool optional#2035

Merged
chet merged 1 commit into
NVIDIA:mainfrom
chet:dpa-vni-pool-optional
Jun 1, 2026
Merged

chore(api-db): make the dpa-vni resource pool optional#2035
chet merged 1 commit into
NVIDIA:mainfrom
chet:dpa-vni-pool-optional

Conversation

@chet
Copy link
Copy Markdown
Contributor

@chet chet commented Jun 1, 2026

Description

Any new attempts to run nico-api without [pools.dpa-vni] set in the site config TOML file will result in nico-api crashing with the error:

Error: Resource pool 'dpa-vni' missing or full. Edit config file and restart.

This should be an optional resource pool since not all sites will need a "dpa-vni" resource pool. I think in the past when we managed all NICo sites, we'd prep all site configs with new resource pools, so it wasn't a big deal. Now, however, other teams/orgs/groups run their own NICo stack(s), so it is now up to them whether or not they need to configure this or not.

Luckily, we already have optional_pool_names for this!

Signed-off-by: Chet Nichols III chetn@nvidia.com

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Related Issues (Optional)

Breaking Changes

  • This PR contains breaking changes

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

Additional Notes

Any new attempts to run `nico-api` without `[pools.dpa-vni]` set in the site config TOML file will result in `nico-api` crashing with the error:

```
Error: Resource pool 'dpa-vni' missing or full. Edit config file and restart.
```

This should be an optional resource pool since not all sites will need a `"dpa-vni"` resource pool. I think in the past when we managed all NICo sites, we'd prep all site configs with new resource pools, so it wasn't a big deal. Now, however, other teams/orgs/groups run their own NICo stack(s), so it is now up to them whether or not they need to configure this or not.

Signed-off-by: Chet Nichols III <chetn@nvidia.com>
@chet chet requested a review from a team as a code owner June 1, 2026 06:38
@chet chet enabled auto-merge (squash) June 1, 2026 06:39
@chet chet merged commit 09345b2 into NVIDIA:main Jun 1, 2026
52 checks passed
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

Successfully merging this pull request may close these issues.

2 participants