Skip to content

Releases

xdebbie 0.30.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 09:17

Added

  • A box that lacks a VM's base image downloads it from the leader.
  • xdctl volume move ID --host HOST moves a volume to another host's abe
    while its VM uses it.

Fixed

  • Bootstrap could not turn on libvirt's TLS port while libvirtd was running,
    so other boxes could not reach a new box's libvirt and VMs could not move
    to it.

xdebbie 0.26.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 23:16

Added

  • volumes_token_file: a token that opens the volume API (GET/POST /v1/volumes, GET/DELETE /v1/volumes/{id}, POST /v1/volumes/{id}/attach, /detach, /grow) and GET /v1/qos, and
    answers 403 everywhere else. It is everything abe-csi calls, so the CSI
    driver's Secret no longer has to hold the cluster token, which can also
    delete VMs, rotate the token and change settings. Like the other narrow
    tokens it is optional, not rotated, and the same file goes on every box
    the driver reaches. bootstrap sets /etc/xdebbie/volumes-token to
    root:root 0400 when it is there.

Changed

  • No CPU overcommit by default: cpu_overcommit defaults to 1.0 (was 4.0)
    and bootstrap writes 1.0 (was 2.0), so a host schedules as many vCPUs as
    it has CPU threads, less reserved_cpus. Hosts that set it keep their
    value; change [[hosts]] cpu_overcommit to move an existing box.
  • xdctl host add --cpu-overcommit defaults to 1.0 too (was 4.0, missed
    by the change above).
  • Docs checked against the code before the release: the 1.0 CPU default
    in scheduling, limits and the API example; bootstrap --force on the
    CA box makes a new API token (now said in xdebbied bootstrap --help,
    Boxes and the xdebbied reference); which top-level keys it does not
    carry over (also ca_*, nvme_*, abe_port_*); NVMe controller loss
    is 600 s, not for ever, since 0.25; max_vms_per_box, address shares
    and the NVMe backoff and watch in Limits; fenced.json and the AppArmor
    files in Files and ports; two scheduler reasons in Troubleshooting.

Fixed

  • The package ships /etc/apparmor.d/abstractions/libvirt-qemu.d/xdebbie
    (a conffile): qemu may read seed ISOs, LVM thin LVs and ABE NVMe/TCP
    namespaces. simplyaviary's first VM with an ABE root disk could not
    start: AppArmor denied the seed ISO and the namespace's sysfs, and the
    box had no local rules at all. scripts/verify-package.sh checks the file
    ships as a conffile.
  • Bootstrap opens abe's ports on the underlay: the API port (from the box's
    own [[hosts]] abe URL) and the export range (abe_port_min..
    abe_port_max) on wg-flock, from the underlay network, to that
    address only, when the URL's address is on the underlay. They were a
    manual setup step; a box that missed it (simply, 2026-11-30) answered
    ping but dropped TCP, so volumes could not be made there from the leader
    nor attached from other boxes. Rules are tagged xdebbie abe ... on wg-flock; hand-made abe nvme/tcp / abe api rules may be deleted.

xdebbie 0.23.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 19:13

Cut without the full release gate (baseline, load, backups and restore,
live grow, a fresh box joining), at the user's call; alpha points here.

Added

  • Docs rewritten for 0.23.0 in six parts: getting started, network,
    storage, compute, reference, glossary (every noun and verb), checked
    against the code; a one-screen README.
  • docs/network/proto230/: proto 230 in seven CALM diagrams for people
    (the mesh at a glance, owning a route, a packet from box 5 to box 0, a
    tunnel drops, a laptop joins, auto MACs, renumbering a box), published
    on the CALM hub as aviary.proto230.

Changed

  • VMs are named CLUSTER-ROLE-HOST-ID in libvirt: the cluster (capx's
    xdebbie.dev/cluster without its namespace, or a hand-made VM's role
    label), cp or md, the host's short name, and the VM's UUID in URL-safe
    base64 (22 characters, never changes). A new VM gets it when defined, a
    moved one on arrival (virsh migrate --dname), a shut-off one before it
    starts (virsh domrename); a running VM keeps its old name until then
    (libvirt renames only shut-off domains). xdebbied now finds domains by
    UUID, so a rename never loses one. Disk and seed volumes keep their names.

