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

VM container-disk: VMI does not include tuned-adm kernel-args #39

Closed
RamLavi opened this issue Nov 26, 2023 · 2 comments
Closed

VM container-disk: VMI does not include tuned-adm kernel-args #39

RamLavi opened this issue Nov 26, 2023 · 2 comments

Comments

@RamLavi
Copy link
Collaborator

RamLavi commented Nov 26, 2023

When creating the VM container-disks for the vmi-under-test - a tuned-adm command in performed.
This command is supposed to add kernel-args after reboot.
Although the virt-builder used to create the container-disks is performing reboot - the kernel-args are not added.
Before reboot:

[root@rt-vmi-vwrrw ~]# cat /proc/cmdline 
BOOT_IMAGE=(hd0,gpt2)/vmlinuz-4.18.0-348.rt7.130.el8.x86_64 root=UUID=a9332d7d-1762-41cd-a702-6b2cc556c248 ro console=tty0 rd_NO_PLYMOUTH crashkernel=auto resume=UUID=d4ac9572-e828-4c87-9b76-e59c9fa6e426 console=ttyS0,115200

After reboot:

[root@rt-vmi-vwrrw ~]# cat /proc/cmdline 
BOOT_IMAGE=(hd0,gpt2)/vmlinuz-4.18.0-348.rt7.130.el8.x86_64 root=UUID=a9332d7d-1762-41cd-a702-6b2cc556c248 ro console=tty0 rd_NO_PLYMOUTH crashkernel=auto resume=UUID=d4ac9572-e828-4c87-9b76-e59c9fa6e426 console=ttyS0,115200 skew_tick=1 tsc=reliable rcupdate.rcu_normal_after_boot=1 isolcpus=managed_irq,domain,1-2 intel_pstate=disable nosoftlockup nohz=on nohz_full=1-2 rcu_nocbs=1-2 irqaffinity=0

diff:

skew_tick=1 tsc=reliable rcupdate.rcu_normal_after_boot=1 isolcpus=managed_irq,domain,1-2 intel_pstate=disable nosoftlockup nohz=on nohz_full=1-2 rcu_nocbs=1-2 irqaffinity=0

The absence of this diff may be crucial to the succesful performance of the checkup.

@orelmisan
Copy link
Member

This problem does not occur after merging #35.
We currently have a sub-optimal solution for tuned-adm which involves a reboot every time the VM boots.

@orelmisan
Copy link
Member

PR #56 provides a better solution to this problem.

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

2 participants