What's new in MAAS (snap/2.8/ui)

2.7 2.8 2.9 3.0
Snap CLI ~ UI CLI ~ UI CLI ~ UI CLI ~ UI
Packages CLI ~ UI CLI ~ UI CLI ~ UI CLI ~ UI

MAAS 2.8 release notes

MAAS 2.8.6 released

MAAS 2.8.6 has been released, replacing the 2.8/stable channel in snap and the ppa:maas/2.8. You can update your 2.8 release to 2.8.6 with the command:

snap refresh --channel=2.8/stable

or by using the aforementioned PPA. 2.8.6 has one critical bug fix, related to an inability to deploy machines with static IP addresses in MAAS 2.8. No other changes have been made to MAAS with this release.

MAAS 2.8.5 released

MAAS 2.8.5 has been released, replacing the 2.8/stable channel in snap and the ppa:maas/2.8. You can update your 2.8 release to 2.8.5 with the command:

snap refresh --channel=2.8/stable

or by using the aforementioned PPA. 2.8.5 has two high-priority bug fixes, including a fix for failing to allocate AUTO IP addresses and a carry-along fix for unconfigured interfaces when doing complex VM composing. No other changes have been made to MAAS with this release.

MAAS 2.8.4 released

MAAS 2.8.4 has been released, replacing the 2.8/stable channel in snap and the ppa:maas/2.8. You can update your 2.8 release to 2.8.4 with the command:

snap refresh --channel=2.8/stable

or by using the aforementioned PPA. 2.8.4 has a single bug fix. No other changes have been made to MAAS with this release.

MAAS 2.8.3 released

MAAS 2.8.3 has been released, replacing the 2.8/stable channel in snap and the ppa:maas/2.8. You can update your 2.8 release to 2.8.3 with the command:

snap refresh --channel=2.8/stable

or by using the aforementioned PPA. The focus for this release has been bugfixing and more bugfixing. No other changes have been made to MAAS with this release.

Here’s a summary of the bugs that were fixed in 2.8.3:

  • DNS Servers not set as expected: MAAS was using the region controller IP in dhcpd.conf when other DNS servers are present, effectively bypassing the rack controller proxy to machines. The code was updated to use the region controller IP for DNS only if no other DNS servers are found.

  • not able to import new image after MAAS upgrade: After upgrading from MAAS 2.6.2 to snap-MAAS 2.8.1, it is impossible to import a new image. This was fixed in MAAS 2.8.3.

  • an unlogged chown permission error leaves a temporary file behind: Fixed in MAAS 2.8.3.

  • smartctl-validate fails to detect that NVME device is SMART-capable: MAAS 2.8.2 fails to realise that WD Black gaming NVMEs are smart devices, hence MAAS doesn’t display attributes. This is fixed in 2.8.3.

  • cannot use release API on stuck observed IPs: The CLI/API provide commands for forcing the release of an IP, but MAAS 2.8.2 was not allowing these commands to run successfully. This was fixed. There is also a workaround for those who cannot upgrade to 2.8.3 right away:

    $ sudo -iu postgres psql
    \c $MAAS_DB \ – switch to $MAASDB
    UPDATE maasserver_staticipaddress SET alloc_type = 5 where ip = ‘$IP_ADDRESS’ AND alloc_type = 6;
    ^D
    $ maas $PROFILE ipaddresses release ip=’$IP_ADDRESS’ force=true

  • MAAS is unable to handle duplicate UUIDs: The firmware for Dell servers (and possibly others) has a bug whereby they use the service number for the UUID, which is not guaranteed to be unique. This caused MAAS commissioning to fail. The code was modified in 2.8.3 to detect and remove duplicate UUIDs, allowing MAAS to fall back to the MAC address. There is also a database workaround for those who cannot upgrade to 2.8.3 right away:

    UPDATE maasserver_node SET hardware_uuid=NULL where hardware_uuid=’$DUPLICATE_UUID’;

  • Ubuntu 20.04 pxe installation fails…:
    When trying to PXE install Ubuntu 20.04, the installation fails with “no such file or directory, /dev/disk/by-id exception.” This was an issue with block devices being created without serial numbers, bug fixed in curtin and released with 2.8.3.

  • Failed to allocate the required AUTO IP addresses after 2 retries: MAAS incorrectly perceives that there are no available IP addresses, when in fact, there are plenty still available. This is fixed in 2.8.3.

  • maas 2.9 rc1 machines create error (backport): Adding commission=true to a CLI machine creation command produces an error. This was fixed in 2.9 and back-ported to 2.8.3.

  • Lists of LXD nodes are represented in an incompatible data structure: Fixed in 2.8.3.

  • Deselecting all architectures in the Ubuntu extra architectures repo blocks all deployments (backport). The default architectures have been changed to prevent this issue. This was fixed in 2.9 and back-ported to 2.8.3.

  • Can’t commission without a test (backport): MAAS 2.8 does not allow machines to be commissioned with zero tests selected; this occurs only for multiple machines, and only when commissioning from the UI. This was fixed in 2.9 and back-ported to 2.8.3.

