QvDC A/B system slots and pairs
A QvDC appliance with A/B slots keeps two copies of its operating system on its disk, slot A and slot B. One of them runs. A system image update writes the other one, so the running system is never touched while the update is installed, and the appliance tries the new system on its next boot. If that system does not prove itself healthy, the appliance returns to the one it ran before, by itself.
This page explains how that works, how to get an appliance with A/B slots, and what each screen and refusal means. The step-by-step update instructions for a single appliance are in Update the QvDC system image.
How an A/B update works
- Write. QvDC downloads the system image of a release, checks that Quantix signed it, and writes it into the slot that is not running. An image that is not signed by Quantix is refused before anything is written.
- Reboot. You choose when the appliance restarts. The next boot is a trial boot of the new slot.
- Prove. The new system has 10 minutes to start the control plane and serve the dashboard. On a pair member it must also be back in its pair role. A pair member that is rebuilding its copy of the database gets up to about an hour for that. If the new system passes, the slot is marked healthy (proven) and stays.
- Fall back. If it does not, the appliance restarts into the slot it ran before. The System image card then says which version failed and why.
A slot that never proved itself is never used as a rollback target, because it would boot with nothing to fall back to.
What both slots share
Both slots use the same data partition, so a slot change keeps:
- the database, etcd and the appliance configuration, and on a pair member its pair state;
- the appliance's identity: hostname, network settings, SSH host keys, the passwords of local accounts and the web server settings;
- components installed by a regular QvDC update (Install on QvDC). A slot runs such a component instead of its own copy only when the component is at least as new as the image.
A system image update runs no database migrations, so the database schema is the same on both slots, and going back to the previous slot is safe.
What a slot change does not keep
- Changes made by hand to system files. Every slot boots its system read-only. Anything changed outside the settings listed above is gone after the next restart. Make every change through the dashboard or the console menu.
- The appliance's local log files. They start empty on every boot. If you need them for Quantix support, collect them before you restart the appliance.
Get an appliance with A/B slots
Install a new appliance
Every current installer ISO and appliance image (QCOW2) installs with A/B slots: an EFI partition, two 10 GiB system slots and a data partition from the rest of the disk. Slot A holds the installed system; slot B stays empty until the first system image update.
- Deploy QvDC on a QHCI host (QCOW2). Follow Deploy QvDC on a QHCI host. The appliance image is 40 GB, so keep the default 40 GB or choose a larger size. With Custom size, enter 40 GB or more.
- Install from the ISO. Follow Install from the ISO. The disk must be at least 25 GiB; the installer does not offer a smaller disk.
Expected result: after Initial Setup, Admin Panel → System → Updates shows the Operating system (A/B system image) card with the badge A/B ready and Running slot A.
Convert an existing appliance with Prepare A/B
An appliance installed before A/B slots has one system partition. Its System image card shows Not prepared for A/B and a Prepare A/B button. Prepare A/B adds the two slots at the end of the disk and installs the A/B boot loader. It leaves the old system partition as it is: the appliance keeps running it, and it stays available as the original system (legacy root), a last-resort boot entry and rollback target.
Before you start, you need:
| Item | Requirement |
|---|---|
| Backup | A configuration backup taken just before you start, because Prepare A/B rewrites the partition table of the running disk. Prepare A/B refuses when no backup is set up, but it does not check that the last backup succeeded. |
| Disk | 21 GiB of free space at the end of the appliance's disk: two 10 GiB slots and a small margin. The Prepare A/B preview names the exact size the disk needs. |
| Version | The newest Quantix-vDC update installed. An older appliance lacks part of Prepare A/B and says so. |
Resize and prepare without a restart in between
While the disk has no slots, the appliance gives any free space at the end of its disk to its data partition when it starts. If it restarts between the resize and Prepare A/B, the new space is gone and you have to grow the disk again. Do steps 2 to 4 while the appliance keeps running.
- Click Back up now under Admin Panel → System → Backup & recovery. If the page says protection is not set up, set it up first. Wait until Last successful backup shows the backup you just started.
- In Admin Panel → System → Updates, click Prepare A/B on the System image card. If the preview says the disk is too small, it names the appliance's virtual machine, its host and the size the disk needs. Click Cancel.
- Without restarting the appliance, open its virtual machine in QvDC, then Storage → Resize, and grow the disk to at least that size. If the appliance runs on another hypervisor, grow its disk there while it runs. On a physical server the disk cannot grow: install a new appliance from current media and restore your backup, or contact Quantix support.
- Click Prepare A/B again. The preview lists what it will do and any remaining blocker. Click Prepare A/B in the dialog.
Expected result: the card shows A/B ready. The appliance still runs the original system (legacy root), and both slots are empty until the first system image update writes slot A. Nothing switches until you apply an image and reboot. If Prepare A/B stops half way, for example because of a power cut, the appliance still starts its current system: run Prepare A/B again to finish. If the restart came before Prepare A/B created the slots, the preview says the disk is too small again; see the first row under Troubleshooting.
An appliance that is a member of an Active/Passive pair cannot be converted with Prepare A/B. See Pairs built before A/B slots.
Check an appliance from its virtual machine
To see whether an appliance is up and healthy without opening the update screens, open Virtual Machines, select the QvDC appliance's virtual machine, and click the QvDC Status tab. On a pair, every member's virtual machine (qvdc-a, qvdc-b and qvdc-w) has the tab. Other virtual machines do not, and neither does a user without the system:config permission.
The tab is read-only. It shows:
- A verdict at the top. All available and working appears only when every check passed: no failed or pending trial boot, no staged change, and on a pair every member healthy and reporting, no member in a failed or running trial boot, and no pair upgrade in progress. Otherwise the tab lists what is wrong, worst first. The verdict covers the whole pair, so it is the same on the tab of
qvdc-a,qvdc-bandqvdc-w. While a pair upgrade is open the tab warns that an upgrade to the release is in progress; a step of that upgrade that failed is an error, and a step blocked by something other than the order of steps (the release is not served) is a warning, each with its reason. A state the dashboard could not read is shown as unknown, never as healthy. If a read fails after the tab has opened, the tab stays and says System image: could not be read. While the tab is still reading where the virtual machines run, the verdict says Reading…. - A/B system image: the layout, the booted slot and its system image version, the Quantix-vDC version that runs on it, the other slot (its system image version, or empty, and whether it was ever confirmed healthy), the trial boot, a staged change waiting for a reboot, the last failed trial boot and the rollback target with its system image version. An appliance installed before A/B slots says Not prepared for A/B updates.
- A/B/W pair: Single appliance, no pair. on a single appliance, followed by Runs on and the host its virtual machine runs on. On a pair, one box per member, the witness first, with its role (Leader, Standby or Witness), the host it runs on, its booted and other slot with their system image versions, and its health. The box of the virtual machine you are looking at is marked This VM. A member that stopped reporting shows Not reporting for … (or Has never reported) and counts as an error, because it may be down.
The host comes from the inventory, matched by the virtual machine's id. A host that is not reporting is marked as a warning. If the virtual machine is not in the inventory, or you cannot see it, the box says Host unknown. When the witness runs on the same host as a data member, or both data members share a host, the tab warns that losing that host loses the pair's majority: move one of them to another host.
Manage updates opens Admin Panel → System → Updates, where the actions are.
Update and roll back a single appliance
The Operating system (A/B system image) card in Admin Panel → System → Updates opens with one line on what A/B does: the appliance keeps two copies of its operating system, an update installs into the spare copy while the running one keeps running, a restart switches over, and if the new copy does not come up healthy the appliance switches back by itself. A/B updates still need that restart; only an A/B/W pair keeps the control plane up through an update. Below that line the card shows:
- two slot tiles, Slot A and Slot B. The running one is highlighted and marked Running; the other is the Spare. Each tile shows its OS version, and the spare also shows Confirmed healthy · rollback target, Never confirmed healthy or Empty;
- Quantix-vDC software and its version. The vDC software (control plane, dashboard, migrations) updates without rebooting the appliance, so it can be newer than the system image. When the two differ the card says so and explains that the system image changes only when one is applied;
- System image vX is available (signed) when a release carries an image;
- three steps of an image update, with the current one highlighted: Install into the spare slot (no interruption), Restart into it (control plane offline a few minutes, VMs keep running) and Health check (automatic switch back if it fails);
- a notice while a trial boot is armed or running, and after one failed.
Each button opens a dialog with What happens and What it means and any blocker in red. Nothing changes until you click the confirm button in the dialog:
| Card button | Confirm button in the dialog | What it does |
|---|---|---|
| Prepare A/B | Prepare A/B | Adds the two slots and the A/B boot loader. |
| Install vX into slot B (or slot A) | Apply system image | Writes the offered image into the spare slot and arms a trial boot. Nothing is interrupted, and nothing switches until a restart. |
| Restart into slot B (or slot A) | Reboot into the staged system | Restarts the appliance into the staged slot. The dashboard, API and MCP are away for a few minutes; virtual machines on your hosts keep running. |
| Roll back to slot A (OS vX) (or slot B, or the original system) | Roll back the system image | Points the boot loader at the proven system; it runs after Restart into …. |
Each button has a short line under it saying what it interrupts. A button that cannot be used now is greyed out with the reason under it, for example Nothing is staged or A trial boot is in progress. The receipt in the dialog shows an operation id; the same operation is listed in the activity log.
The full procedure, with expected results, is in Update the QvDC system image.
An AI agent or script with an API key can ask for any of these actions. A person approves each request before anything changes; see Approve an update an agent asked for.
Upgrade an A/B/W pair
An Active/Passive QvDC pair is three appliances: two data members, qvdc-a and qvdc-b, and a witness, qvdc-w. One data member leads and serves the dashboard; the other is its standby and holds a synchronous copy of the database. The witness keeps the vote that decides which member leads. Quantix support sets up a pair with you.
A pair member cannot be updated like a single appliance. An update applied to the leader alone would leave the standby behind the database, and it could not take over. So the regular update buttons refuse on a pair member, and the system image moves only through the pair upgrade, one member at a time.
Before you start
- Every member was installed with A/B slots and runs a proven slot.
- All three members are healthy in their pair role. The panel shows In its pair role for each.
- A release with a signed system image is offered: click Check under Quantix-vDC Updates, or import an update bundle that carries one.
- Take a configuration backup with Back up now and check that Last successful backup shows it.
What you see
Sign in to the dashboard (it is served by the leader) and open Admin Panel → System → Updates. On a pair member the System image card shows the pair upgrade panel instead of the single-appliance buttons:
- one box per member with its role (Leader, Standby or Witness), Running with its slot and system image version, Other with the other slot's system image version and whether it is proven, and its health: In its pair role, Rebuilding its replica; the health check waits, No state for … when the member has stopped reporting, or Not healthy;
- the steps of the upgrade, in order, each with its state and, once it ran, its operation id.
The next step carries its button. Every button opens a dialog with What happens, What it means, any blocker, and Reason (recorded in the activity log). The step runs only after you confirm in the dialog.
The steps
The panel names the members of your pair. With qvdc-a leading at the start:
| Step | Button | What happens |
|---|---|---|
| Hold the pair and stage the release | Start the pair upgrade | Pins the release for the whole upgrade and checks that every member can take it. |
| Upgrade qvdc-w | Upgrade qvdc-w | The witness writes the image into its other slot and restarts into it. |
| Upgrade qvdc-b | Upgrade qvdc-b | The standby does the same and rejoins as the synchronous standby. |
| Promote qvdc-b | Promote qvdc-b | A planned switchover: qvdc-b becomes the leader and starts the new release, including its database migrations. The dashboard is away for a moment and comes back on qvdc-b. |
| Upgrade qvdc-a | Upgrade qvdc-a | The old leader, now the standby, upgrades and rejoins. |
| Convert the OVN schema (only if it changed) | Convert the OVN schema | Runs only when the release changes the network database schema. Otherwise it shows as skipped: not needed. |
| Release the hold | Release the hold | Ends the upgrade. |
Only one member changes at a time. While the standby is away, the leader keeps working without a synchronous copy. After a good boot the standby rebuilds its copy of the database before it counts as back. With a large database this can take up to about an hour, and its box shows Rebuilding its replica; the health check waits until it is done.
Expected result: every step shows done, each member's box shows Running with the new version and In its pair role, and the pair has its leader back on the dashboard.
Before and after the promotion
Before Promote, you can always go back. After an upgrade step, the panel offers Abort: return qvdc-b to its previous system (and the same for each member the upgrade changed). Abort returns those members to the slot they ran before, the standby first.
After Promote, the panel says whether you still can:
- The database schema does not change in this release, so each member can still return to its previous system after the promotion. Abort stays possible.
- This release adds database migrations … After the promotion the pair cannot return to vX. The promoted member applied them, so the pair can only go forward: finish the upgrade. Abort is refused with the same reason.
The promote dialog shows this before you confirm it. Until the standby has booted the new system, the panel says that whether the release moves the schema is not known yet.
If a member does not come back healthy
A member whose new system fails its health check returns to its previous system by itself, like a single appliance. The step turns red with … fell back to its previous system: followed by the reason, and Retry it, or abort the upgrade. Click Retry qvdc-b to try the same release again, or abort.
A member whose box shows Rebuilding its replica; the health check waits is up and still working. Leave it alone, even if this takes up to about an hour. Do not restart or power-cycle it: a restart during its trial boot sends it back to its previous system and throws the upgrade away.
Power-cycle a member only when the panel tells you to, with qvdc-b has not come back since its reboot. Power-cycle its VM from the host it runs on: its boot loader then returns to the previous system. Turn its virtual machine off and on from the QvDC dashboard or that host's Host UI. Quantix never does this for you.
Pairs built before A/B slots
A pair whose members were installed without A/B slots shows that a member has no A/B boot menu and cannot use the pair upgrade. Prepare A/B does not run on pair members. Contact Quantix support: such a pair is rebuilt from A/B media.
Why an action is refused
The dialog lists every blocker before you confirm. The API and MCP tools return the same blockers with the code in the first column.
Single appliance
| Code | What the dialog says | What to do |
|---|---|---|
NOT_PREPARED | This appliance is not prepared for A/B updates: run Prepare A/B first | Run Prepare A/B. |
DISK_TOO_SMALL | Extend this appliance's disk to at least N GiB in QvDC … then run Prepare A/B again | Resize the disk to that size while the appliance runs, then run Prepare A/B before it restarts. If it restarted in between, grow the disk again. |
BACKUP_NOT_CONFIGURED | No configuration backup is set up | Set up a backup under Admin Panel → System → Backup & recovery, click Back up now and wait for Last successful backup, then run Prepare A/B again. |
TOOLS_MISSING | This system lacks part of Prepare A/B | Install the latest Quantix-vDC update (Install on QvDC), then run Prepare A/B again. |
ALREADY_AB | This appliance is already prepared for A/B updates | Nothing to do: use Install vX into slot …. |
PAIR_MEMBER_ACTIVE | This appliance is a member of an Active/Passive pair | Pair members are not converted with Prepare A/B; see Pairs built before A/B slots. |
ESP_TOO_SMALL | The EFI partition has N MiB free | Contact Quantix support. |
LAYOUT_UNKNOWN | The disk … does not have the appliance layout Prepare A/B converts | The disk was changed outside Quantix, or this is not an installed appliance. Contact Quantix support. |
PERSIST_INCOMPLETE | The appliance's identity must be complete before its boot loader changes | Nothing was switched. Run Prepare A/B again; if it repeats, contact Quantix support. |
PREFLIGHT_FAILED | The Prepare A/B pre-flight did not pass and gave no reason | Nothing was changed. Run Prepare A/B again; if it repeats, contact Quantix support. |
PREPARE_UNFINISHED | Prepare A/B did not finish on this appliance: run Prepare A/B again | Prepare A/B was interrupted, for example by a power cut. Run Prepare A/B again (every step is safe to repeat), then Install vX into slot …. |
NO_IMAGE | No system image is on offer | Click Check, or import an update bundle that carries a system image. |
NOT_SIGNED | Only a release signed by the Quantix release key may replace the system | Use a release from the Quantix update server or the customer portal. |
INVALID_VERSION | The release's image version … cannot be recorded by the boot loader | The release is damaged or is not a Quantix release. Use a release from the Quantix update server or the customer portal; if it repeats, contact Quantix support. |
ALREADY_RUNNING | … already runs system image vX | Nothing to do. Applying it again would only overwrite your rollback target. |
IMAGE_OLDER_THAN_RUNNING | System image vX is older than the vY this appliance runs | Apply a system image of vY or newer. |
CHANGE_STAGED | A … is already staged: reboot to run it | Click Restart into slot …, or wait until you can. |
NOTHING_STAGED | No image change is staged | Apply an image or a rollback first. |
TRIAL_PENDING, TRIAL_IN_PROGRESS | A trial boot is armed or running | Wait. The trial ends within 15 minutes of the restart, with the new slot proven or a fallback. |
TRIAL_FAILED_UNREPAIRED | The last trial boot fell back … the boot loader has not been repaired yet | Refresh the page in a minute; the appliance repairs it by itself. |
OTHER_UNPROVEN | There is no proven system to roll back to | The card names why. You can roll back only to a system that started correctly. |
PAIR_MEMBER | Updates are applied per pair member | Use the pair upgrade. |
Pair upgrade
| Code | What the panel says | What to do |
|---|---|---|
PAIR_NOT_WHOLE | qvdc-x is not healthy in its pair role: … | Wait until every member shows In its pair role, then try again. A member that stays unhealthy needs Quantix support. |
STATE_STALE | qvdc-x has not published its state for … | The member may be off or unreachable. Start it or restore its network, then try again. |
ANOTHER_MEMBER_UPGRADING | qvdc-x has an unfinished upgrade: one member at a time | Finish that member (Retry) or abort it before you go on. |
ETCD_UNREADABLE | etcd unreadable: cannot tell whether another member is upgrading | The member could not read the pair state, so it changed nothing. Wait until every member shows In its pair role, then retry. |
ETCD_UNWRITABLE | etcd: upgrading/qvdc-x was not written, so the other members' steering could not see this upgrade | The member could not record in the pair state that it is upgrading, so it did not start. On qvdc-a or qvdc-b, wait until every member shows In its pair role, then retry. If it repeats on qvdc-w while the pair is healthy, the pair was enabled with a Quantix-vDC release that did not yet give the witness this permission. Nothing was changed. Contact Quantix support before you rebuild the pair. |
RUN_EXISTS | A pair upgrade run … is already open: finish or release it | Continue the open upgrade in the panel. |
NO_IMAGE, NOT_SIGNED | No signed system image is offered | Click Check, or import a bundle that carries a signed system image. |
ALREADY_RUNNING, ALREADY_DONE | qvdc-x already runs … | Nothing to do for that member. |
PREPARE_FIRST | qvdc-x has no A/B boot menu | See Pairs built before A/B slots. |
NOT_PROVEN | qvdc-x's booted slot is not proven | The member would have nothing to roll back to. Contact Quantix support. |
TRIAL_PENDING, UNREPAIRED | qvdc-x has a trial outstanding, or a fallback not repaired yet | Wait a few minutes and try again. |
NOT_STAGED | The release is still being staged on this member | Wait; the panel moves on when the copy is ready. If it shows an error, retry. |
OUT_OF_ORDER | … comes first | Run the step the panel marks as next. |
LEADER | qvdc-x is the leader: promote the other data member first | Follow the panel's order: the leader is upgraded last. |
UPGRADING | qvdc-x is being upgraded: promotion is refused until its upgrade ends | Wait until its upgrade step shows done, or retry it. |
STEP_RUNNING | qvdc-x is still running its … step | Wait for the step to finish. |
FORWARD_ONLY | The promotion applied this release's migrations: qvdc-x can only go forward | Finish the upgrade; the pair cannot return to the previous release. |
NO_SPACE | … has N MiB free; vX needs M MiB | Free space on that member, or grow its disk, then Retry. |
FETCH_FAILED | Fetching … from the leader failed | Check the network between the members, then Retry. |
RELEASE_MISMATCH | The release is …, the run pinned … | A different release was offered after Start the pair upgrade. Finish or abort the open upgrade first. |
RUNTIME_NEWER | The runtime component … is newer than system image vX | Choose a newer release. |
NOFAILOVER_MISSING | … does not carry nofailover: hold the pair first | Start over with Start the pair upgrade. If it repeats, contact Quantix support. |
OLDER_THAN_INSTALLED | system image vX is older than the booted vY | The offered release is older than the one the member runs. Offer a release at least as new, then retry. |
PAIR_RUNTIME | release vX declares pair_runtime … | The release is not built for pairs, or is older than the pair software the member has. Choose a newer pair release, or contact Quantix support. |
LOCKED | another apply-files is running | Another update is writing on that member. Wait a few minutes, then Retry. |
INVALID_VERSION | The release's image version … cannot be recorded by the boot loader | The release is damaged or is not a Quantix release. Use a release from the Quantix update server or the customer portal. |
NOT_MEMBER | this Quantix-vDC is not a pair member | The appliance no longer knows it belongs to a pair. Contact Quantix support. |
STAGE_REFUSED | stage-image refused the release | Retry. If it repeats, contact Quantix support with the message. |
BAD_REQUEST | the request names version … and artifact …: not MAJOR.MINOR.PATCH … | The request did not name a valid release. Start the step again from its button in the panel; if it repeats, contact Quantix support. |
NO_RUN | hold the pair first | No pair upgrade is open. Click Start the pair upgrade. |
NOTHING_TO_RETRY | qvdc-x's upgrade has not failed | Only a failed member can be retried. Wait for its step to finish. |
NOTHING_TO_ABORT | qvdc-x was not upgraded in this run | Nothing to undo for that member. |
UNKNOWN_MEMBER, UNKNOWN_STEP | … is not a pair member, or unknown step … | Only an API or MCP request can get this. Use the member names and steps the panel shows. |
While an appliance upgrades
| Code | What it says | What to do |
|---|---|---|
APPLIANCE_UPGRADING | '…' is upgrading Quantix-vDC X to Y (phase, since HH:MM UTC) … this guard lifts by itself at HH:MM UTC | Wait for the upgrade to finish. Quantix will not power off, reboot, pause, suspend or migrate the appliance, or reboot, update, drain or remove its host, until then. If the upgrade is hung, see Troubleshooting. |
APPLIANCE_GUARD_OVERRIDE_REFUSED | The override was not accepted, and why | Only a super administrator who verified their identity (or, on the Host UI, a signed-in host user with the step-up) can override, with the VM's name typed exactly and a reason. API keys and MCP agents cannot. |
Troubleshooting
| Symptom | What to do |
|---|---|
| The card shows Not prepared for A/B after you grew the disk, and the preview still says the disk is too small | The appliance restarted between the resize and Prepare A/B, so its data partition took the new space. Grow the disk again, and run Prepare A/B without a restart in between. |
| The last trial boot failed and the card names a version and a reason | The new system did not come up healthy and the appliance returned to the previous one. Your data is unchanged. Wait for the next release, or contact Quantix support with the reason the card shows. |
| Restart into slot … stays off with Rebooting, or running the trial boot | The new system is proving itself. The button comes back 15 minutes after the restart. |
| Install an image into slot … is off with No system image is on offer: check for updates | The running slot already has the newest system image, or no check has run yet. Click Check under Quantix-vDC Updates. Most releases update the vDC software only and ship no system image; the newest image from any earlier release stays on offer until the running slot has it. |
| The roll back button is off and names no slot | Only a system that started correctly can be a rollback target. The reason is under the button. |
| Changes made by hand on the appliance are gone after a restart | The system is read-only and rebuilt at every boot. Make the change through the dashboard or the console menu. |
| A pair step stays red with fell back to its previous system | Click Retry, or abort the upgrade. Before the promotion, abort returns the pair to where it started. |
| A pair member shows Rebuilding its replica; the health check waits | The member is up and copying the database. Wait; this can take up to about an hour. Do not restart or power-cycle it. |
| A pair member shows has not come back since its reboot | Power-cycle its virtual machine from the dashboard or its host's Host UI. Its boot loader returns to the previous system. Do this only after the panel shows this message. |
| The pair panel shows Could not read the pair upgrade | The leader could not read the pair state. Reload the page; if it stays, check that all three members are running. |
An appliance upgrade is hung and Quantix keeps refusing with APPLIANCE_UPGRADING | Wait for the time the refusal names: each phase frees the appliance and its host by itself 30 minutes after it started (15 minutes after the restart for a trial boot). If you cannot wait, abort the member's step on a pair, or click Override (upgrade is hung) in the refusal, type the VM's name and a reason, and verify your identity. A super administrator can override from the dashboard; with the Quantix-vDC down, a signed-in user on the host's Host UI can. The override is in the audit log. It does not make the upgrade safe: a power-off while the appliance writes its system can leave it unable to start, and the way back is the previous system or a configuration backup restore. |

