Skip to navigation

Config Manager 1.4.3

Adds an offline installer and deployment test runs, and improves service restarts, workflow recovery, inventory access, and upgrade behavior.

Changes since 1.4.2. View the GitHub release.

Added

  • Added a standalone integration-test command for an existing deployment: nvcm-installer test install.yaml. It runs the tests bundled in the deployed image without redeploying. The runner requires bundled Nautobot and a ready ZTP SFTP container. SSO deployments can use Keycloak client credentials or a supplied access-token file. Review the test prerequisites for topology and gateway hostname assumptions before running the suite.
  • Added a standalone offline installer archive for Linux and macOS on AMD64 and ARM64. The archive bundles Python and dependency wheels, so it can bootstrap without internet access or a system Python installation. Stage the Helm chart and container images separately.
  • Added Kea DHCPv4 thread and queue controls through networkDhcp.kea.multiThreading and installer dhcp.kea_multi_threading. CPU-based sizing rounds the DHCP container’s CPU request up to at least one thread. Explicit thread and queue sizes are also supported. Defaults retain Kea’s automatic thread count and 64-packet queue; CPU-based sizing and an explicit thread count cannot be combined.
  • Added oidc.proxy.cookieRefresh to configure request-driven OIDC session refresh. The default remains "1h". Set an interval shorter than the forwarded ID token’s lifetime; refresh also depends on the identity provider and does not extend token lifetimes.

