Repository navigation
Releases
Releases · briankmatheson/xdebbie
xdebbie 0.30.0
Added
- A box that lacks a VM's base image downloads it from the leader.
xdctl volume move ID --host HOSTmoves 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
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) andGET /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.bootstrapsets/etc/xdebbie/volumes-tokento
root:root 0400 when it is there.
Changed
- No CPU overcommit by default:
cpu_overcommitdefaults 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, lessreserved_cpus. Hosts that set it keep their
value; change[[hosts]] cpu_overcommitto move an existing box. xdctl host add --cpu-overcommitdefaults 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 --forceon the
CA box makes a new API token (now said inxdebbied bootstrap --help,
Boxes and the xdebbied reference); which top-level keys it does not
carry over (alsoca_*,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.jsonand 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.shchecks the file
ships as a conffile. - Bootstrap opens abe's ports on the underlay: the API port (from the box's
own[[hosts]]abeURL) and the export range (abe_port_min..
abe_port_max) onwg-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 taggedxdebbie abe ... on wg-flock; hand-madeabe nvme/tcp/abe apirules may be deleted.
xdebbie 0.23.0
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 asaviary.proto230.
Changed
- VMs are named
CLUSTER-ROLE-HOST-IDin libvirt: the cluster (capx's
xdebbie.dev/clusterwithout its namespace, or a hand-made VM'srole
label),cpormd, 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
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/16by default;
blackholesin[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
Fixed
- Routes to clients behind another box (0.22.1) used the hub's probe
address as the gateway; withfdb = learnthat is its underlay
10.22.<hub>.1, which is not on the bridge, so the kernel refused both
/17s and reconcile stayed atReconciling. The gateway is now always
the hub's bridge address,10.23.<hub>.1.
xdebbie 0.22.1
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
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 but10.22.BOX.1(new action
addr_del). Box 5, first set up as box 0, kept10.22.0.1and refused
the hub as a peer ("is one of this host's own addresses"). - New blocking condition
BridgeAddressMismatch: the bridge holds an
overlay address outside10.23.BOX.0/24(box 5's bridge still had the
hub's10.23.0.1). The mesh changes nothing until the bridge is fixed. - The cluster CA adds the assigned box's
10.22.BOX.1and10.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_addrto the current bridge address
when libvirtd was configured for TLS before (it kept10.23.0.1, so
libvirtd-tls.socketcould not start and the box registered as
qemu+tls://10.23.0.1). --join timesinkis--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}/growandxdctl 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 bootstrapbefore every start
(ExecStartPreis 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.servechecks 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 orxdebbie_envonly 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 --joinon 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:--joinrefuses 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.tomlcomment named the placement policy
"binpack"; the value is "pack".
xdebbie 0.18.4
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 atvirtio-<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 networkabe(bridgevirbr-abe, this box at10.24.<box>.1);
VMs defined on such a host get a second NIC there (MAC52: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) via10.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
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
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). xdjmoved 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.