NVIDIA Infra Controller v2.4 — unreleased
These changes are merged into main and collected for v2.4. They are not included in v2.3.0. Review the compatibility and upgrade requirements below before deploying a build that includes them.
Expected Switch NVOS declarations
REST API compatibility exception
The Expected Switch primary-port change tracked in issue #7310 intentionally tightens the REST create and replace-all contracts:
POST /v2/org/{org}/nico/expected-switchrequires a non-emptynvosInterfacesarray.PUT /v2/org/{org}/nico/expected-switch/allrequires a non-emptynvosInterfacesarray in everyexpectedSwitchesentry. An empty top-levelexpectedSwitchesarray still clears the inventory.
Omitting a port set or supplying an empty one returns HTTP 400. This is a breaking-change exception: zero-port declarations cannot initialize successfully because Site Explorer no longer fills or overwrites operator-declared NVOS ports. Existing zero-port records are not repaired automatically.
Before deploying this change, update clients and inventory templates to send nvosInterfaces entries with macAddress and select the primary (eth0) port with isPrimary: true. REST defaults the first entry to primary if none is marked; a single port is always primary. For example, the port field can be:
The deprecated nvosMacAddresses request field remains accepted but ignored regardless of its JSON value; it does not satisfy the new requirement. This also breaks clients that relied on that field to configure ports. Sending both fields is allowed, but only nvosInterfaces takes effect. PATCH requests may omit nvosInterfaces to preserve stored ports; an explicit empty array is rejected.
Client and inventory-file migration
Update automation that uses the old NVOS names:
The CLI replacement file uses snake_case, not the REST API’s camelCase. Its top-level object contains an expected_switches array. Each entry requires bmc_mac_address, bmc_username, bmc_password, switch_serial_number, and a non-empty nvos_interfaces array. For example:
Protect this file because it contains credentials. is_primary defaults to false; if no entry is marked, the CLI selects the first port. More than one marked primary is rejected. The optional top-level expected_switches_count must equal the array length when supplied. Replacement removes records omitted from the file; {"expected_switches": []} clears the entire expected-switch inventory.
DPF provisioning: Site Explorer suppression
PR #7775 pauses periodic Site Explorer scans during DPF provisioning. Report-refresh requests are saved and return the cached report marked as pending. Periodic scans and queued refreshes run after all Site Explorer suppressions are cleared. Re-exploration requests are rejected rather than queued; operators must retry them after suppression clears.
Upgrade compatibility
Older nico-api binaries cannot decode suppression rows with source dpf_provisioning. While these rows exist, an older replica fails its Site Explorer suppression read and cannot complete exploration cycles.
Upgrade every nico-api replica before starting DPF provisioning. At sites already using DPF, plan an API maintenance window: stop all old replicas before starting updated replicas. The default rolling update can overlap old and new binaries and does not meet this requirement.
When upgrading from a version without this feature, machines already provisioning are not retroactively suppressed. Suppression is created when a managed host transitions from having no DPU in WaitingForReady or HandleReboot to having at least one DPU in either state. Existing suppression rows remain effective across restarts.
Downgrading to a binary without DPF suppression support
Stop all updated nico-api replicas first, so their controllers cannot recreate the suppression rows. Then run this statement against the NICo Core database before starting older replicas:
This preserves suppression rows owned by other workflows. Removing these rows clears the DPF exploration pause; it does not stop provisioning by the DPF operator.
NVLink partitioning configuration defaults
NVLink partitioning remains opt-in, but a site deployed with the nico-api Helm chart now needs only nvlink_config.enabled = true. When the NMX-C TLS keys are unset, nico-api uses the client certificate that the chart mounts at /var/run/secrets/nvswitch-client, ca.crt from that Secret or else /var/run/secrets/nico-roots/ca.crt, and initial_domain_name as the TLS authority. For the authority default to work, initial_domain_name must match a DNS SAN of the certificate NMX-C presents; on RMS-managed switches that is RMS’s apiServer.dnsDomain.
Before upgrading
nvlink_config.nmx_c_certificate_rotation.enabled previously defaulted to false. When it is unset, it now follows nvlink_config.enabled. A site that already sets nvlink_config.enabled = true without setting nmx_c_certificate_rotation.enabled starts the NMX-C certificate monitor after upgrading, and the monitor can request full-rack ConfigureNmxCluster maintenance when a served certificate enters its rotation window. To keep the previous behavior, set nvlink_config.nmx_c_certificate_rotation.enabled = false before upgrading.
The nico-api chart now enables nvSwitchTls.nicoClient by default and mounts its Secret into the nico-api Pod, so the Pod does not start until cert-manager issues the certificate. The certificate uses nvSwitchTls.issuerRef, which now defaults to global.certificate.issuerRef. The issuer and any cert-manager approver policy must allow the client auth usage and the URI SAN spiffe://<global.spiffe.trustDomain>/<namespace>/sa/nico-nmxc. To skip the certificate, set nico-api.nvSwitchTls.nicoClient.enabled: false.
REST API compatibility exception
The Site capability nvLinkPartition is now owned by Site configuration inventory, like flow and vpcSlaac:
PATCH /v2/org/{org}/nico/site/{siteId}rejectscapabilities.nvLinkPartitionwith HTTP 400. Remove the field from Site update requests. It is no longer part ofSiteCapabilitiesUpdateRequestin the OpenAPI spec or the Go SDK.- Core reports its effective
nvlink_config.enabledsetting, and the REST service copies it into the Site’snvLinkPartitioncapability on each Site configuration inventory. An older Core that does not report the setting leaves the stored value unchanged, so existing Sites keep their current value. - New Sites start with
nvLinkPartition = falseuntil their Core reports the setting. A new Site managed by a Core without this change staysfalse, so NVLink logical partitions and VPC NVLink settings are rejected until Core is upgraded.
NVLink configuration changes
Enabling NVLink partitioning on a rack with running instances removes the NMX-C default partition on the first monitor pass, so those instances lose NVLink connectivity until tenants configure NVLink partitions through NICo.
KMIP KEK provider
nico-api can wrap the data-encryption keys of its PostgreSQL credential store with a key held in a KMIP 1.4 server, as an alternative to Vault/OpenBao Transit. A kmip provider under [secrets.kms.providers] names the server endpoint, the mutual-TLS files, and the server key behind each kek_id. The key never leaves the server: nico-api sends only the per-record key to the server’s Encrypt and Decrypt operations, and at startup it verifies the protocol version, the operations, each key’s state and attributes, and a wrap and unwrap round trip. Rotation and migration from Transit use the existing routing and nico-admin-cli secrets re-wrap flow. No KMIP server product is qualified yet; qualification is tracked in issue #8658. Refer to KMIP KEK Provider.
New and changed configuration
Vault-free installation
Running helm-prereqs/setup.sh --skip-vault, or setting NICO_SKIP_VAULT=true, installs a site without HashiCorp Vault. Vault stays the default, and a site that installs it sees no change. The flag skips the Vault install and unseal phases, renders the nico-prereqs chart without its Vault resources, and deploys NICo Core, RMS, Flow, and the site-agent with certificates from the site-issuer ClusterIssuer, a cert-manager CA issuer backed by the same site-root CA that Vault PKI signs with.
For Core it pins global.certificate.issuerRef to name site-issuer, kind ClusterIssuer, and group cert-manager.io, so a values file that selected a namespaced Issuer cannot reference a non-existent Issuer/site-issuer, and sets global.certificate.useCertManager=true, global.certificate.useCertManagerUfm=true, and nico-api.vault.enabled=false, so nico-api requests machine and UFM certificates through cert-manager and starts without Vault connection settings. Flow, the site-agent, and RMS (under certificates.issuerRef) get the same pinned name, kind, and group.
The site config must keep credentials in Postgres: [secrets] with no vault backend, writer, or import source, and no Transit KEK provider; the integrated KEK provider requires separate production qualification, and no KMIP server product is qualified yet (#8658). Preflight checks the Core values against that contract, with the full list of rules in Installing without Vault, and names the field in each error; it warns when a Vault StatefulSet is still running, and it reports an error while legacy PSM/NSM hook resources exist, because their cleanup needs Vault. These errors stop setup.sh even with --ignore-preflight-errors. The check needs Python 3.11 or later, or the tomli package.
On a site that runs Vault, the flag is a configuration change that requires the credential migration first, and it never uninstalls Vault. While any consumer still references Vault (a Deployment in nico-system whose environment has VAULT_ADDR, or a cert-manager Certificate issued by vault-nico-issuer), the run keeps the nico-prereqs Vault resources and re-syncs the release without them at the end of the run, after no consumer remains; a partial run (--skip-core, --skip-rest, --skip-rms, or a declined Core deployment) keeps them and lists the remaining consumers, and preflight warns up front, naming the consumers the run will not redeploy. The flag is passed on every later run of such a site, and --install-vault rolls back, overriding NICO_SKIP_VAULT=true from the environment. Refer to Installing without Vault.