Note that there is a workaround for those not ready to upgrade to 2.8.3, specifically, using the CLI to commission machines without testing them:

maas $PROFILE machine commission $SYSTEM_ID testing_scripts=none

MAAS 2.8.2 released

On 1 September 2020, MAAS 2.8.2 was released, replacing the 2.8/stable channel in snap and the ppa:maas/2.8. You can update your 2.8 release to 2.8.2 with the command:

snap refresh --channel=2.8/stable

or by using the aforementioned PPA. The focus for this release has been bugfixing – there were no changes to MAAS since RC1.

Thanks to everyone who reported the issues with previous 2.7 releases and helped us with the logs.

MAAS 2.8 released

Following on from MAAS 2.7, we are happy to announce that MAAS 2.8 is now available. This release features some critical bug fixes, along with some exciting new features.

Six questions you may have:

  1. What are the new features & fixes for 2.8?
  2. What known issues should I be aware of?
  3. How do I install MAAS 2.8 as a snap?
  4. How do I upgrade my MAAS 2.7 snap to a MAAS 2.8 snap?
  5. How do I install MAAS 2.8 from packages?
  6. What bugs were fixed in this release?

LXD-based VM host support (Beta)

MAAS 2.8 adds the beta capability to use LXD-based VM hosts and virtual machines (VMs), in addition to the libvirt-based VM hosts/VMs already available. These new LXD VM hosts use the same underlying technology as libvirt (QEMU). Unlike libvirt KVMs, though, LXD VMs can be managed without requiring SSH access to the VM host. LXD are remotely accessed via secure HTTP transport, which provides better security for LXD-based VMs. In addition, LXD has a better API, and is part of a much larger constellation of enterprise software, offering a wider range of future features and use cases.

UI performance improvements for the machine listing page

Within MAAS 2.8, we have made a number of performance improvements to everything related to the machine listing. Some of the most visible changes involve the way that long lists are presented within categories (see the example below), but there are a number of other changes that make the list easier and more efficient to use.

Among those other changes are persisting UI state for grouping, new grouping options, bookmark-able URLs with filter and search parameters, and many other performance improvements. If you’re interested in more details, see this blog post.

Support for using an external/remote PostgreSQL MAAS database with the snap version of MAAS

In order to make MAAS more scalable, we have separated the MAAS database from the MAAS snap, so that the DB can be situated separately. MAAS 2.8 now allows the MAAS DB to be located outside the snap on localhost, or on a separate, external or remote server. We complement this capability with extensive instructions for setting up and managing this configuration. To support those who are testing MAAS, we’ve also provided a test DB configuration that embeds the database in a separate snap that can easily be connected to MAAS.

Bug fixes

We’ve also fixed number of bugs (see the list in Launchpad). Notable among these are the following:

Known issues

  • Browser caching issue: There is a known issue with browser caching on some MAAS pages. If you initially encounter a page which does not appear to be correctly formatted, please manually clear your browser cache (not Ctrl-F5) and it should restore the page to normal. You manually clear your browser cache, for example, in the “History” section of the menu on a Chrome browser.

  • Extra power types when adding chassis: (see bug report) When adding a chassis, the “Power type” drop-down will show power types not supported by a chassis. Selecting one of the non-supported power types will result in the UI blocking the action. Here is a list of power types supported for chassis creation:

    • mscm - Moonshot Chassis Manager
    • msftocs - Microsoft OCS Chassis Manager
    • powerkvm - Virtual Machines on Power KVM, managed by Virsh
    • recs_box - Christmann RECS|Box servers
    • sm15k - SeaMicro 1500 Chassis
    • ucsm - Cisco UCS Manager
    • virsh - virtual machines managed by Virsh
    • vmware - virtual machines managed by VMware
  • MAAS keys count in user list is bogus: (see bug report) The count of keys shown in the User list in the UI is wrong.

  • Leftover lock files may be present under some conditions: Even if you purge an old MAAS Debian package, it can leave lock files in /run/lock/maas*. This can cause issues if you later reinstall MAAS, and the previous MAAS user UID has been reassigned. At that point, MAAS can’t remove those files and create new ones. If this occurs, it is easily fixed by removing those files manually before reinstalling.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.