Weekly status for the week of 8th April to 14th April.
Introduction
This week has seen some improvements to how web browsers are treated when interacting with the LXD HTTPS listener, as well as some new networking diagrams and the usual selection of bug fixes.
Web page is now shown if browsing to /ui
when UI is disabled in the snap
An HTML web page is now displayed if browsing to /ui
on a LXD server’s core.https_address
and the LXD UI is disabled in the snap.
Additionally if browsing to /
and the HTTP user agent is detected as a web browser (when the User Agent string contains Gecko
) then the request is now always redirected to /ui
irrespective if the UI is enabled or not.
In this way end users browsing to a LXD server’s IP address with the UI disabled will now see a web page linking them to the documentation on how to enable the UI.
Documentation: Enable or disable the UI
New OVN network architecture diagrams
The documentation now contains some OVN network architecture diagrams to assist with explaining how LXD and OVN work together.
Documentation: OVN networking architecture
Bug fixes
- Fixed issue with
core.dns_address
being set to an address of a LXD managed network bridge. Previously this could cause the DNS service to fail to start if LXD had not configured the network interface on restart. Now the DNS listener is brought up after the managed networks are activated. - Fixed regression when using
both $(id -u) 0
as theraw.idmap
value for adisk
device.
All changes
The items listed below is all of the work which happened over the past week and which will be included in the next release.
LXD
- lxd: Start the DNS listener after the networks are started
- lxd: Display HTML error page with a link to the LXD documentation when the UI is disabled
- build(deps): bump github.com/openfga/openfga from 1.5.1 to 1.5.2
- build(deps): bump github.com/osrg/gobgp/v3 from 3.24.0 to 3.25.0
- build(deps): bump golang.org/x/sync from 0.6.0 to 0.7.0
- Device: Fix diskAddRootUserNSEntry to add root mapping only if it’s required
- Backports (stable-5.21)
- doc/file push: include information about permission flags
- doc: clarify relation between proxy devices and network forwards
- README: add MicroCloud to the list of tools for managing LXD
- Additional bash completions and fixes
- fix(deps): update module github.com/openfga/openfga to v1.5.3 [security]
- doc/faq: add an entry about ZFS 2.1 being required
- doc/requirements: fix ZFS requirements (stable-5.21)
- Backports (stable-5.0)
- Ensure linter scripts are executable and properly named
- Backports (stable-5.21)
- doc/ovn: include networking architecture figures
- doc/ui: add instructions for enabling or disabling the UI
- github: add package arg to lxd-snapcraft
- github: use non-shallow clones for differential shellcheck
LXD Charm
Distribution work
This section is used to track the work done in downstream Linux distributions to ship the latest LXD as well as work to get various software to work properly inside containers.
Ubuntu
- Nothing to report this week.
LXD snap
- snapcraft/hooks: Use mkdir -p for ovn interface
- snapcraft/hooks: Use mkdir -p for ovn interface (latest-candidate)
- snapcraft/hooks: Use mkdir -p for ovn interface (5.21-edge)
- snapcraft/hooks: Use mkdir -p for ovn interface (5.21-candidate)
- zfs: Reinstate ZFS 0.8 for Bionic and Focal support (5.21-edge)
- lxd: Cherry-pick upstream fixes (5.21-candidate)
- lxd: Cherry-pick upstream fixes (latest-candidate)
- zfs: Reinstate ZFS 0.8 for Bionic and Focal support (5.21-candidate)
- snapcraft/commands/daemon.start: consistently use
mkdir -p /etc/ovn
- snapcraft/commands/daemon.start: consistently use
mkdir -p /etc/ovn
(5.21-edge) - snapcraft/commands/daemon.start: consistently use
mkdir -p /etc/ovn
(5.21-candidate) - snapcraft/commands/daemon.start: consistently use
mkdir -p /etc/ovn
(latest-candidate) - connect-plug-ovn-certificates: gracefully handle /etc/ovn being a symlink
- ui: fix build by using node20 and align build steps to latest-edge track (5.0-edge)
- lxd: Cherry-pick upstream fixes (5.0-candidate)
- lxd: Cherry-pick upstream fixes (5.0-candidate)
- github: add package arg to lxd-snapcraft
- github: add package arg to lxd-snapcraft