Skip to content

RHEL-8 deadline scheduler #28

Description

@dusharu

Hi,
I try your class on RHEL-8 and get a problem - puppet applies scheduler on every run.

Puppet-code:
disk::scheduler { 'sda': scheduler => 'deadline' }

Puppet-run:

# run-1
puppet agent -t
...
Notice: /Stage[main]/Test/Disk::Scheduler[sda]/Exec[disk_scheduler_for_sda]/returns: executed successfully (corrective)

# run-2
puppet agent -t
...
Notice: /Stage[main]/Test/Disk::Scheduler[sda]/Exec[disk_scheduler_for_sda]/returns: executed successfully (corrective)

I think it's linked with the scheduler name on RHEL:

#### you need old key-world for switch on the scheduler
# FAIL
echo deadline-mq > /sys/block/sda/queue/scheduler
bash: echo: write error: Invalid argument
# OK
 echo deadline > /sys/block/sda/queue/scheduler

#### but you needs new key-world for check the scheduler
cat  /sys/block/sda/queue/scheduler
[mq-deadline] kyber bfq none

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions