Public bug reported:

[Impact]

Ubuntu and the Ubuntu Cloud Archive still ship the first or an early point 
release of Cinder for each OpenStack series.
Upstream has published later stable point releases that group fixes for the 
volume and backup drivers, the API and cinder-manage.
Users on these series do not get those fixes today.
This update moves each series to the latest upstream stable point release under 
the OpenStack stable release exception.

The update contains the following package updates:

 * cinder 29.2.0 (Stonking/Hibiscus, Resolute Hibiscus UCA), from 29.0.0, 5 
upstream changes
 * cinder 28.2.0 (Resolute/Gazpacho, Noble Gazpacho UCA), from 28.0.0, 13 
upstream changes
 * cinder 27.2.0 (Noble Flamingo UCA), from 27.0.0, 22 upstream changes
 * cinder 26.4.0 (Noble Epoxy UCA), from 26.0.0, 32 upstream changes
 * cinder 25.3.1 (Noble Dalmatian UCA), from 25.0.0, 33 upstream changes
 * cinder 24.5.0 (Noble/Caracal, Jammy Caracal UCA), from 24.2.0, 21 upstream 
changes

Examples of the upstream changes that users are missing:

 * RBD: Fix upload volume with different format (24.5.0, 25.3.1)
 * RBD: Fix handling of RBD errors in get_manageable_volumes (24.5.0, 25.3.1)
 * NFS driver: Fix fail creating volume with multiple snapshots (24.5.0, 
25.3.1, 26.4.0)
 * Fix type passed to write function during backup restoration (24.5.0, 25.3.1, 
26.4.0)
 * HPE 3par iSCSI: getWsApiVersion now requires login (24.5.0, 25.3.1)
 * HPE 3par - skip license check for new wsapi (25.3.1, 26.4.0)
 * Respond with HTTP 409 on resource conflict (24.5.0, 25.3.1, 26.4.0)
 * Fix "cinder-manage quota check" (24.5.0)
 * Address CVE-2026-93856 (26.4.0, 27.2.0, 28.2.0, 29.2.0)
 * Fix ssh injection sanitizer utility, Scope attachments by their own volume's 
project, Disallow invalid IQNs in Cinder iSCSI targets (27.2.0, 28.2.0, 29.2.0)

[Test Plan]

The OpenStack QA process is followed:
https://documentation.ubuntu.com/sru/en/latest/reference/exception-OpenStack-Updates

For every Ubuntu release and Cloud Archive pocket listed above:

1. Deploy OpenStack with the stable charms from the archive without -proposed, 
with Ceph RBD as the Cinder backend and cinder-backup enabled.
2. Run the Tempest smoke target and record the result.
3. Create a volume, attach it to an instance, write a file to it and record the 
checksum.

    openstack volume create --size 1 sru-vol
    openstack server add volume sru-vm sru-vol
    # inside the instance
    sudo mkfs.ext4 /dev/vdb && sudo mount /dev/vdb /mnt
    sudo dd if=/dev/urandom of=/mnt/data bs=1M count=100 && sudo sync
    sha256sum /mnt/data

4. Create a snapshot and a backup of the volume.

    openstack server remove volume sru-vm sru-vol
    openstack volume snapshot create --volume sru-vol sru-snap
    openstack volume backup create --name sru-backup sru-vol

5. Enable -proposed on the cinder units, upgrade the cinder packages and 
restart the Cinder services.
6. Record the installed version.

    apt policy cinder-common
    dpkg -l | grep cinder

7. Run the Tempest smoke target again.
8. Attach the old volume again and compare the checksum.
9. Create a volume from the snapshot, restore the backup to a new volume, 
attach both and compare the checksums.

    openstack volume create --snapshot sru-snap --size 1 sru-vol-from-snap
    openstack volume backup restore sru-backup sru-vol-restored

10. Create, attach, detach and delete a new volume.

Expected result:

 * All Tempest smoke tests pass before and after the upgrade.
 * The checksum of the old volume, of the volume created from the snapshot and 
of the restored backup equals the checksum recorded in step 3.
 * apt policy shows the -proposed version listed in [Other Info].
 * The cinder autopkgtests (cinder-daemons, cinder-volume) pass.

Series that keep Ubuntu patches on top of the new upstream version also
run the Test Plan of those bugs against the -proposed package:

 * LP: #2144550 on Noble, Jammy Caracal UCA and Dalmatian UCA.
 * LP: #2165345 on Noble, Jammy Caracal UCA, Dalmatian UCA, Epoxy UCA and 
Flamingo UCA.

The output summary of the test runs is attached to this bug before any
verification tag is changed.

[Where problems could occur]

 * The RBD, NFS, HPE 3PAR, Dell PowerMax, Pure Storage, NetApp, Hitachi and 
Quobyte drivers change in one or more of these releases.
   A regression there shows up as failed volume create, attach, snapshot, 
upload-to-image or backup operations on that backend.
   The Test Plan exercises Ceph RBD only, so the other backends are covered by 
the upstream unit tests that run during the package build.
 * 24.5.0 loads Guru Meditation Report support in cinder-wsgi and needs 
oslo.reports >= 3.2.0.
   With an older oslo.reports the cinder API under Apache would fail to start.
   debian/control raises the dependency, and Noble and the Caracal UCA ship 
3.3.0 (checked by the package build and the Tempest run).
 * 24.5.0, 25.3.1 and 26.4.0 answer attachment requests for a volume in error 
state, or with duplicate connectors, with HTTP 409 instead of HTTP 500.
   A client that treated 500 as retryable for these cases now sees 409.
 * 26.4.0 calls the Glance add_image_location API for the optimized 
upload-volume-to-image path when Glance uses Cinder as its store.
   A regression shows up as failing upload-to-image operations in that 
configuration.
 * 27.2.0, 28.2.0 and 29.2.0 restrict attachment reads to the project that owns 
the volume, so non-admin callers get 404 for attachments of other projects.
   They also reject initiator IQNs with invalid characters on LIO and other 
iSCSI targets, so an initiator configured with such an IQN can no longer attach.
 * The Ubuntu patches for LP: #2165345 and LP: #2144550 are carried over to the 
new upstream source.
   If one of them stopped matching the new code, disk_geometry would not reach 
the guest or image creation from a volume would fail again (covered by the two 
extra Test Plans).

[Other Info]

 * Proposed versions:
   stonking 2:29.2.0-0ubuntu0.26.10.1, resolute-hibiscus 
2:29.2.0-0ubuntu0.26.10.1~cloud0
   resolute 2:28.2.0-0ubuntu1, noble-gazpacho 2:28.2.0-0ubuntu1~cloud0
   noble-flamingo 2:27.2.0-0ubuntu1~cloud0
   noble-epoxy 2:26.4.0-0ubuntu1~cloud0
   noble-dalmatian 2:25.3.1-0ubuntu1~cloud0
   noble 2:24.5.0-0ubuntu1, jammy-caracal 2:24.5.0-0ubuntu1~cloud0
 * Tenacious has 2:29.0.0-0ubuntu3 and gets 29.2.0 with a normal upload before 
the Stonking SRU is released.
 * Patches dropped because the release includes them: lp1823445.patch (24.5.0, 
25.3.1), lp2144550-Fix-properties-being-sent-to-Glance.patch (26.4.0, 27.2.0, 
28.2.0), remove-use-of-mutable-fakes.patch (27.2.0).
 * None of the six ranges adds a database migration.
 * 24.5.0 is the 2024.1-eom tag and 25.3.1 is the 2024.2-eol tag, so these are 
the last numbered releases of those branches.
 * Oracular, Plucky and Questing are end of life, so Dalmatian, Epoxy and 
Flamingo are updated in the Cloud Archive only.
 * 24.5.0 and 25.3.1 do not contain the fix for CVE-2026-93856.
 * All upstream tarballs were verified against the OpenStack release signing 
keys before import.
 * This bug replaces LP: #2115709 for cinder.

** Affects: cloud-archive
     Importance: Undecided
         Status: New

** Affects: cloud-archive/caracal
     Importance: Undecided
         Status: New

** Affects: cloud-archive/dalmatian
     Importance: Undecided
         Status: New

** Affects: cloud-archive/epoxy
     Importance: Undecided
         Status: New

** Affects: cloud-archive/flamingo
     Importance: Undecided
         Status: New

** Affects: cloud-archive/gazpacho
     Importance: Undecided
         Status: New

** Affects: cloud-archive/hibiscus
     Importance: Undecided
         Status: New

** Affects: cinder (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: cinder (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Affects: cinder (Ubuntu Resolute)
     Importance: Undecided
         Status: New

** Affects: cinder (Ubuntu Stonking)
     Importance: Undecided
         Status: New

** Also affects: cinder (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: cinder (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Also affects: cinder (Ubuntu Stonking)
   Importance: Undecided
       Status: New

** Also affects: cloud-archive/caracal
   Importance: Undecided
       Status: New

** Also affects: cloud-archive/dalmatian
   Importance: Undecided
       Status: New

** Also affects: cloud-archive/epoxy
   Importance: Undecided
       Status: New

** Also affects: cloud-archive/flamingo
   Importance: Undecided
       Status: New

** Also affects: cloud-archive/gazpacho
   Importance: Undecided
       Status: New

** Also affects: cloud-archive/hibiscus
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2179417

Title:
  [SRU] Cinder stable point releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2179417/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to