xdebbie 0.22.3

Choose a tag to compare

@github-actions github-actions released this 27 Nov 14:04

Added

  • Every box installs a blackhole route at metric 4294967295 for each mesh
    network (10.22.0.0/16, 10.23.0.0/16, 10.24.0.0/16 by default;
    blackholes in [mesh] or the API spec, [] for none). The connected
    and client routes win while they exist; when a bridge or the WireGuard
    link goes, mesh traffic is dropped instead of leaving by the default
    route. Ours are told apart by the metric; teardown keeps them
    (docs/mesh.md, "Blackhole routes for the mesh networks").

xdebbie 0.22.2

Choose a tag to compare

@github-actions github-actions released this 27 Nov 10:48

Fixed

  • Routes to clients behind another box (0.22.1) used the hub's probe
    address as the gateway; with fdb = learn that is its underlay
    10.22.<hub>.1, which is not on the bridge, so the kernel refused both
    /17s and reconcile stayed at Reconciling. The gateway is now always
    the hub's bridge address, 10.23.<hub>.1.

xdebbie 0.22.1

Choose a tag to compare

@github-actions github-actions released this 27 Nov 06:00

Fixed

  • CI: the package step was OOM-killed at 1024MiB building the release, so
    v0.22.0 was never published; back to 2048MiB. 0.22.1 is 0.22.0 as released.

xdebbie 0.22.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 05:44