Changed

  • Long-lived services restart 30 to 150 seconds after a change to a setting in the mounted nv-config-manager.ini, so changes such as credential rotation take effect. Watching containers in a pod aim to restart together. The watcher logs only the names of settings that changed. Changes to comments, whitespace, or ordering leave the service running, as does restoring a value before the delay expires. If the file cannot be parsed, the watcher logs an error and leaves the process running. A process that does not exit within 30 seconds of the restart request is stopped. The DHCP API reads settings on each request and restarts only when dhcp.cors_origins changes.
  • API services allow up to 25 seconds for open requests to finish after SIGTERM. DHCP refresh and sync loops and the Config Store cache refresh service also stop promptly on SIGTERM.
  • Render consumers stop fetching on shutdown and give in-flight messages up to 25 seconds to finish and acknowledge their messages before closing the NATS connection.
  • The Config Manager Temporal worker stops taking new tasks on SIGTERM and gives running activities 25 seconds to finish before cancelling them.
  • Stable image publishing advances the major.minor-latest alias for its minor series in configured registries. An older maintenance release can advance its minor alias independently of the global latest alias. Release candidates and stale patches cannot move either alias backward.
  • Cable-status persistence hands each device’s full change set to bulk-capable DCIM providers. The Nautobot plugin uses two concurrent updates and one GraphQL interface-to-cable lookup per device, filtered to requested names. It reads cable statuses live before deciding what to write and saves valid matches even when some records are malformed. Full-device persistence now allows one hour per attempt, up from 15 minutes, with up to three attempts and a two-minute heartbeat timeout to detect lost workers. Providers that use the single-update API still run up to ten writes concurrently. REST GETs retry transient connection failures, timeouts, and HTTP 502, 503, and 504 once with jittered backoff. TLS verification failures are excluded. New standalone device cable validations can retry transient persistence failures manually without collecting device tables again. Site child workflows still fail promptly, and existing histories retain their original behavior on replay.
  • Bundled Nautobot assigns the MCP read-only token to the dedicated nvcm-mcp-read-only inventory account. Before upgrading, set readOnlyToken for existing bundled deployments and ensure NAUTOBOT_READ_ONLY_API_TOKEN differs from the admin token. If the token already belongs to a different Nautobot user, the run-migrations init container stops. Prefer a fresh token of exactly 40 lowercase hexadecimal characters, wait for the Secret to synchronize, then rerun migrations. Registration removes other tokens owned by the inventory account. Update affected clients and reload the MCP server configuration. Reassign an existing token only if it is dedicated to MCP and the inventory account exists. Initialization disables writes and restricts that account to inventory. The installer generates a separate token for bundled Nautobot. External Nautobot requires a separately provisioned view-only account and token for inventory tools without sign-in. Follow the inventory credential upgrade steps.
  • Cable validation now allows five minutes per ARP collection attempt, up from two, to accommodate switches with large interface inventories and slow NVUE responses. New site validations allow thirty minutes per device, up from ten, so the ARP retries and remaining validation stages fit within the child workflow deadline. Already-started child workflows keep their existing deadline.
  • A render consumer whose NATS fetches keep failing now exits, and Kubernetes restarts the container, once no round trip to NATS has completed for CONSUMER_LIVENESS_TIMEOUT_SECONDS (default 600). Before, it kept retrying on a connection that was not coming back while the pod stayed Running. Expect a container restart where a consumer used to stall. The render consumers also export progress metrics for stalls the exit cannot catch, such as a handler that never returns. Refer to Render service.
  • Kubernetes restarts the Temporal archive pod when neither the durable consumer nor the pod makes progress for CONSUMER_LIVENESS_TIMEOUT_SECONDS (default 600). A pod still receiving and retrying messages during a backend outage keeps running. If the durable consumer is deleted while the service runs, the service re-creates it using the last acknowledged message as its checkpoint. The archive pod exposes consumer progress metrics on temporal.archive.metricsPort (default 8000). A PodMonitor scrapes them when monitoring.podMonitors.enabled and temporal.archive.enabled are set.
  • Retryable failed workflow stages now wait for a manual retry for a configurable window (three hours by default) after automatic activity or child retries are exhausted, instead of indefinitely. An unanswered retry wait closes the workflow as Failed with a non-retryable StageRetryTimeout cause. The durable timer survives worker restarts and does not limit healthy work or approval waits. Existing histories that already took the indefinite failure-wait path retain it for replay compatibility.
  • Helm temporal.configManagerWorker.failedStageRetryTimeoutSeconds configures the failed-stage manual retry window in positive integer seconds (default 10,800, maximum 31,536,000, or 365 days). The chart renders this setting for every secrets method. New workflow histories and schedule actions record the value so replay and child runs preserve it across restarts and configuration changes. Recreate existing schedules to apply a changed retry window. An unset key, such as after helm upgrade --reuse-values from an earlier release, renders the default. Installer deployments set it with temporal.failed_stage_retry_timeout_seconds in nv-config-manager-install.yaml. Refer to Failed-stage retry window.
  • The Config Manager Temporal worker now serves its Temporal SDK metrics on a Prometheus endpoint, scraped by a new PodMonitor, whenever monitoring.enabled and monitoring.podMonitors.enabled are set. Series now carry the pod’s Kubernetes namespace label, so workflow results can be separated per deployment. The SDK’s Temporal namespace label becomes exported_namespace; update selectors and grouping that identify a Temporal namespace. These metrics no longer use OTLP. Their job label changes from nv-config-manager-temporal-worker to the PodMonitor’s <namespace>/<worker deployment name>. Update dashboards and alerts that match the old job. The scraped endpoint adds no unit suffix. If your OTLP collector adds one, as bundled Alloy does, the _milliseconds part disappears from the corresponding metric names, such as temporal_request_latency_milliseconds_*. Duration values remain in milliseconds. Refer to Temporal worker metrics.
  • CNPG clusters now accept cnpg.<cluster>.affinity.podAntiAffinityType (preferred or required). The chart defaults now set enablePodAntiAffinity: true and podAntiAffinityType: preferred, which match the scheduling CloudNativePG already applied when they were unset.
  • The Config Manager Temporal worker’s sticky workflow cache now defaults to 200 entries, compared with the Temporal SDK default of 1,000. It runs at most 10 workflow tasks concurrently, compared with the SDK default of 100. These limits bound the memory retained by cached runs and queue workflow bursts to reduce workflow task timeouts. Both limits are set in the new [temporal.worker] INI section (max_cached_workflows, max_concurrent_workflow_tasks), which the Helm chart renders from temporal.configManagerWorker.maxCachedWorkflows and maxConcurrentWorkflowTasks. Invalid values fail worker startup.
  • nv_config_manager_nautobot_change_message_end_to_end_time gains buckets at 900, 1,200, 1,800, 2,700, 3,600, and 7,200 seconds. The metric includes queue wait, which can exceed ten minutes when one change affects many devices. The previous 600-second top bucket grouped longer waits in +Inf. Existing bucket boundaries are unchanged, so queries on them keep working.
  • nv_config_manager_workflows.workflows now imports each exported name from its defining module when the name is accessed. Importing one workflow module no longer imports all of them, so each workflow run’s sandbox re-imports only the modules that run uses instead of all 29 workflow modules. The package’s public names are unchanged.
  • The bundled Nautobot image no longer includes nautobot_firewall_models. Deployments that used the app must review their firewall data and plan its retention or cleanup before upgrading. Removing the app does not provide a migration to a replacement firewall model.
  • New render consumers use a default delivery limit of 20. Retryable handler failures and device-lock contention count toward that limit; a message that still fails on its final allowed delivery is logged and terminated. Existing NATS durables retain their own max_deliver, including -1 for unlimited retries. Review externally managed consumers and the delivery-limit guidance.
  • Workflow archive writes now retain their backlog in JetStream while the backend is unavailable, with at most two concurrent writes. New archive consumers default to 288 deliveries with five-minute retry delays. Permanently rejected records and records still failing at the durable’s delivery limit are logged and discarded. Existing durables retain their configured limits; review the archive consumer settings.

