We are excited to announce our release for aleph-vm in version 1.9.0!
This update enhances security and delegation, improves network reliability for multi-interface hosts, and provides a performance optimization for listing active executions.
New Features ✨
- Delegated Operate Permissions: Introduced delegated "Operate" permissions, allowing for more flexible VM management and access control. (PR #851) 🔑
- Allocation Resource Checks: Implemented a resource check during allocation to ensure the host has sufficient capacity before launching a VM. (PR #852) 📊
Bug Fixes 🐞
- Network Re-creation: Resolved an issue affecting the network re-creation endpoint, ensuring more stable virtual networking. (PR #853) 🌐
- Host IPv4 Detection: Improved logic to correctly identify the Host IPv4 address on servers with multiple network interfaces. (PR #863) 📍
- HAProxy Configuration: Fixed a bug causing incorrect or "bad" IPv4 addresses to be assigned in HAProxy configurations. (PR #864) 🛠️
- NFTable Output Parsing: Solved issues related to parsing the version output of
nftables, improving firewall management compatibility. (PR #861) 🧱 - Connectivity Checks: Optimized internet connectivity checks by prioritizing OpenDNS over Quad9 for better reliability. (PR #860) 📡
Improvements & Performance 🚀
- Batch Systemd Queries: Significant performance boost for the
list_executionsendpoint by batching systemd queries instead of processing them individually. (PR #865) ⏱️ - SDK Migration: Migrated the
vm_connectorfromaleph-clienttoaleph.sdkto streamline dependencies. (PR #858) 📦 - Diagnostic VM Updates: Updated both the standard and legacy diagnostic VMs for improved troubleshooting. (PR #856, PR #857) 🩺
What's Changed
- Add delegated Operate permissions by @nesitor in #851
- Solve Network re-creation endpoint issue. by @nesitor in #853
- Implement allocation resource check by @nesitor in #852
- Fix: Migrate vm_connector from aleph_client to aleph.sdk by @aliel in #858
- Prioritize OpenDNS over Quad9 for internet connectivity checks by @aliel in #860
- Updated Legacy Diagnostic VM by @nesitor in #857
- Update diagnostic VM by @nesitor in #856
- Solve NFTable version output issues by @nesitor in #861
- Get correct Host IPv4 with multiple addresses by @nesitor in #863
- Solve bad IPv4 Haproxy address by @nesitor in #864
- Perf: Batch systemd queries in list_executions endpoints by @odesenfans in #865
Full Changelog: 1.8.1...1.9.0
How to upgrade
1. Upgrade the packages
This part did not change, download and install the new package as usual.
On Debian 12 (Bookworm):
rm -f /opt/aleph-vm.debian-12.deb
wget -P /opt https://github.com/aleph-im/aleph-vm/releases/download/1.9.0/aleph-vm.debian-12.deb
apt install /opt/aleph-vm.debian-12.debOn Ubuntu 22.04 (Jammy Jellyfish):
sudo rm -f /opt/aleph-vm.ubuntu-22.04.deb
sudo wget -P /opt https://github.com/aleph-im/aleph-vm/releases/download/1.9.0/aleph-vm.ubuntu-22.04.deb
sudo apt install /opt/aleph-vm.ubuntu-22.04.debOn Ubuntu 24.04 (Noble Numbat):
sudo rm -f /opt/aleph-vm.ubuntu-24.04.deb
sudo wget -P /opt https://github.com/aleph-im/aleph-vm/releases/download/1.9.0/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb2. Apply last HAProxy Configuration (if you already did the migration to HAProxy.)
If your server was previously configured with last version, and you are having issues with metrics and IPv6, only apply last version configuration on HAProxy and restart it, this should solve the issue.
ln -fs /etc/haproxy/haproxy-aleph.cfg /etc/haproxy/haproxy.cfg
sudo systemctl restart haproxy
sudo systemctl restart aleph-vm-supervisor