Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL-8 deadline scheduler #28

Open
dusharu opened this issue Dec 25, 2021 · 0 comments
Open

RHEL-8 deadline scheduler #28

dusharu opened this issue Dec 25, 2021 · 0 comments

Comments

@dusharu
Copy link

dusharu commented Dec 25, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant