Anbox Cloud OS Conflicting Requirements

The version 1.24 release notes indicate that support for Ubuntu 20.04 is removed. However The requirements page indicates that Ubuntu 20.04 is required for the HAProxy load balancer since it does not support 22.04. Is this a case of out of date documentation and it’s okay to proceed with Ubuntu 22.04 for all machines in a fresh bare metal deployment?

https://documentation.ubuntu.com/anbox-cloud/reference/release-notes/1.24.0/
https://documentation.ubuntu.com/anbox-cloud/reference/requirements/#sec-minimum-hardware-requirements

Hello @tk-dev, thanks for reaching out.

The HAProxy load balancer recently added support for 22.04 and 24.04. We are planning to use this latest revision starting June 2025 tentatively. In the mean time, we will update the note about HAProxy to be more clear to reflect that at the time of removing Ubuntu 20.04 support, our intention was to remove Ubuntu 20.04 support to all charms maintained by the Anbox Cloud team, which makes the HAProxy out of our scope.

To answer your question, it should be okay to proceed with Ubuntu 22.04 for all machines but the HAProxy load balancer will require a manual bump to the latest revision supporting Ubuntu 22.04 and 24.04.

How would one accomplish the manual bump for the unit? Currently a fresh manual deployment fails with the following message:

ERROR cannot deploy bundle: cannot add unit for application "anbox-stream-gateway-lb": acquiring machine to host unit "anbox-stream-gateway-lb/0": cannot assign unit "anbox-stream-gateway-lb/0" to machine 1: base does not match: unit has "ubuntu@20.04", machine has "ubuntu@22.04"

@tk-dev have a look at the following paste bin Ubuntu Pastebin That shows how you can adjust the Juju bundle to fit the haproxy application onto a machine running Ubuntu 22.04