Repository navigation
CloudX v1.0.16
CloudX v1.0.16
CloudX 1.0.16 follows 1.0.15. Instance HA now protects servers whose volumes are on Ceph or NFS (it refused both), a protected server that is stopped is recovered as stopped, ha-watchdog leaves a live migration alone, and a Kubernetes cluster's security group names its own members instead of the whole network.
What is new since 1.0.15
Instance HA
- Servers with Ceph volumes can be protected.
cloudx ha protectused to answer422 server volumes could not be locatedfor them, because a Ceph volume has no host. Before it evacuates, ha-api asks block-store to blocklist the Ceph clients that have each of the server's images open (rbd status, thenceph osd blocklist add). The cephx user of the block-store worker needsosd blocklist(mon 'profile rbd'has it).docs/ha.md, "Servers on Ceph". - New Ceph RBD images get the
exclusive-lockfeature next tolayering. With it, the Ceph client of an evacuated guest breaks the lock of an old owner that lost its watch and has that owner blocklisted, so a node that lost Ceph as well as ha-api can no longer write to the image when it reconnects. Root volumes made from an image already had it. - Servers with NFS volumes can be protected, alone or next to Ceph and LVM volumes. CloudX does not manage the NFS server, so there is no fence at the server: the qcow2 image lock (an NFSv4 lease of 90 seconds on the Linux server) and
ha-watchdogstop an old guest, and the recovery says so. The evacuated guest can meet a file that the old node still has locked, socloudx-compute-workerstarts the domain again every 5 seconds while libvirt says the disk is in use, forCOMPUTE_START_LOCK_WAITseconds (default 150).docs/ha.md, "Servers on NFS", has the lab results, including what the old guest did when its node was cut off from the NFS server. - A protected server that is
SHUTOFFis recovered asdone. Evacuate gives it back asSHUTOFF, but ha-api waited 300 seconds forACTIVE, recordedfailed, and made the next protected servers of the host wait too. ha-watchdogno longer destroys a protected server while a live-migration job runs on it (virsh domjobinfo;ha_watchdog_migration_grace, default 1800 seconds).
Block storage
- Deleting a snapshot that a consistency group snapshot made no longer leaves its LVM logical volume or NFS file behind: the worker looked for a name made from the snapshot id, but the group snapshot had named its members after the group and volume ids. It now removes the object the stored path names (Ceph already did). Objects left by earlier deletes stay; remove a leftover
snap-*logical volume orsnap-*.qcow2file by hand. - A volume type can be created with
--backend nfs(the API andcloudx volume-type createrefused it), the snapshot of an NFS volume no longer looks forNAME.qcow2.qcow2, and a consistency group snapshot takes a snapshot of each NFS volume (it failed withUnknown backend: nfs).
Kubernetes
- The security group
k8s-<cluster id>of a new cluster lets its own members in on every port with a rule that names the group itself, instead of every port from the cluster network's IPv4 subnets. A server of the same network that is not a node no longer reaches the nodes on every port, and a network with no IPv4 subnet no longer fails the cluster.
Documentation
docs/ha.mdhas the lab results for Ceph and NFS servers.docs/feature-comparison.mdsays which volume types HA protects and that Placement has forbidden traits and microversion headers.
Behaviour changes to read first
- A data volume made by block-store before this release keeps
layeringonly. To get the lock, runrbd feature enable POOL/IMAGE exclusive-lockon it (it works while the volume is attached). - Protecting a server with Ceph volumes needs
osd blocklistfor the cephx user of the block-store worker. Without it the fence fails and the evacuation does not happen. - NFS volumes need an export that allows root from the nodes (
no_root_squash): libvirt changes the file's owner to64055:kvm. Every node that runs block-store-worker or compute-worker mounts it atSTORAGE_NFS_DIR(default/var/lib/cloudx/volumes), hard, with NFSv4. - A Kubernetes cluster made by 1.0.15 keeps its subnet rule until it is deleted. New clusters get the new rule.
- Update block-store, block-store-worker, ha-api and compute-worker together (a node upgrade with every package does it).
Upgrading
No schema change and no cloudx-manage db sync. From 1.0.15 .deb packages, install the new version of every CloudX package on each node in one command with apt install -o Dpkg::Options::=--force-confold, as in docs/releases/v1.0.2.md "Upgrading"; every node must have all of its CloudX packages at one version. Update the compute nodes first, then the controllers. Running VMs are not touched. Check systemctl --failed on each node afterwards. The cloudx CLI is not in the .deb files: update it where it is installed.
What was and was not tested
Unit tests for every change in this release.
Lab, 2026-11-30, 8-node Proxmox lab (three controllers, three Ceph nodes, two compute nodes):
- The 1.0.16-1 packages: all 47
.debfiles were built from the release branch on a controller (the checksums equal the local copy; the packages were rebuilt once after the snapshot delete fix and the nodes reinstalled) and installed with apt over 1.0.15-1, on the two compute nodes first, then the three controllers one at a time. Afterwards every node had its packages at 1.0.16-1, no failed units, the 29 files checked equal the release branch, HA hostsup, CephHEALTH_OK. - NFS server on the packages:
nfs-kernel-serveron a Ceph node exported to the nodes, mounted on all five. A volume type with backendnfswas created (through the API: the CLI on the lab is still 1.0.15). A protected server with an NFS root was recovered after its compute node was powered off: the file could be opened from the other node after 64 seconds, the host wasfencedat 102 seconds and the server wasdoneandACTIVEon the other node, with the note that only the image lock and the watchdog stop an old guest. A consistency group snapshot of two NFS volumes becameavailableand made one snapshot file for each. It waited several minutes because the broker had handed the message to the powered-off node's consumer; it ran when that node came back (the known behaviour thatdocs/tutorials/ha-control-plane.mddescribes). - Deleting group snapshot members (rebuilt packages with the fix): the two member snapshots of a consistency group snapshot of NFS volumes were deleted and both
snap-*.qcow2files were gone from the export (before the fix they stayed). The LVM case was not run on the lab: the two LVM volumes landed on different nodes, which a group refuses; it is covered by unit tests only. - Ceph server on the packages: a protected server with a Ceph root was recovered after its compute node was powered off:
doneabout 97 seconds later andACTIVEon the other node. The fence found no client with the image open (the dead node's watch had already expired) and said so; the dead node's client was on the blocklist afterwards. - Not run on these packages: the Kubernetes cluster security group, the migration-aware watchdog and the
SHUTOFFrecovery were run earlier on hand-copied files of their branches (docs/ha.md,docs/k8s-engine.md), not on the 1.0.16 packages. The NFS cases withha-watchdogon and the cut-off cases are indocs/ha.md, run on those hand-copied files.