This content is available in English.
Native backup lifetime and long-transfer acceptance
Vesta 6.0.64 gives each new KubeVirt transaction a configurable, immutable native
lifetime. This corrects 6.0.62: that release removed the runner's default timeout,
but its VirtualMachineBackup and finalizer still imposed two hours. The setting
KUBEVIRT_TRANSACTION_TIMEOUT_SECONDS=0 alone never removed the native limit.
From 6.0.68 these values are ceilings for new work. The actual native window is derived from selected capacity, planning throughput and configured coefficients, with separate preparation/progress/closure budgets. Follow backup safety for scratch admission, application probes and exhaustion behavior. Existing attempts retain their original contract.
Configure a supported window before creating an attempt
The accepted site.json supports these installation settings. The kit renders
them into the agent Deployment; the backend/UI cannot change them by heartbeat.
| Site setting | Agent environment | Default | Bounds |
|---|---|---|---|
kubevirt_native_backup_ttl_seconds |
KUBEVIRT_NATIVE_BACKUP_TTL_SECONDS |
36000 (10 hours) | 3600–2592000 (1 hour–30 days) |
kubevirt_transaction_timeout_seconds |
KUBEVIRT_TRANSACTION_TIMEOUT_SECONDS |
0 | 0–native TTL; 0 disables only the additional runner deadline |
For example, the default site fragment is:
{
"kubevirt_native_backup_ttl_seconds": 36000,
"kubevirt_transaction_timeout_seconds": 0
}
Change these settings through a quiesced agent deployment using the accepted site
and the current kit's render.py --stage agent, retaining the original namespace,
identity, credentials, journal and scratch. Review the rendered environment and
follow the application upgrade procedure. The narrower
reconfigure.py hostname/scope transaction rejects lifetime-setting changes.
Changing configuration affects new attempts; it cannot extend an existing one.
KubeVirt 1.8.4 counts VMB TTL from its API-server creation timestamp and gives the
export the remaining duration. The exporter also has a process DEADLINE for
certificate rotation. Bare KubeVirt's defaults give a 19-hour-12-minute window
(24 hours minus 20%), but HCO can supply different settings. The local HCO 1.18.1
installation supplies a 24-hour duration and 12-hour renewal interval, giving an
actual 12-hour exporter window. Vesta's 10-hour default leaves headroom below it.
A site with shorter certificate settings may require a shorter TTL.
Before creating the first attempt, inspect the actual KubeVirt CR, including
the exact JSON field certificateRotateStrategy:
oc get kubevirt -A
oc -n KUBEVIRT_NAMESPACE get kubevirt KUBEVIRT_NAME \
-o jsonpath='{.spec.certificateRotateStrategy.selfSigned.server}{"\n"}'
Replace the two placeholders with that installation's resource identity. Subtract
renewBefore from duration and keep the selected native TTL below the resulting
window with startup headroom. An absent field is not proof of a default: check the
installed operator/version policy. The live exporter deadline remains authoritative.
Do not use the nonexistent JSON field certificateRotationStrategy or infer the
effective settings from an empty HCO field.
For a longer window, first have the cluster owner review its KubeVirt/HCO
certificate rotation policy. Raising Vesta's TTL alone cannot extend the original
exporter process. Vesta validates the export TTL and actual pod DEADLINE before
reading source data, resolving the encryption key or starting multipart uploads.
An exporter that cannot cover the configured window is retained for review before
payload production. Vesta never adjusts cluster certificate policy automatically
or adopts a replacement exporter pod. The native objects may already exist at
this refusal point; preserve their custody for the ordinary recovery procedure.
Exact deadline and recovery behavior
The journal records the TTL and optional transaction timeout before native creation, then binds the original VMB creation timestamp with its successful create response. The optional transaction timeout starts at native preparation; the runner may cancel earlier if its process budget was already consumed. Source/S3 streaming stops at the earliest of the original VMB expiry, pinned transaction deadline, export expiry and exporter process deadline. Individual network-operation deadlines and shutdown cancellation continue to apply.
Every read/upload boundary and original-object finalization retains owner, UID, source/checkpoint and expiry checks. Restart or a changed configuration cannot renew these timestamps. Durable terminal success observed before expiry can still finish its original publication after the controller removes the native object; absence or expiry alone is never completion evidence.
Existing journals without the lifetime extension keep their original two-hour policy and checksum. Held attempts remain held. Do not patch a live VMB's immutable spec, edit a journal, release old capacity, clear a tracker or repeat multipart production as part of this upgrade. Use interrupted-attempt handling. Agents at 6.0.62 or older cannot read newly extended journals; keep the new binary and recovery material after creating new work, or review journal compatibility before any rollback. The 6.0.64 lifetime change added no database migration beyond 6.0.62's schema. Follow the current upgrade procedure for the matching kit's schema prerequisites and migrations.
Customer Ceph/Block acceptance
Source tests advance a controllable clock across the old cutoff, test native preparation and recovery, separate publication from producer deadlines, and refuse expiry and insufficient exporter windows. Those tests and local NFS acceptance do not establish long Ceph/Block behavior. The customer performs that qualification using the delivered images and an authorized disposable VM:
- Record the kit checksum, all image digests, KubeVirt/HCO version, storage class and Block volume mode, selected TTL and certificate rotation policy. Preserve recovery material and ensure earlier attempts have been reviewed separately.
- Choose a representative dense payload and measured storage path so the same transfer remains active across two hours. Estimate duration from acknowledged payload bytes and measured pace, leaving time for preparation and publication inside all deadlines. Disk capacity is not the transferred size for sparse data.
- Record the new backup/reservation IDs, original VMB/export/pod UIDs, VMB
creation/TTL, export remaining TTL and exporter
DEADLINE. Keep observations read-only; do not change clocks, native TTLs, journals or source trackers. - Observe increasing durably acknowledged bytes in the API/UI before and after two hours. Take aggregate metrics snapshots over the same interval. Separate Kubernetes throttle/API, validation, source, journal, backend and S3 timing; nested/concurrent histogram sums are not elapsed wall time.
- Require normal receipt acceptance, original-object terminal evidence, checkpoint proof and committed publication. A ready exporter, 100% uploaded bytes or S3 objects alone are insufficient. Restore to a fresh authorized destination and compare known guest-data hashes.
- Retain the measured duration, effective deadlines, progress and publication/ restore results. If interrupted, retain the original attempt's custody and report the failing boundary; do not repeat it to manufacture a passing record.
Primary upstream references: immutable VMB spec and TTL, backup/export lifetime propagation, exporter process deadline, and certificate defaults. These are reference links; the installed product and this procedure require no Internet connection.