[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#985789: unblock: openstack-debian-images/1.58



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package openstack-debian-images

openstack-debian-images these days, is mostly used by my
openstack-cluster-installer for setting-up bare-metal nodes. Currently,
without this patch, Cinder QoS for I/O is broken due to the cgroup v1
sysfs not being mounted, and "cgcreate -g blkid:cinder-copy" failing.

The attached debdiff simply adds the kernel options on the command line
to fix the problem. Also see https://bugs.debian.org/959022 for reference.

Please unblock openstack-debian-images/1.58

Cheers,

Thomas Goirand (zigo)
diff -Nru openstack-debian-images-1.57/build-openstack-debian-image openstack-debian-images-1.58/build-openstack-debian-image
--- openstack-debian-images-1.57/build-openstack-debian-image	2021-02-19 14:41:23.000000000 +0100
+++ openstack-debian-images-1.58/build-openstack-debian-image	2021-03-23 16:35:01.000000000 +0100
@@ -1906,7 +1906,7 @@
 	CONSOLE_PARAM="console=tty0 console=$CONSOLE,115200 earlyprintk=$CONSOLE,115200"
 fi
 
-KERNEL_PARAMS="text biosdevname=0 net.ifnames=0 ${CONSOLE_PARAM} consoleblank=0 systemd.show_status=true processor.max_cstate=0 $append"
+KERNEL_PARAMS="text biosdevname=0 net.ifnames=0 ${CONSOLE_PARAM} consoleblank=0 systemd.show_status=true processor.max_cstate=0 systemd.unified_cgroup_hierarchy=false systemd.legacy_systemd_cgroup_controller=false $append"
 if [ "${BOOTMANAGER}" = "grub" ] ; then
 	sed -i -e 's|^[ #\t]*GRUB_CMDLINE_LINUX_DEFAULT[ #\t]*=.*|GRUB_CMDLINE_LINUX_DEFAULT="'"${KERNEL_PARAMS}"'"|' ${MOUNT_DIR}/etc/default/grub
 	echo "
diff -Nru openstack-debian-images-1.57/debian/changelog openstack-debian-images-1.58/debian/changelog
--- openstack-debian-images-1.57/debian/changelog	2021-02-19 14:41:23.000000000 +0100
+++ openstack-debian-images-1.58/debian/changelog	2021-03-23 16:35:01.000000000 +0100
@@ -1,3 +1,13 @@
+openstack-debian-images (1.58) unstable; urgency=medium
+
+  * Add cgroupv1 compatibility options on the kernel command line:
+    - systemd.unified_cgroup_hierarchy=false
+    - systemd.legacy_systemd_cgroup_controller=false
+    Without these, Cinder QoS on I/O will fail, as the cgroups v1 sysfs will
+    not be mounted.
+
+ -- Thomas Goirand <zigo@debian.org>  Tue, 23 Mar 2021 16:35:01 +0100
+
 openstack-debian-images (1.57) unstable; urgency=medium
 
   * Fix gbp network to also understand MTU. This unfortunately is mandatory for

Reply to: