[Bug 1886391] Re: 99-gce.rules attempts to set 'noop' scheduler, which isn't available in 5.x kernel

Launchpad Bug Tracker 1886391 at bugs.launchpad.net
Wed Feb 3 17:05:26 UTC 2021


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gce-compute-image-packages (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gce-compute-image-packages in
Ubuntu.
https://bugs.launchpad.net/bugs/1886391

Title:
  99-gce.rules attempts to set 'noop' scheduler, which isn't available
  in 5.x kernel

Status in gce-compute-image-packages package in Ubuntu:
  Confirmed

Bug description:
  "GCE request" seems to indicate a preference for the 'noop' scheduler,
  but w/ a recently created GCE instance using the Ubuntu18 image &
  5.3.0-1029-gcp kernel, noop is not an available option (only 'none'
  and 'mq-deadline' are available). Apparently 5.0 kernels no longer
  support non-multiqueue I/O schedulers
  (https://kernelnewbies.org/Linux_5.0#Block_layer), so this should be
  changed to "none", although for backwards compatibility with pre-5.0
  kernels with 'noop' support, some kind of check will be necessary
  (unfortunately I'm not familiar enough w/ udev to know if this is
  possible within the udev rules file itself, or if it'd have to be done
  at the dpkg/config level).

  ## cat /sys/block/sdb/queue/scheduler 
  [none] mq-deadline 

  ## cat /lib/udev/rules.d/99-gce.rules 
  # Give syslog write access to the kernel logs
  KERNEL=="console", GROUP="syslog", MODE="0620"

  # Switch to using NOOP as the default scheduler per GCE request
  SUBSYSTEM=="block", ENV{DEVTYPE}!="partition", ACTION=="add|change", ENV{ID_VENDOR}=="*Google*", ATTR{queue/scheduler}="noop"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gce-compute-image-packages/+bug/1886391/+subscriptions



More information about the foundations-bugs mailing list