Fixed

  • Switch OS upgrades keep polling during temporary device outages so transport retries no longer stall the workflow heartbeat. Image verification polls for up to 55 minutes per attempt, with up to two attempts and a one-hour activity timeout per attempt.
  • The Nautobot NATS initialization job supports stream limits above 2 GiB by formatting them in exact whole units for the NATS CLI. Helm rejects limits the CLI cannot represent exactly and suggests a supported value.
  • A workflow reports completion and logs a warning if publishing its result to NATS still fails after three attempts.
  • The DHCP config refresh keeps Kea on its last good configuration when the DCIM times out, is unreachable, or returns a server error. The refresh skips that cycle and retries at the next interval. Skips increment nv_config_manager_dhcp_query_errors_total{error_type="unavailable"}, and a sustained outage stops cache_last_refresh_timestamp from advancing. Client errors and validation failures still restart the container, and one-shot refreshes still fail.
  • Backup stages in deployment, tenant deployment, password rotation, OS upgrade, NVLink firmware upgrade, and reprovisioning now await the backup child’s result so failures and timeouts reach stage failure handling. Previously a failed or timed-out backup was reported as backed up and the workflow continued. These workflows now stop at the backup stage even if the configuration change already took effect. Retry the stage to start a new backup. Without a retry, the workflow closes as Failed after the failed-stage retry window. A backup child can retry its stage until the failed-stage retry window or its 10-minute run timeout expires, whichever comes first. The parent then reports a failure or timeout. Refer to the backup workflow’s page for the underlying error. Histories that already used the old child-completion check retain that path for replay compatibility.
  • Workflow API approve, reject, and retry requests now return 409 Conflict with the status if the workflow closes before the signal arrives. They return 404 if the workflow no longer exists. Previously, an unhandled signal error could return 500 when a workflow closed before the signal arrived. The UI hides Retry after a failed stage’s workflow closes. On a 409 response, it reports that the workflow is no longer running and refreshes the workflow.
  • cnpg.<cluster>.affinity.enablePodAntiAffinity: false now disables pod anti-affinity on the CNPG Cluster. The chart previously dropped false, and CloudNativePG then enabled preferred anti-affinity by default. Deployments that set false, including the values-local-small.yaml and values-local-medium.yaml profiles, will see their database pods’ scheduling rules change on upgrade (#406).
  • localDev.mockDevices now takes effect with secrets.method: eso and secrets.method: vault-agent. Before, only secrets.method: kubernetes rendered mock = true in the [device] section, so the other methods silently kept real device connections.
  • With secrets.method: vault-agent, pods now carry a checksum/vault-agent-ini annotation, so a change to the rendered nv-config-manager.ini template rolls them. Before, the injector kept serving the old template until pods restarted.
  • The Temporal worker no longer re-imports pydantic and the shared workflow libraries in the sandbox for every workflow run. This cuts the per-run startup CPU and per-run memory that contributed to workflow task timeouts, deadlock errors, and OOMKills during large fan-outs such as site cable validation. Every built-in workflow module imports dependencies other than the standard library and temporalio inside its workflow.unsafe.imports_passed_through() block. A test enforces this pattern. The workflows package README documents it for plugin workflows. The worker also passes through annotated_types, which Pydantic imports lazily after those blocks have closed.
  • workflow-cli now sends the default of a list option as a list when the option is omitted. Previously, it split the default’s text on commas, producing values such as ["['Active'", "'Provisioned']"] for --status. Commands such as site-cable-validation then failed at the first stage unless you supplied every list option explicitly.
  • Helm now rejects CNPG backup configurations with an unsupported destination or missing S3 bucket or path. When enabling backups, set cnpg.backup.destinationType: s3, cnpg.backup.s3.bucket, and cnpg.backup.s3.path. Backup-credential ExternalSecrets now follow the backup settings of enabled clusters, including Nautobot, instead of the unused cnpg.backup.enabled value.
  • Cumulus neighbor discovery now collects IPv4 and IPv6 neighbors through the split NVUE endpoints on Cumulus Linux 5.15 and later, while retaining the legacy endpoint for earlier versions. Missing data for one address family no longer discards the other family’s neighbors.
  • Render queue claims are atomic, preventing concurrent producers from publishing duplicate render requests or clearing another producer’s queued flag after a failed publish.
  • Helm and Argo CD run the template updater after Config Store migrations, so template loading no longer races database initialization.
  • AIR deployment checks now use the Temporal bootstrap image’s CLI to verify search attributes. Failed checks retain their diagnostics, and workers restart only when a successful check confirms missing attributes.
  • The ZTP SFTP server offers ECDSA as well as RSA host keys, allowing Cumulus clients without RSA SHA-2 support to negotiate a host key after the Paramiko dependency update.
  • Helm renders temporal.dynamicConfig in Temporal’s native key-to-values mapping format, preserving configured values and namespace constraints.

Security

  • Config Manager 1.2.x no longer receives security updates. Upgrade to a supported series, 1.3.x or 1.4.x, to continue receiving security updates.
  • Updated Python, Go, installer, UI, and runtime-image dependencies to incorporate security fixes. Bundled oauth2-proxy is now 7.15.6 and the Stork agent is 2.6.0. SSH dependencies require Paramiko 5.0.1 or later.
  • Updated the Temporal Web UI’s Markdown dependency and preserved the Nautobot runtime image’s patched zlib library instead of replacing it with the builder’s copy.
  • Updated Temporal Web UI to 2.58.1, Next.js to 15.5.29, and graphql-core to 3.2.14. The Temporal Web UI server build now uses golang.org/x/net 0.63.0.
Review Workflow Upgrade Settings