Skip to content

Releases: aleph-im/aleph-vm

1.6.0-rc1

13 Jun 12:08
Compare
Choose a tag to compare
1.6.0-rc1 Pre-release
Pre-release

We are excited to announce our release candidate for aleph-vm in version 1.6.0-rc1!

This update brings significant new features like detailed hardware information and IPv4 port forwarding, alongside crucial bug fixes addressing boot issues, API error consistency, and network configuration problems. CI/CD stability and aleph-message dependency updates also contribute to a more robust system.

New Features:

  • Execution List Endpoint & Instance Retries: Added a new endpoint to list executions and implemented retry mechanisms for instances that are not running. (PR #793)
  • Detailed Capability Endpoint: Introduced a new capability endpoint that provides comprehensive CPU information (model, vendor, frequency) and memory details (clock, size, type) via the API. (PR #801)
  • IPv4 Port Forwarding: Implemented IPv4 port forwarding functionality (ALEPH-551). (PR #806)

Bug Fixes:

  • Grub Root Device Placement: Fixed an issue where the Grub root device was not placed in a proper location, leading to boot problems. (PR #805)
  • JSON Error Returns: Ensured that errors consistently return JSON responses (ALEPH-512). (PR #804)
  • CI/CD Issue: Resolved a problem affecting the CI/CD pipeline. (PR #808)
  • Port Direction Issues: Fixed issues related to port directions. (PR #810)
  • Duplicate NFTables Rule: Addressed the problem of duplicate NFTables rules (ALEPH-446). (PR #812)
  • Firewall Redirect Issues: Solved issues with firewall redirects. (PR #813)

Improvements:

  • aleph-message Version Update: Updated to the latest aleph-message version. (PR #809)

What's Changed

  • fix: Grub root device must be placed in a proper location to avoid bo… by @aliel in #805
  • ALEPH-512 ensure we always return json for error by @olethanh in #804
  • Retry instances not running add new Execution list endpoint by @olethanh in #793
  • New capability endpoint to add CPU information (model, vendor, frequency) and memory details (clock, size, type) to API by @olethanh in #801
  • Solve CI/CD issue by @nesitor in #808
  • ALEPH-551 Implement ipv4 port forwarding by @olethanh in #806
  • Use last aleph-message version by @nesitor in #809
  • Fix issue on port directions by @olethanh in #810
  • Aleph 446 duplicate nftables rule by @olethanh in #812
  • Solve firewall redirect issues by @olethanh in #813

Full Changelog: 1.5.1...1.6.0-rc1

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.6.0-rc1/aleph-vm.debian-12.deb
apt install /opt/aleph-vm.debian-12.deb

On 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.6.0-rc1/aleph-vm.ubuntu-22.04.deb
sudo apt install /opt/aleph-vm.ubuntu-22.04.deb

On 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.6.0-rc1/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb

2. Enable GPU support (optional)

In order to enable GPU support on your Compute Resource Node, you must:

  1. Ensure that your system have a compatible GPU card.
  2. Detach GPU cards from the kernel module drivers and attach it to QEMU vfio drivers.
  3. Enable GPU support in the aleph-vm configuration.

Please follow these instructions

Enable GPU in the configuration of aleph-vm, by default in /etc/aleph-vm/supervisor.env. This is not the default yet.

ALEPH_VM_ENABLE_GPU_SUPPORT=True

After launching the server you can check the endpoint
http://localhost:4020/status/config or https://<your-node-domain>/status/config and verify that ENABLE_GPU_SUPPORT has the value true.

1.5.1

25 Apr 07:49
Compare
Choose a tag to compare

We are excited to announce our release for aleph-vm in version 1.5.0!

This new release of aleph-vm fixes issues with disk space calculations.

What's Changed

Full Changelog: 1.5.0...1.5.1

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.5.1/aleph-vm.debian-12.deb
apt install /opt/aleph-vm.debian-12.deb

On 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.5.1/aleph-vm.ubuntu-22.04.deb
sudo apt install /opt/aleph-vm.ubuntu-22.04.deb

On 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.5.1/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb

2. Enable GPU support (optional)

In order to enable GPU support on your Compute Resource Node, you must:

  1. Ensure that your system have a compatible GPU card.
  2. Detach GPU cards from the kernel module drivers and attach it to QEMU vfio drivers.
  3. Enable GPU support in the aleph-vm configuration.

Please follow these instructions

Enable GPU in the configuration of aleph-vm, by default in /etc/aleph-vm/supervisor.env. This is not the default yet.

ALEPH_VM_ENABLE_GPU_SUPPORT=True

After launching the server you can check the endpoint
http://localhost:4020/status/config or https://<your-node-domain>/status/config and verify that ENABLE_GPU_SUPPORT has the value true.

1.5.0

16 Apr 16:05
Compare
Choose a tag to compare

We are excited to announce our release for aleph-vm in version 1.5.0!

This new release of aleph-vm brings significant improvements to the Aleph VM, including the new GPU reservation system and in-VM reboot functionality. It also addresses several important bug fixes related to CI stability, GPU detection, network configuration, VM lifecycle, and volume downloads. The upgrade of Firecracker and aleph-message, along with the Pydantic migration, further enhances the platform.

New Features

  • GPU Reservation System: Implemented a system for reserving GPUs. (PR #776)
  • VM Reboot from Inside: Allowed users to reboot their VMs from within the VM itself. (PR #790)
  • Operator Authentication Improvements: Enhanced operator authentication with better HTTP error reporting. (PR #788)

Bug Fixes

  • Random CI Failures: Fixed random failures in the Continuous Integration (CI) pipeline and merged workflows. (PR #787)
  • GPU x-vga Detection: Corrected the detection of x-vga for GPUs. (PR #786)
  • ndppd Proxy Interface Loading: Fixed an issue where the ndppd proxy was not loading existing interfaces on supervisor restart. (PR #783)
  • VM Lifecycle and Blocking Resources: Addressed issues related to the VM lifecycle and blocking resources. (PR #789)
  • Volume Download from Connector: Fixed a problem with downloading volumes from the connector. (PR #796)
  • Pydantic TypeAdapter Issue: Solved an issue related to Pydantic's TypeAdapter. (PR #794)
  • Confidential VM Cleanup (ALEPH-517): Fixed an issue related to the cleanup of confidential VMs. (PR #797)
  • Confidential and GPU Instance Stopping (ALEPH-518): Resolved a bug where confidential and GPU instances were stopping immediately after starting. (PR #798)
  • Message Requirements Casting: Solved a casting issue with message requirements. (PR #800)
  • Internet Check Failure: Fixed an issue causing the internet check to fail. (PR #799)

Improvements

  • Hatch Formatting: Performed some cleanup using hatch fmt. (PR #782)
  • Usage System: Removed reserved usage tracking for volumes in the usage system. (PR #784)
  • Misc Stability Improvements: Implemented various stability improvements (OL ALEPH-166). (PR #719)
  • Firecracker Upgrade: Upgraded Firecracker from version 1.5.0 to 1.7.0. (PR #771)
  • Pydantic Migration: Migrated the project from Pydantic V1 to V2. (PR #791)
  • Confidential VM Locale: Updated locale settings to en_US UTF-8 during the setup of confidential VMs. (PR #792)
  • aleph-message Upgrade: Upgraded the aleph-message dependency to version 1.0.0. (PR #795)

What's Changed

Full Changelog: 1.4.2...1.5.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.5.0/aleph-vm.debian-12.deb
apt install /opt/aleph-vm.debian-12.deb

On 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.5.0/aleph-vm.ubuntu-22.04.deb
sudo apt install /opt/aleph-vm.ubuntu-22.04.deb

On 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.5.0/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb

2. Enable GPU support (optional)

In order to enable GPU support on your Compute Resource Node, you must:

  1. Ensure that your system have a compatible GPU card.
  2. Detach GPU cards from the kernel module drivers and attach it to QEMU vfio drivers.
  3. Enable GPU support in the aleph-vm configuration.

Please follow these instructions

Enable GPU in the configuration of aleph-vm, by default in /etc/aleph-vm/supervisor.env. This is not the default yet.

ALEPH_VM_ENABLE_GPU_SUPPORT=True

After launching the server you can check the endpoint
http://localhost:4020/status/config or https://<your-node-domain>/status/config and verify that ENABLE_GPU_SUPPORT has the value true.

1.5.0-rc1

11 Apr 11:09
Compare
Choose a tag to compare
1.5.0-rc1 Pre-release
Pre-release

We are excited to announce our release for aleph-vm in version 1.5.0-rc1 !

This new release of aleph-vm brings significant improvements to the Aleph VM, including the new GPU reservation system and in-VM reboot functionality. It also addresses several important bug fixes related to CI stability, GPU detection, network configuration, VM lifecycle, and volume downloads. The upgrade of Firecracker and aleph-message, along with the Pydantic migration, further enhances the platform.

New Features

  • GPU Reservation System: Implemented a system for reserving GPUs. (PR #776)
  • VM Reboot from Inside: Allowed users to reboot their VMs from within the VM itself. (PR #790)
  • Operator Authentication Improvements: Enhanced operator authentication with better HTTP error reporting. (PR #788)

Bug Fixes

  • Random CI Failures: Fixed random failures in the Continuous Integration (CI) pipeline and merged workflows. (PR #787)
  • GPU x-vga Detection: Corrected the detection of x-vga for GPUs. (PR #786)
  • ndppd Proxy Interface Loading: Fixed an issue where the ndppd proxy was not loading existing interfaces on supervisor restart. (PR #783)
  • VM Lifecycle and Blocking Resources: Addressed issues related to the VM lifecycle and blocking resources. (PR #789)
  • Volume Download from Connector: Fixed a problem with downloading volumes from the connector. (PR #796)
  • Pydantic TypeAdapter Issue: Solved an issue related to Pydantic's TypeAdapter. (PR #794)

Improvements

  • Hatch Formatting: Performed some cleanup using hatch fmt. (PR #782)
  • Usage System: Removed reserved usage tracking for volumes in the usage system. (PR #784)
  • Misc Stability Improvements: Implemented various stability improvements (OL ALEPH-166). (PR #719)
  • Firecracker Upgrade: Upgraded Firecracker from version 1.5.0 to 1.7.0. (PR #771)
  • Pydantic Migration: Migrated the project from Pydantic V1 to V2. (PR #791)
  • Confidential VM Locale: Updated locale settings to en_US UTF-8 during the setup of confidential VMs. (PR #792)
  • aleph-message Upgrade: Upgraded the aleph-message dependency to version 1.0.0. (PR #795)

What's Changed

Full Changelog: 1.4.2...1.5.0-rc1

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.5.0-rc1/aleph-vm.debian-12.deb
apt install /opt/aleph-vm.debian-12.deb

On 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.5.0-rc1/aleph-vm.ubuntu-22.04.deb
sudo apt install /opt/aleph-vm.ubuntu-22.04.deb

On 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.5.0-rc1/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb

2. Enable GPU support (optional)

In order to enable GPU support on your Compute Resource Node, you must:

  1. Ensure that your system have a compatible GPU card.
  2. Detach GPU cards from the kernel module drivers and attach it to QEMU vfio drivers.
  3. Enable GPU support in the aleph-vm configuration.

Please follow these instructions

Enable GPU in the configuration of aleph-vm, by default in /etc/aleph-vm/supervisor.env. This is not the default yet.

ALEPH_VM_ENABLE_GPU_SUPPORT=True

After launching the server you can check the endpoint
http://localhost:4020/status/config or https://<your-node-domain>/status/config and verify that ENABLE_GPU_SUPPORT has the value true.

1.4.2

20 Mar 18:42
73013a2
Compare
Choose a tag to compare

We are excited to announce our release for aleph-vm in version 1.4.2 !

This new release of aleph-vm addresses various bugs and improves the stability and performance. It includes fixes for packaging issues, concurrency problems, outdated dependencies, and improvements to error handling and caching.

Bug Fixes

  • Ubuntu 22.02 Packaging Issue: Attempted to fix a packaging issue on Ubuntu 22.02. (PR #763)
  • stdout Caching Concurrency Issues: Fixed concurrency issues caused by stdout caching. (PR #762)
  • update_allocation Error Handling: Improved error handling in the update_allocation function. (PR #764)
  • Outdated python-cpuid Version: Corrected the usage of an outdated version of python-cpuid. (PR #766)
  • Supervisor Restart on Kubo Crash: Fixed an issue where the supervisor was restarted when Kubo crashed. (PR #767)
  • References to api1.aleph.im: Removed references to the slow server api1.aleph.im. (PR #769)
  • Buggy Settings Aggregate Cache: Fixed a buggy implementation of the settings aggregate cache. (PR #781)
  • Missing Type Annotation: Added a missing type annotation. (PR #773)

Improvements

  • Kubo Upgrade: Upgraded Kubo. (PR #778)
  • IPv6 Subnet Allowance: Allowed /56 subnets for the IPv6 pool. (PR #761)

Dependency Updates

  • sentry-sdk Update: Updated sentry-sdk from 1.31 to 2.8.0. (PR #765)

Other Changes

  • aleph-message Package Version Increment: Incremented the aleph-message package version. (PR #774)

What's Changed

  • Attempt to fix the packaging issue on Ubuntu 22.02 by @olethanh in #763
  • Fix: stdout caching caused concurrency issues by @hoh in #762
  • Fix update_allocation error handling code by @olethanh in #764
  • Fix: Used old versionof python-cpuid by @hoh in #766
  • Fix: Supervisor was restarted when Kubo crashed by @hoh in #767
  • Fix: Remove references to slow server api1.aleph.im by @hoh in #769
  • Chore(deps): Bump sentry-sdk from 1.31 to 2.8.0 by @dependabot in #765
  • Increment aleph-message package version by @nesitor in #774
  • Fix: Missing type annotation by @Antonyjin in #773
  • Hoh upgrade kubo by @hoh in #778
  • Fix buggy settings aggregate cache implementation by @olethanh in #781
  • Allow /56 subnet for ipv6 pool by @olethanh in #761

Full Changelog: 1.4.1...1.4.2

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.4.2/aleph-vm.debian-12.deb
apt install /opt/aleph-vm.debian-12.deb

On 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.4.2/aleph-vm.ubuntu-22.04.deb
sudo apt install /opt/aleph-vm.ubuntu-22.04.deb

On 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.4.2/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb

2. Enable GPU support (optional)

In order to enable GPU support on your Compute Resource Node, you must:

  1. Ensure that your system have a compatible GPU card.
  2. Detach GPU cards from the kernel module drivers and attach it to QEMU vfio drivers.
  3. Enable GPU support in the aleph-vm configuration.

Please follow these instructions

Enable GPU in the configuration of aleph-vm, by default in /etc/aleph-vm/supervisor.env. This is not the default yet.

ALEPH_VM_ENABLE_GPU_SUPPORT=True

After launching the server you can check the endpoint
http://localhost:4020/status/config or https://<your-node-domain>/status/config and verify that ENABLE_GPU_SUPPORT has the value true.

1.4.1

21 Feb 14:29
f3ef334
Compare
Choose a tag to compare

We are excited to announce our release for aleph-vm in version 1.4.1 !

This new release of aleph-vm fixes bugs related to persistent executions, pricing, and network checks.

Bug Fixes

  • load_persistent_executions Start Error: Fixed a start error in the load_persistent_executions function. (PR #759)
  • Notify Endpoint Pricing: Resolved a pricing calculation issue on the /notify endpoint. (PR #758)
  • DiagnosticVM IPv4 Check: Fixed an issue in DiagnosticVM to force IPv4 connection on the /internet check. (PR #760)

Full List

  • Fix start error in load_persistent_executions by @olethanh in #759
  • Solve pricing calculation issue on Notify endpoint by @nesitor in #758
  • Fix DiagnosticVM, force ipv4 connexion on /internet check by @olethanh in #760

Full Changelog: 1.4.0...1.4.1

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.4.1/aleph-vm.debian-12.deb
apt install /opt/aleph-vm.debian-12.deb

On 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.4.1/aleph-vm.ubuntu-22.04.deb
sudo apt install /opt/aleph-vm.ubuntu-22.04.deb

On 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.4.1/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb

2. Enable GPU support (optional)

In order to enable GPU support on your Compute Resource Node, you must:

  1. Ensure that your system have a compatible GPU card.
  2. Detach GPU cards from the kernel module drivers and attach it to QEMU vfio drivers.
  3. Enable GPU support in the aleph-vm configuration.

Please follow these instructions

Enable GPU in the configuration of aleph-vm, by default in /etc/aleph-vm/supervisor.env. This is not the default yet.

ALEPH_VM_ENABLE_GPU_SUPPORT=True

After launching the server you can check the endpoint
http://localhost:4020/status/config or https://<your-node-domain>/status/config and verify that ENABLE_GPU_SUPPORT has the value true.

1.4.0

19 Feb 20:11
Compare
Choose a tag to compare

We are excited to announce our release for aleph-vm in version 1.4.0 !

This new release of aleph-vm includes new features related to GPU support and system information, bug fixes for payment monitoring and VM restarts, improvements to the garbage collector, and other enhancements.

New Features

  • GPU List in System Usage Endpoint: Added a list of available GPUs to the /about/usage/system endpoint. (PR #726)
  • GPU Compatibility System: Implemented a system to manage GPU compatibility. (PR #747)
  • Ubuntu 24.04 QEMU Runtime: Created a new QEMU runtime specifically for Ubuntu 24.04. (PR #754)

Bug Fixes

  • Payment Stream Monitoring Regression: Fixed a regression that affected the monitoring of the payment stream. (PR #749)
  • Automatic VM Restarts: Resolved an issue causing Aleph VMs to restart automatically. (PR #750)
  • IPv6 Egress Check: Corrected a problem where the IPv6 egress check was falsely reporting "ok". (PR #755)
  • Metrics on Misconfigured IPv6: Fixed issues with metrics reporting when IPv6 was misconfigured. (PR #757)

Improvements

  • Garbage Collector Enhancement: Improved the garbage collector to free disk space from inactive VMs. (PR #746)
  • aleph-message Upgrade: Upgraded the aleph-message library. (PR #753)
  • Default Log Level: Changed the default log level to "info". (PR #756)

Other Changes

  • README Typo Fix: Corrected a minor typo in the README.md file. (PR #752)

What's Changed

Full Changelog: 1.3.1...1.4.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.4.0/aleph-vm.debian-12.deb
apt install /opt/aleph-vm.debian-12.deb

On 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.4.0/aleph-vm.ubuntu-22.04.deb
sudo apt install /opt/aleph-vm.ubuntu-22.04.deb

On 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.4.0/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb

2. Enable GPU support (optional)

In order to enable GPU support on your Compute Resource Node, you must:

  1. Ensure that your system have a compatible GPU card.
  2. Detach GPU cards from the kernel module drivers and attach it to QEMU vfio drivers.
  3. Enable GPU support in the aleph-vm configuration.

Please follow these instructions

Enable GPU in the configuration of aleph-vm, by default in /etc/aleph-vm/supervisor.env. This is not the default yet.

ALEPH_VM_ENABLE_GPU_SUPPORT=True

After launching the server you can check the endpoint
http://localhost:4020/status/config or https://<your-node-domain>/status/config and verify that ENABLE_GPU_SUPPORT has the value true.

Aleph-vm 1.3.1

30 Jan 12:52
7f89c89
Compare
Choose a tag to compare

We are excited to announce our release for aleph-vm in version 1.3.1 !

This new release of aleph-vm solve little issues we experimented with firewall rules and also improves the logging on VMs.

New Features

  • IPv6 DNS Support: Added the ability to use IPv6 addresses for DNS resolution. (PR #455)
  • JSON Logs Endpoint for Finished Executions: Introduced a new endpoint specifically for retrieving JSON logs from completed VM executions. (PR #718)

Improvements

  • Improved Logging: Enhanced logging mechanisms and added logging capabilities per VM for better debugging and monitoring. (PR #724)
  • Contributor Documentation: Improved documentation for contributors to make it easier to contribute to the project. (PR #723)
  • Volume Naming: Added a name for Volumes at startup if one is not already present. (PR #730)
  • Dependency Update: Updated aiohttp from 3.9.5 to 3.10.11. (PR #733)
  • aleph-message Upgrade: Upgraded aleph-message to version 0.6. (PR #744)
  • Volume Name Sanitization: Implemented sanitization of volume names to prevent issues. (PR #743)
  • Unified Branding: Applied unified branding to the node index page. (PR #745)

Bug Fixes

  • IGNORE_TRACEBACK_FROM_DIAGNOSTICS Issue: Fixed a problem with the IGNORE_TRACEBACK_FROM_DIAGNOSTICS setting. (PR #713)
  • "Too Many Open Files" Error: Resolved an issue causing the "Too many open files" error. (PR #720)
  • CI Docker Issue: Fixed a toomanyrequests error encountered during CI docker builds. (PR #725)
  • Network Interface Deletion Error: Addressed an error that occurred when deleting network interfaces. (PR #731)
  • Deleted Instance Not Stopping: Fixed an issue where deleted instances were not properly stopping due to a problem with the monitor_payment process. (PR #735)
  • Qemu Hang on Failed Boot: Resolved an issue where Qemu would hang silently on a failed boot. (PR #734)
  • VM Logs Websocket Issue: Fixed a problem causing the VM logs websocket endpoint to get stuck. (PR #736)
  • Allocation Halted on Missing Hash: Fixed an issue where allocation would halt due to a missing hash (ALEPH-337). (PR #737)
  • "Message Not Found" Error Display: Improved error handling to display a proper message when a message is not found. (PR #738)
  • ConnectionClosedError in Guest API: Fixed a ConnectionClosedError that occurred in the guest API. (PR #739)
  • Instance IPv4 Network Stopping: Resolved an issue where the instance IPv4 network (NAT) would stop functioning. (PR #742)
  • AssertionError in status_check_fastapi: Fixed an AssertionError in the aleph.vm.orchestrator.views.status_check_fastapi function. (PR #740)
  • Runtime Reboot Signal: Corrected an issue where the runtime emitted the wrong reboot signal. (PR #741)

Other Changes

  • Pull Request Template Update: Updated the PULL_REQUEST_TEMPLATE.md file to include checks for dependencies. (PR #722)
  • CI Compiling Issue Solved: Resolved a compiling issue in the Continuous Integration (CI) pipeline. (PR #727)
  • Ruff Integration: Integrated ruff for code formatting and documented code quality guidelines. (PR #729)

Full List

  • Feature: allow IPv6 DNS by @olethanh in #455
  • Problem: IGNORE_TRACEBACK_FROM_DIAGNOSTICS broken by @olethanh in #713
  • Problem: error Too many open files by @olethanh in #720
  • Update PULL_REQUEST_TEMPLATE.md for dependencies check by @olethanh in #722
  • CI: docker: Error response from daemon: toomanyrequests by @olethanh in #725
  • Improve logging, Add logging per VM by @olethanh in #724
  • Improve documentation for contributors by @olethanh in #723
  • Add json logs endpoint which works for finished execution by @olethanh in #718
  • Solve CI compiling issue by @nesitor in #727
  • Use ruff for formatting and document code quality by @olethanh in #729
  • Fix error Deleting network interface by @olethanh in #731
  • Chore(deps): Bump aiohttp from 3.9.5 to 3.10.11 by @olethanh in #733
  • Problem Deleted Instance not stopping - monitor_payment by @olethanh in #735
  • Add a name for Volume at start if not present by @olethanh in #730
  • Fix Qemu hang silently on failed boot by @olethanh in #734
  • Fix VM logs websocket endpoint getting stuck by @olethanh in #736
  • update allocation halted on missing hash ALEPH-337 by @olethanh in #737
  • Display proper error for message not found by @olethanh in #738
  • Fix guest-api ConnectionClosedError: Reader at end of file by @olethanh in #739
  • Fix instance ip4 network stopping (nat) by @olethanh in #742
  • Upgrade aleph-message to 0.6 by @olethanh in #744
  • Fix AssertionError aleph.vm.orchestrator.views.status_check_fastapi by @olethanh in #740
  • Sanitize volume names by @nesitor in #743
  • Fix: Runtime emitted wrong reboot signal by @hoh in #741
  • Unified branding on node index page style by @nesitor in #745

Full Changelog: 1.3.0...1.3.1

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.3.1/aleph-vm.debian-12.deb
apt install /opt/aleph-vm.debian-12.deb

On 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.3.1/aleph-vm.ubuntu-22.04.deb
sudo apt install /opt/aleph-vm.ubuntu-22.04.deb

On 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.3.1/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb

Aleph-vm 1.3.0

04 Nov 18:26
5acbdef
Compare
Choose a tag to compare

We are excited to announce our release for aleph-vm in version 1.3.0 !

The team has been working hard to ship this major new release.

New Features and Improvements

  • Improved: The logic for assigning unique identifiers (vm_id) to virtual machines for better reliability (by @olethanh).
  • New Feature: Added support for new Ethereum Virtual Machine (EVM) chains (by @nesitor).

Bug fixes

  • Fixed: An issue where FirecrackerVM wouldn't work if /var/lib and /var/cache directories were located on separate partitions (by @olethanh).
  • Fixed: A problem where Sentry error reporting wasn't including release information (by @olethanh).
  • Fixed: An issue preventing sevctl installation on Ubuntu systems (by @olethanh).

What's Changed

  • FirecrackerVM drive not working if /var/lib and /var/cache on two sep… by @olethanh in #711
  • Problem: Sentry reporting didn't have release information by @olethanh in #712
  • Problem: sevctl installation broken on Ubuntu by @olethanh in #715
  • Make vm_id assignment more robust by @olethanh in #714
  • Implement new EVM chains by @nesitor in #717

Full Changelog: 1.2.0...1.3.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.3.0/aleph-vm.debian-12.deb
apt install /opt/aleph-vm.debian-12.deb

On 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.3.0/aleph-vm.ubuntu-22.04.deb
sudo apt install /opt/aleph-vm.ubuntu-22.04.deb

On 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.3.0/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb

2. Enable Confidential Computing (optional)

In order to enable Confidential Computing on our Compute Resource Node, you must:

  1. Use an AMD CPU from the 8004 or 9004 families.
  2. Ensure that your system supports confidential computing. We have only tested Ubuntu 24.04 so far.
  3. Enable SEV and SEV-SNP in the BIOS.
  4. Enable confidential computing in the aleph-vm configuration.

Enable SEV in the configuration of aleph-vm, by default in /etc/aleph-vm/supervisor.env. This is not the default yet.

ALEPH_VM_ENABLE_CONFIDENTIAL_COMPUTING=True

After launching the server you can check the endpoint
http://localhost:4020/status/config or https://<your-node-domain>/status/config and verify that ENABLE_CONFIDENTIAL_COMPUTING has the value true.

Aleph-vm 1.2.0

14 Oct 10:21
Compare
Choose a tag to compare

We are excited to announce our release for aleph-vm in version 1.2.0 !

The team has been working hard to ship this major new release.

Bug Fixes

  • Removed support for the deprecated Debian 11 Bullseye operating system. (PR #693)
  • Fixed various issues identified in tests (PR #689, #692, #696, #697, #699, #700, #710). This includes:
    • Non-deterministic teardown during testing.
    • Test failures not being clearly indicated.
    • QEMU VM being killed prematurely before shutdown.
    • Dictionary size modification during iteration.
    • Solana wallet not being usable for VM control.
    • Errors related to confidential initialization and message fetching.
  • Ensured clearer error messages for failing test cases. (PR #697)

New Features and Improvements

  • Added a return type to the aleph.vm.utils.to_json function for better type safety. (PR #704)
  • Integrated tools for code formatting and linting:
    • pyproject-fmt (PR #707)
    • yamllint (PR #705)
  • Renamed the Hatch linting environment for clarity. (PR #706)
  • Improved user experience by displaying a message when CoCo disk creation is aborted. (PR #709)
  • Enhanced API response format for the /confidential/initialize endpoint. (PR #708)

What's Changed

  • Fix: Debian 11 Bullseye is deprecated, remove it by @hoh in #693
  • Fix 199 ruff errors by @hoh in #689
  • Problem: Non deterministic teardown by @olethanh in #696
  • Problem: Test failing not clearly by @olethanh in #697
  • Problem: QEMUVM killed before shutdown command by @olethanh in #698
  • Fix: dictionary changed size during iteration by @hoh in #699
  • Problem: Test test_websocket_logs_invalid_auth fail on Python 3.12.3 by @olethanh in #692
  • Debug Error Unknown exception while deleting address by @olethanh in #703
  • Problem: error org.freedesktop.systemd1.NoSuchUnit: Unit aleph-vm-con… by @olethanh in #702
  • feat: add return type to aleph.vm.utils.to_json by @Psycojoker in #704
  • add pyproject-fmt by @Psycojoker in #707
  • feat: add yamlfix by @Psycojoker in #705
  • chore: rename hatch lint env to linting by @Psycojoker in #706
  • Problem: Solana wallet couln't be used to control the VM by @olethanh in #700
  • Endpoint /confidential/initialize return json error now and proper https status by @olethanh in #708
  • Display message when CoCo disk creation abort by @olethanh in #709
  • Fix: Error fetching message from vm-connector for start_watch_for_messages_task by @olethanh in #710

Full Changelog: 1.1.0...1.2.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.2.0/aleph-vm.debian-12.deb
apt install /opt/aleph-vm.debian-12.deb

On Ubuntu 22.04 (Jammy Jellyfish):

rm -f /opt/aleph-vm.ubuntu-22.04.deb
sudo wget -P /opt https://github.com/aleph-im/aleph-vm/releases/download/1.2.0/aleph-vm.ubuntu-22.04.deb
sudo apt install /opt/aleph-vm.ubuntu-22.04.deb

On Ubuntu 24.04 (Noble Numbat):

rm -f /opt/aleph-vm.ubuntu-24.04.deb
sudo wget -P /opt https://github.com/aleph-im/aleph-vm/releases/download/1.2.0/aleph-vm.ubuntu-24.04.deb
sudo apt install /opt/aleph-vm.ubuntu-24.04.deb

2. Enable Confidential Computing (optional)

In order to enable Confidential Computing on our Compute Resource Node, you must:

  1. Use an AMD CPU from the 8004 or 9004 families.
  2. Ensure that your system supports confidential computing. We have only tested Ubuntu 24.04 so far.
  3. Enable SEV and SEV-SNP in the BIOS.
  4. Enable confidential computing in the aleph-vm configuration.

Enable SEV in the configuration of aleph-vm, by default in /etc/aleph-vm/supervisor.env. This is not the default yet.

ALEPH_VM_ENABLE_CONFIDENTIAL_COMPUTING=True

After launching the server you can check the endpoint
http://localhost:4020/status/config or https://<your-node-domain>/status/config and verify that ENABLE_CONFIDENTIAL_COMPUTING has the value true.