Comment 0 for bug 2045703

Revision history for this message
Jeremy BĂ­cha (jbicha) wrote :

Impact
======
The purpose of osinfo-db is to provide a database of guest operating systems for use by virtualization provisioning tools using the libosinfo library. The two primary users are the GNOME Boxes and Virt Manager apps.

This SRU updates the database to the latest release, which updates the data for many non-Ubuntu Linux distros.

It also includes patches
1. Add initial 24.04 LTS release data. Because it is marked prerelease, it will not shown in the Download an OS feature of GNOME Boxes, but at least a 24.04 LTS ISO will be recognized as Ubuntu 24.04 LTS.
2. Update data for the Ubuntu 23.10 stable release. The existing data was prerelease.
3. Mark 23.10 as the latest stable Ubuntu release.
4. Update the 22.04 LTS download links to use the "latest" redirect links so that they will keep working after a new 22.04 LTS point release. Currently, they are broken because they were pointing to 22.04.2.

Test Case 0
===========
osinfo-db has an extensive test suite to validate the data files. If the test suite fails, it will fail the build. These tests are also run as autopkgtests.

Ensure the build succeeds and the autopkgtest passes

Test Case 1
===========
1. Install the update
2. Open a terminal and run
sudo apt install gnome-boxes
3. Run gnome-boxes
4. Click + then press "Download an operating system" (The UI varies depending on the version of gnome-boxes).
5. Select Ubuntu 23.10 x86_64 (Live)
6. The ISO will download to your Downloads folder
7. When it completes, the wizard will prompt you to create a Ubuntu 23.10 box.
Enable the Express Install option.
Complete the wizard (it likely asks for a username and password).
8. Ubuntu 22.10 should successfully install in the virtual machine without user interaction needed. After the install, the virtual machine will reboot. Click the Virtual Machine and log into the Ubuntu 22.10 virtual machine.
9. Open a terminal and run this command: cat /etc/os-release

10. Afterwards, you can power off the virtual machine.

Test Case 2
===========
From a terminal, run
osinfo-query os vendor="Canonical Ltd"

Ubuntu 22.04 LTS, Ubuntu 23.04, Ubuntu 23.10, and 24.04 LTS should be included in the list.

Where problems could occur
==========================
It is always possible to use ISOs not recognized by osinfo-db with either GNOME Boxes or Virt Manager. osinfo-db provides useful metadata like recommended RAM, recommended hard disk size, and what virtualized hardware interfaces are supported.

This update significantly improves the ability of those apps to recognize distros released in 2023 while also making improvements to older distros.

The most likely possible problem is that some download links may no longer work. However, we know that the Ubuntu 22.04 LTS download link was broken before this update so the download links will be better with this update.