Fixed (joining a box that was set up before; found joining simplyaviary, 2026-11-25)

  • A renumbered box drops its old underlay address: the mesh removes every
    address on its own WireGuard link but 10.22.BOX.1 (new action
    addr_del). Box 5, first set up as box 0, kept 10.22.0.1 and refused
    the hub as a peer ("is one of this host's own addresses").
  • New blocking condition BridgeAddressMismatch: the bridge holds an
    overlay address outside 10.23.BOX.0/24 (box 5's bridge still had the
    hub's 10.23.0.1). The mesh changes nothing until the bridge is fixed.
  • The cluster CA adds the assigned box's 10.22.BOX.1 and 10.23.BOX.1
    to a joiner's certificate. The request is made before the bridge exists,
    so a first join lacked the address libvirtd listens on and needed a
    second --join --force.
  • Bootstrap moves libvirtd's listen_addr to the current bridge address
    when libvirtd was configured for TLS before (it kept 10.23.0.1, so
    libvirtd-tls.socket could not start and the box registered as
    qemu+tls://10.23.0.1).
  • --join timesink is --join https://timesink:23443: a missing scheme
    and port are filled in, and an earlier enrolment is matched on the
    normalized URL instead of being refused as another cluster.

Docs

  • New how-to, Run a cloud server as a mesh client: a Terraform example
    (examples/do-mesh-client: droplet, firewall, WireGuard key, wg-quick)
    for a client the hub dials because the hub is not reachable from the
    internet.
  • Join a second box: compare the CA fingerprint before answering, check
    both ends (Ready true AllPeersUp, fresh handshakes), and a new
    "Start over on a box" section.

Added

  • POST /v1/volumes/{id}/grow and xdctl volume grow ID --gib N: grow a volume on its
    ABE (abe >= 0.7.2), never shrinking it. An attached VM's host passes the new
    size to the guest (virsh blockresize, after an NVMe rescan if needed) in
    the reconciler's attach step, so the guest sees the bigger disk within a
    tick or two. abe-csi 0.6.0 uses it for PVC expansion.

Changed

  • The service no longer runs xdebbied bootstrap before every start
    (ExecStartPre is gone): a bootstrap that failed kept the hub from
    serving, and every restart ran it again. postinst runs bootstrap on
    install and on upgrade (a failure is reported; the package still
    installs), and it can be run by hand. serve checks read-only what
    bootstrap leaves and logs each gap with its fix: a missing API
    certificate, key or token file stops it (exit 78, not retried); an LVM
    volume group not there yet is retried; libvirt not answering, a missing
    libvirt TLS certificate or xdebbie_env only turn that part off. serve
    puts the VM NAT/DNS nftables table back at start, since it does not
    survive a reboot (ufw rules and the ip_forward sysctl do).

Fixed

  • bootstrap --join on a box the package had set up as a cluster of its
    own (discovery off) no longer says "Already enrolled" and stays alone.
    While that cluster is empty (no VMs, volumes, other hosts, approved boxes
    or mesh peers), its identity is moved aside (renamed *.own-cluster-STAMP,
    never deleted), the package's libvirt network is made again for the
    assigned box id, and the box enrols. A cluster in use is never left
    behind: --join refuses and says what is in it, unless --force. A box
    enrolled with a different CA is refused too, instead of being reused.
  • The generated xdebbied.toml comment named the placement policy
    "binpack"; the value is "pack".

xdebbie 0.18.4

Choose a tag to compare

@github-actions github-actions released this 20 Nov 03:16

Changed

  • Hot-plugged volumes go on a virtio-scsi controller (sdb, sdc, ...
    sdiv): up to 255 per VM instead of one PCIe root port each (about ten).
    New VMs get the controller in their definition; an existing VM gets it
    hot-added at its next volume attach (one PCI slot), and falls back to
    virtio-blk when no slot is left. The guest sees a SCSI volume at
    /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_<volume id> (the whole id), a
    virtio-blk one at virtio-<first 20> as before (abe-csi looks for both).
  • NVMe/TCP connects use 4 I/O queues (--nr-io-queues 4): 5 connections
    per volume on the abe host instead of one per host CPU plus one.

Added

  • Storage bridge: [network] storage_cidr (e.g. 10.24.0.0/16) with
    [[hosts]] storage_bridge = "virbr-abe". Bootstrap creates the isolated
    libvirt network abe (bridge virbr-abe, this box at 10.24.<box>.1);
    VMs defined on such a host get a second NIC there (MAC 52:54:24:…)
    with a static address keeping the host bits of their overlay address
    (10.23.0.21 -> 10.24.0.21), no gateway, no DNS, and one route: the
    host's abe address (10.22.<box>.1/32) via 10.24.<box>.1, so guests
    reach the unchanged abe over the storage bridge. The firewall accepts only
    abe's API and NVMe/TCP ports on it and forwards nothing in or out.
    Existing VMs get the NIC when they are next defined (re-created).

xdebbie 0.18.3

Choose a tag to compare

@github-actions github-actions released this 20 Nov 03:16

Added

  • GET /v1/qos: every host's abe IOPS arbiter report (abe 0.7.0
    GET /qos) merged into {"volumes": {"<id>": {"ceiling_iops", ...}}, "hosts": {...}}, cached 2 s. abe-csi applies the ceilings; it cannot ask
    abe itself (abe wants a cluster certificate). An abe that is down, older
    or has its arbiter off adds nothing, so its volumes stay unlimited.

Fixed

  • A mesh peer's first probe waits a second, so one that is still
    handshaking when xdebbied starts is not reported Down; and a peer that
    has not answered since it was configured logs "mesh peer not answering",
    not "went away".

xdebbie 0.18.2

Choose a tag to compare

@github-actions github-actions released this 20 Nov 03:17

Added

  • The mesh logs its peers: "mesh peer came up" / "went away" with the
    peer's WireGuard endpoint, round trip and handshake age, and "mesh peer
    moved" (from/to) when a peer's endpoint changes, e.g. a laptop roaming.

Changed

  • Mesh probes wait about 15 smoothed round trips of each peer (250 ms
    floor, the configured timeout as the cap) instead of the fixed timeout,
    so a lost peer is noticed sooner.
  • The whole workspace builds as edition 2024.
  • Drone runs one build at a time per pipeline (the cargo caches are
    ReadWriteOnce disks).
  • xdj moved to its own repository,
    briankmatheson/xdj (history
    kept; it continues at 0.19.0). xdebbie releases no longer carry the xdj
    binaries; the workspace is xdebbie-core, xdebbied, xdctl and capx.