-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels