** Description changed:
[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
- Two fixes that the release tags do not contain are added as patches:
+ Four fixes that the release tags do not contain are added as patches:
* Noble and Jammy Caracal UCA: HPE 3par - skip license check for new wsapi
(upstream commit 34367c761f34).
25.3.1 and 26.4.0 contain it, 24.5.0 does not.
* Dalmatian UCA and Epoxy UCA: [Pure Storage] Fix QoS setting for cloned
volumes (upstream commit bc2c4cc9c80a).
24.5.0 and 27.0.0 fix this, 25.3.1 and 26.4.0 do not, so an upgrade from
Caracal would lose the fix.
+ * Dalmatian UCA: [NetApp] Default node model to empty string (upstream
commit 711c97a1208e).
+ 28.0.0 contains it and the Caracal, Epoxy and Flamingo packages carry it
as a patch, but the Dalmatian package does not, so an upgrade from Caracal
would lose the fix.
+ * Dalmatian UCA: Allow quota sync to actually fix quota issues (upstream
commit bfc71207d21c).
+ 27.0.0 contains it and the Caracal and Epoxy packages carry it as a patch,
but the Dalmatian package does not, so an upgrade from Caracal would lose the
fix.
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 HPE 3PAR patch is tested on Noble and Jammy Caracal UCA with an HPE
array that has the 2025 WSAPI (version 100500000 or later):
1. Configure a cinder-volume backend with the HPE 3PAR FC or iSCSI driver for
the array.
2. Show the capabilities that the backend reports.
openstack volume backend pool list --long -f yaml
3. Create a thin provisioned volume on the backend and attach it to an
instance.
openstack volume type create --property volume_backend_name=<backend>
--property hpe3par:provisioning=thin sru-thin
openstack volume create --type sru-thin --size 1 sru-hpe
openstack server add volume <instance> sru-hpe
Expected result:
* Before the update the pool reports thin_provisioning_support: false and
QoS_support: false.
* After the update the pool reports thin_provisioning_support: true and
QoS_support: true, and the volume is created and attached.
+ The quota sync patch is tested on Dalmatian UCA:
+
+ 1. Add 5 to the saved volume usage of the project that owns sru-vol in
+ the cinder database.
+
+ UPDATE quota_usages SET in_use = in_use + 5 WHERE project_id =
+ '<project id>' AND resource = 'volumes' AND deleted = 0;
+
+ 2. Run the check, the sync and the check again on a cinder unit.
+
+ sudo cinder-manage quota check --project-id <project id>
+ sudo cinder-manage quota sync --project-id <project id>
+ sudo cinder-manage quota check --project-id <project id>
+
+ Expected result:
+
+ * The first check prints "volumes: invalid usage" with the saved and the
actual value, and the sync prints the same line with "- fixed".
+ * Before the update the second check prints the "invalid usage" line again.
+ * After the update the second check prints no "invalid usage" line.
+
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).
* The HPE 3PAR patch makes the license check of the HPE 3PAR driver return
True when the WSAPI version is 100500000 or later.
A regression would show up as wrong thin provisioning, QoS, replication or
compression capabilities in the pool report of HPE 3PAR, Primera or Alletra
backends, and volume types that need them would fail to schedule.
An array with the 2025 WSAPI that does restrict a feature would now be
reported as supporting it, and the failure would move from scheduling to the
array call.
* The Pure Storage patch sets QoS on the new volume in create_cloned_volume
of the Pure Storage driver when the volume type has QoS specs.
A regression would show up as failing clone operations, image-cache clones
included, on Pure Storage FlashArray backends.
+ * The NetApp patch makes the ONTAP ZAPI client return an empty string as the
model of a node that reports no node-model.
+ A regression would show up as a NetApp ONTAP backend that fails to
initialize, or that misses the handling of ONTAP Select and C190 nodes.
+ * The quota sync patch runs the per-project step of "cinder-manage quota
check" and "cinder-manage quota sync" in a database writer transaction instead
of a reader transaction.
+ On Dalmatian the sync now changes quota_usages rows where it changed
nothing before, so a regression would show up as wrong quota usage after a
sync, or as a failing check or sync command.
[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).
- * Patches added on top of the release:
lp2119709-HPE-3par-skip-license-check-for-new-wsapi.patch (24.5.0),
lp2100547-Pure-Storage-Fix-QoS-setting-for-cloned-volumes.patch (25.3.1,
26.4.0).
+ * Patches added on top of the release:
lp2119709-HPE-3par-skip-license-check-for-new-wsapi.patch (24.5.0),
lp2100547-Pure-Storage-Fix-QoS-setting-for-cloned-volumes.patch (25.3.1,
26.4.0), lp2121812.patch and lp2104322.patch (25.3.1).
* The HPE 3PAR patch is
https://opendev.org/openstack/cinder/commit/34367c761f34411f266839d7ee08dd92b44b8e85
(unmaintained/2024.1, merged after the 24.5.0 tag).
* The Pure Storage patch is
https://opendev.org/openstack/cinder/commit/bc2c4cc9c80a5ed19354b2c8a903dfb2b5abad4d
(27.0.0 and later).
On 25.3.1 its unit test is adapted, because the 2024.2 driver has no
_get_volume_type_extra_spec.
- * No Pure Storage array is available for this SRU, so the Pure Storage patch
is covered by its unit tests in the package build.
+ * The NetApp patch is
https://opendev.org/openstack/cinder/commit/711c97a1208ecca5c3bd96880677aa62d10cf34c
(28.0.0 and later).
+ * The quota sync patch is
https://opendev.org/openstack/cinder/commit/bfc71207d21cfe5ccdd07853336505e79006cf4f
(27.0.0 and later).
+ * Dalmatian uses the lp2121812.patch and lp2104322.patch files of the
Caracal and Epoxy packaging branches without change.
+ * No Pure Storage or NetApp array is available for this SRU, so the Pure
Storage and NetApp patches are covered by the unit tests in the package build.
* 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.
--
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